Skip to content

Instantly share code, notes, and snippets.

@loe
Created November 23, 2010 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loe/711240 to your computer and use it in GitHub Desktop.
Save loe/711240 to your computer and use it in GitHub Desktop.
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb sds.c
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb zmalloc.c
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb lzf_c.c
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb lzf_d.c
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb pqsort.c
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb zipmap.c
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb sha1.c
cc -o redis-server -std=c99 -pedantic -O2 -Wall -W -lm -pthread -g -rdynamic -ggdb adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o
Hint: To run the test-redis.tcl script is a good idea.
Launch the redis server with ./redis-server, then in another
terminal window enter this directory and run 'make test'.
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb redis-benchmark.c
cc -o redis-benchmark -std=c99 -pedantic -O2 -Wall -W -lm -pthread -g -rdynamic -ggdb ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb redis-cli.c
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb linenoise.c
cc -o redis-cli -std=c99 -pedantic -O2 -Wall -W -lm -pthread -g -rdynamic -ggdb anet.o sds.o adlist.o redis-cli.o zmalloc.o linenoise.o
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb redis-check-dump.c
cc -o redis-check-dump -std=c99 -pedantic -O2 -Wall -W -lm -pthread -g -rdynamic -ggdb redis-check-dump.o lzf_c.o lzf_d.o
cc -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb redis-check-aof.c
cc -o redis-check-aof -std=c99 -pedantic -O2 -Wall -W -lm -pthread -g -rdynamic -ggdb redis-check-aof.o
make[1]: Leaving directory `/home/andrew/debuild/redis-server/redis-2.0.4'
debian/rules override_dh_auto_test
make[1]: Entering directory `/home/andrew/debuild/redis-server/redis-2.0.4'
# Testsuite requires working TCP/IP and a non-interactive mode
make[1]: Leaving directory `/home/andrew/debuild/redis-server/redis-2.0.4'
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
dh_installdirs
dh_auto_install
make[1]: Entering directory `/home/andrew/debuild/redis-server/redis-2.0.4'
cp -p redis-server /usr/bin
cp: cannot create regular file `/usr/bin/redis-server': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/andrew/debuild/redis-server/redis-2.0.4'
dh_auto_install: make -j1 install DESTDIR=/home/andrew/debuild/redis-server/redis-2.0.4/debian/tmp returned exit code 2
make: *** [binary] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1340:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment