make

http://futeng.iteye.com/blog/2071867

http://zhou123.blog.51cto.com/4355617/1196415

w

[email protected]52-248-ubuntu:/# wget http://download.redis.io/releases/redis-3.2.8.tar.gz
--2017-04-28 21:43:43--  http://download.redis.io/releases/redis-3.2.8.tar.gz
Resolving download.redis.io (download.redis.io)... 109.74.203.151
Connecting to download.redis.io (download.redis.io)|109.74.203.151|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1547237 (1.5M) [application/x-gzip]
Saving to: ‘redis-3.2.8.tar.gz‘

redis-3.2.8.tar.gz                  100%[===================================================================>]   1.47M  4.16KB/s    in 8m 11s

2017-04-28 21:51:54 (3.08 KB/s) - ‘redis-3.2.8.tar.gz‘ saved [1547237/1547237]

[email protected]-52-248-ubuntu:/# ll
total 1616
drwxr-xr-x  24 root root    4096 Apr 28 21:52 ./
drwxr-xr-x  24 root root    4096 Apr 28 21:52 ../
drwxr-xr-x   2 root root    4096 Dec 12 19:56 bin/
drwxr-xr-x   3 root root    4096 Dec 12 20:00 boot/
drwxr-xr-x   2 root root    4096 Oct 28 10:29 data/
drwxr-xr-x  18 root root    4040 Apr 28 21:17 dev/
drwxr-xr-x  95 root root    4096 Apr 28 21:43 etc/
drwxr-xr-x   3 root root    4096 Oct 26  2016 home/
lrwxrwxrwx   1 root root      32 Dec 12 19:59 initrd.img -> boot/initrd.img-4.4.0-53-generic
drwxr-xr-x  22 root root    4096 Oct 26  2016 lib/
drwxr-xr-x   2 root root    4096 Oct 26  2016 lib64/
drwx------   2 root root   16384 Oct 26  2016 lost+found/
drwxr-xr-x   3 root root    4096 Oct 26  2016 media/
drwxr-xr-x   2 root root    4096 Jul 20  2016 mnt/
drwxr-xr-x   2 root root    4096 Jul 20  2016 opt/
dr-xr-xr-x 146 root root       0 Apr 28 21:17 proc/
-rw-r--r--   1 root root 1547237 Feb 12 23:15 redis-3.2.8.tar.gz
drwx------   5 root root    4096 Apr 27 21:46 root/
drwxr-xr-x  25 root root     900 Apr 28 21:42 run/
drwxr-xr-x   2 root root   12288 Dec 12 19:56 sbin/
drwxr-xr-x   2 root root    4096 Jun 30  2016 snap/
drwxr-xr-x   2 root root    4096 Jul 20  2016 srv/
dr-xr-xr-x  13 root root       0 Apr 28 21:41 sys/
drwxrwxrwt   8 root root    4096 Apr 28 21:52 tmp/
drwxr-xr-x  10 root root    4096 Oct 26  2016 usr/
drwxr-xr-x  14 root root    4096 Jan 24 08:40 var/
lrwxrwxrwx   1 root root      29 Dec 12 19:59 vmlinuz -> boot/vmlinuz-4.4.0-53-generic
[email protected]-52-248-ubuntu:/# cd /usr/local
[email protected]-52-248-ubuntu:/usr/local# ll
total 48
drwxr-xr-x 12 root root 4096 Jan 24 07:55 ./
drwxr-xr-x 10 root root 4096 Oct 26  2016 ../
drwxr-xr-x  2 root root 4096 Jul 20  2016 bin/
drwxr-xr-x  2 root root 4096 Jul 20  2016 etc/
drwxr-xr-x  2 root root 4096 Jul 20  2016 games/
drwxr-xr-x  2 root root 4096 Jul 20  2016 include/
drwxr-xr-x  4 root root 4096 Dec 12 19:58 lib/
lrwxrwxrwx  1 root root    9 Oct 26  2016 man -> share/man/
drwxr-xr-x  6 root root 4096 Jan 24 07:57 qcloud/
drwxr-xr-x  3 root root 4096 Jan 24 07:55 sa/
drwxr-xr-x  2 root root 4096 Jul 20  2016 sbin/
drwxr-xr-x  6 root root 4096 Oct 26  2016 share/
drwxr-xr-x  2 root root 4096 Jul 20  2016 src/
[email protected]-52-248-ubuntu:/usr/local# cd -
/
[email protected]-52-248-ubuntu:/# cp -
cp: missing destination file operand after ‘-‘
Try ‘cp --help‘ for more information.
[email protected]-52-248-ubuntu:/# cd -
/usr/local
[email protected]-52-248-ubuntu:/usr/local# mkdir redis
[email protected]-52-248-ubuntu:/usr/local# ls
bin  etc  games  include  lib  man  qcloud  redis  sa  sbin  share  src
[email protected]-52-248-ubuntu:/usr/local# cd -
/
[email protected]-52-248-ubuntu:/# ls
bin   data  etc   initrd.img  lib64       media  opt   redis-3.2.8.tar.gz  run   snap  sys  usr  vmlinuz
boot  dev   home  lib         lost+found  mnt    proc  root                sbin  srv   tmp  var
[email protected]-52-248-ubuntu:/# cp redis-3.2.8.tar.gz /usr/local/redis
[email protected]-52-248-ubuntu:/# cd -
/usr/local
[email protected]-52-248-ubuntu:/usr/local# ls
bin  etc  games  include  lib  man  qcloud  redis  sa  sbin  share  src
[email protected]-52-248-ubuntu:/usr/local# cd redis
[email protected]-52-248-ubuntu:/usr/local/redis# ls
redis-3.2.8.tar.gz
[email protected]-52-248-ubuntu:/usr/local/redis# tar zxvf  redis-3.2.8.tar.gz
redis-3.2.8/
redis-3.2.8/.gitignore
redis-3.2.8/00-RELEASENOTES
redis-3.2.8/BUGS
redis-3.2.8/CONTRIBUTING
redis-3.2.8/COPYING
redis-3.2.8/INSTALL
redis-3.2.8/MANIFESTO
redis-3.2.8/Makefile
redis-3.2.8/README.md
redis-3.2.8/deps/
redis-3.2.8/deps/Makefile
redis-3.2.8/deps/README.md
redis-3.2.8/deps/geohash-int/
redis-3.2.8/deps/geohash-int/Makefile
redis-3.2.8/deps/geohash-int/geohash.c
redis-3.2.8/deps/geohash-int/geohash.h
redis-3.2.8/deps/geohash-int/geohash_helper.c
redis-3.2.8/deps/geohash-int/geohash_helper.h
redis-3.2.8/deps/hiredis/
redis-3.2.8/deps/hiredis/.gitignore
redis-3.2.8/deps/hiredis/.travis.yml
redis-3.2.8/deps/hiredis/CHANGELOG.md
redis-3.2.8/deps/hiredis/COPYING
redis-3.2.8/deps/hiredis/Makefile
redis-3.2.8/deps/hiredis/README.md
redis-3.2.8/deps/hiredis/adapters/
redis-3.2.8/deps/hiredis/adapters/ae.h
redis-3.2.8/deps/hiredis/adapters/libev.h
redis-3.2.8/deps/hiredis/adapters/libevent.h
redis-3.2.8/deps/hiredis/adapters/libuv.h
redis-3.2.8/deps/hiredis/async.c
redis-3.2.8/deps/hiredis/async.h
redis-3.2.8/deps/hiredis/dict.c
redis-3.2.8/deps/hiredis/dict.h
redis-3.2.8/deps/hiredis/examples/
redis-3.2.8/deps/hiredis/examples/example-ae.c
redis-3.2.8/deps/hiredis/examples/example-libev.c
redis-3.2.8/deps/hiredis/examples/example-libevent.c
redis-3.2.8/deps/hiredis/examples/example-libuv.c
redis-3.2.8/deps/hiredis/examples/example.c
redis-3.2.8/deps/hiredis/fmacros.h
redis-3.2.8/deps/hiredis/hiredis.c
redis-3.2.8/deps/hiredis/hiredis.h
redis-3.2.8/deps/hiredis/net.c
redis-3.2.8/deps/hiredis/net.h
redis-3.2.8/deps/hiredis/sds.c
redis-3.2.8/deps/hiredis/sds.h
redis-3.2.8/deps/hiredis/sdsalloc.h
redis-3.2.8/deps/hiredis/test.c
redis-3.2.8/deps/hiredis/zmalloc.h
redis-3.2.8/deps/jemalloc/
redis-3.2.8/deps/jemalloc/.autom4te.cfg
redis-3.2.8/deps/jemalloc/.gitattributes
redis-3.2.8/deps/jemalloc/.gitignore
redis-3.2.8/deps/jemalloc/COPYING
redis-3.2.8/deps/jemalloc/ChangeLog
redis-3.2.8/deps/jemalloc/INSTALL
redis-3.2.8/deps/jemalloc/Makefile.in
redis-3.2.8/deps/jemalloc/README
redis-3.2.8/deps/jemalloc/VERSION
redis-3.2.8/deps/jemalloc/autogen.sh
redis-3.2.8/deps/jemalloc/bin/
redis-3.2.8/deps/jemalloc/bin/jemalloc-config.in
redis-3.2.8/deps/jemalloc/bin/jemalloc.sh.in
redis-3.2.8/deps/jemalloc/bin/jeprof.in
redis-3.2.8/deps/jemalloc/config.guess
redis-3.2.8/deps/jemalloc/config.stamp.in
redis-3.2.8/deps/jemalloc/config.sub
redis-3.2.8/deps/jemalloc/configure
redis-3.2.8/deps/jemalloc/configure.ac
redis-3.2.8/deps/jemalloc/coverage.sh
redis-3.2.8/deps/jemalloc/doc/
redis-3.2.8/deps/jemalloc/doc/html.xsl.in
redis-3.2.8/deps/jemalloc/doc/jemalloc.3
redis-3.2.8/deps/jemalloc/doc/jemalloc.html
redis-3.2.8/deps/jemalloc/doc/jemalloc.xml.in
redis-3.2.8/deps/jemalloc/doc/manpages.xsl.in
redis-3.2.8/deps/jemalloc/doc/stylesheet.xsl
redis-3.2.8/deps/jemalloc/include/
redis-3.2.8/deps/jemalloc/include/jemalloc/
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/arena.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/atomic.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/base.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/bitmap.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/chunk.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/chunk_dss.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/chunk_mmap.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/ckh.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/ctl.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/extent.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/hash.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/huge.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_decls.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h.in
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/mb.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/mutex.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/pages.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/private_namespace.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/private_symbols.txt
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/private_unnamespace.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/prng.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/prof.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/public_namespace.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/ql.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/qr.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/quarantine.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/rb.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/rtree.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/size_classes.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/stats.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/tcache.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/tsd.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/util.h
redis-3.2.8/deps/jemalloc/include/jemalloc/internal/valgrind.h
redis-3.2.8/deps/jemalloc/include/jemalloc/jemalloc.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/jemalloc_defs.h.in
redis-3.2.8/deps/jemalloc/include/jemalloc/jemalloc_macros.h.in
redis-3.2.8/deps/jemalloc/include/jemalloc/jemalloc_mangle.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/jemalloc_protos.h.in
redis-3.2.8/deps/jemalloc/include/jemalloc/jemalloc_rename.sh
redis-3.2.8/deps/jemalloc/include/jemalloc/jemalloc_typedefs.h.in
redis-3.2.8/deps/jemalloc/include/msvc_compat/
redis-3.2.8/deps/jemalloc/include/msvc_compat/C99/
redis-3.2.8/deps/jemalloc/include/msvc_compat/C99/stdbool.h
redis-3.2.8/deps/jemalloc/include/msvc_compat/C99/stdint.h
redis-3.2.8/deps/jemalloc/include/msvc_compat/strings.h
redis-3.2.8/deps/jemalloc/include/msvc_compat/windows_extra.h
redis-3.2.8/deps/jemalloc/install-sh
redis-3.2.8/deps/jemalloc/jemalloc.pc.in
redis-3.2.8/deps/jemalloc/src/
redis-3.2.8/deps/jemalloc/src/arena.c
redis-3.2.8/deps/jemalloc/src/atomic.c
redis-3.2.8/deps/jemalloc/src/base.c
redis-3.2.8/deps/jemalloc/src/bitmap.c
redis-3.2.8/deps/jemalloc/src/chunk.c
redis-3.2.8/deps/jemalloc/src/chunk_dss.c
redis-3.2.8/deps/jemalloc/src/chunk_mmap.c
redis-3.2.8/deps/jemalloc/src/ckh.c
redis-3.2.8/deps/jemalloc/src/ctl.c
redis-3.2.8/deps/jemalloc/src/extent.c
redis-3.2.8/deps/jemalloc/src/hash.c
redis-3.2.8/deps/jemalloc/src/huge.c
redis-3.2.8/deps/jemalloc/src/jemalloc.c
redis-3.2.8/deps/jemalloc/src/mb.c
redis-3.2.8/deps/jemalloc/src/mutex.c
redis-3.2.8/deps/jemalloc/src/pages.c
redis-3.2.8/deps/jemalloc/src/prof.c
redis-3.2.8/deps/jemalloc/src/quarantine.c
redis-3.2.8/deps/jemalloc/src/rtree.c
redis-3.2.8/deps/jemalloc/src/stats.c
redis-3.2.8/deps/jemalloc/src/tcache.c
redis-3.2.8/deps/jemalloc/src/tsd.c
redis-3.2.8/deps/jemalloc/src/util.c
redis-3.2.8/deps/jemalloc/src/valgrind.c
redis-3.2.8/deps/jemalloc/src/zone.c
redis-3.2.8/deps/jemalloc/test/
redis-3.2.8/deps/jemalloc/test/include/
redis-3.2.8/deps/jemalloc/test/include/test/
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-alti.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params11213.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params1279.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params132049.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params19937.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params216091.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params2281.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params4253.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params44497.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params607.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-params86243.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT-sse2.h
redis-3.2.8/deps/jemalloc/test/include/test/SFMT.h
redis-3.2.8/deps/jemalloc/test/include/test/btalloc.h
redis-3.2.8/deps/jemalloc/test/include/test/jemalloc_test.h.in
redis-3.2.8/deps/jemalloc/test/include/test/jemalloc_test_defs.h.in
redis-3.2.8/deps/jemalloc/test/include/test/math.h
redis-3.2.8/deps/jemalloc/test/include/test/mq.h
redis-3.2.8/deps/jemalloc/test/include/test/mtx.h
redis-3.2.8/deps/jemalloc/test/include/test/test.h
redis-3.2.8/deps/jemalloc/test/include/test/thd.h
redis-3.2.8/deps/jemalloc/test/include/test/timer.h
redis-3.2.8/deps/jemalloc/test/integration/
redis-3.2.8/deps/jemalloc/test/integration/MALLOCX_ARENA.c
redis-3.2.8/deps/jemalloc/test/integration/aligned_alloc.c
redis-3.2.8/deps/jemalloc/test/integration/allocated.c
redis-3.2.8/deps/jemalloc/test/integration/chunk.c
redis-3.2.8/deps/jemalloc/test/integration/mallocx.c
redis-3.2.8/deps/jemalloc/test/integration/overflow.c
redis-3.2.8/deps/jemalloc/test/integration/posix_memalign.c
redis-3.2.8/deps/jemalloc/test/integration/rallocx.c
redis-3.2.8/deps/jemalloc/test/integration/sdallocx.c
redis-3.2.8/deps/jemalloc/test/integration/thread_arena.c
redis-3.2.8/deps/jemalloc/test/integration/thread_tcache_enabled.c
redis-3.2.8/deps/jemalloc/test/integration/xallocx.c
redis-3.2.8/deps/jemalloc/test/src/
redis-3.2.8/deps/jemalloc/test/src/SFMT.c
redis-3.2.8/deps/jemalloc/test/src/btalloc.c
redis-3.2.8/deps/jemalloc/test/src/btalloc_0.c
redis-3.2.8/deps/jemalloc/test/src/btalloc_1.c
redis-3.2.8/deps/jemalloc/test/src/math.c
redis-3.2.8/deps/jemalloc/test/src/mq.c
redis-3.2.8/deps/jemalloc/test/src/mtx.c
redis-3.2.8/deps/jemalloc/test/src/test.c
redis-3.2.8/deps/jemalloc/test/src/thd.c
redis-3.2.8/deps/jemalloc/test/src/timer.c
redis-3.2.8/deps/jemalloc/test/stress/
redis-3.2.8/deps/jemalloc/test/stress/microbench.c
redis-3.2.8/deps/jemalloc/test/test.sh.in
redis-3.2.8/deps/jemalloc/test/unit/
redis-3.2.8/deps/jemalloc/test/unit/SFMT.c
redis-3.2.8/deps/jemalloc/test/unit/atomic.c
redis-3.2.8/deps/jemalloc/test/unit/bitmap.c
redis-3.2.8/deps/jemalloc/test/unit/ckh.c
redis-3.2.8/deps/jemalloc/test/unit/hash.c
redis-3.2.8/deps/jemalloc/test/unit/junk.c
redis-3.2.8/deps/jemalloc/test/unit/junk_alloc.c
redis-3.2.8/deps/jemalloc/test/unit/junk_free.c
redis-3.2.8/deps/jemalloc/test/unit/lg_chunk.c
redis-3.2.8/deps/jemalloc/test/unit/mallctl.c
redis-3.2.8/deps/jemalloc/test/unit/math.c
redis-3.2.8/deps/jemalloc/test/unit/mq.c
redis-3.2.8/deps/jemalloc/test/unit/mtx.c
redis-3.2.8/deps/jemalloc/test/unit/prof_accum.c
redis-3.2.8/deps/jemalloc/test/unit/prof_active.c
redis-3.2.8/deps/jemalloc/test/unit/prof_gdump.c
redis-3.2.8/deps/jemalloc/test/unit/prof_idump.c
redis-3.2.8/deps/jemalloc/test/unit/prof_reset.c
redis-3.2.8/deps/jemalloc/test/unit/prof_thread_name.c
redis-3.2.8/deps/jemalloc/test/unit/ql.c
redis-3.2.8/deps/jemalloc/test/unit/qr.c
redis-3.2.8/deps/jemalloc/test/unit/quarantine.c
redis-3.2.8/deps/jemalloc/test/unit/rb.c
redis-3.2.8/deps/jemalloc/test/unit/rtree.c
redis-3.2.8/deps/jemalloc/test/unit/size_classes.c
redis-3.2.8/deps/jemalloc/test/unit/stats.c
redis-3.2.8/deps/jemalloc/test/unit/tsd.c
redis-3.2.8/deps/jemalloc/test/unit/util.c
redis-3.2.8/deps/jemalloc/test/unit/zero.c
redis-3.2.8/deps/linenoise/
redis-3.2.8/deps/linenoise/.gitignore
redis-3.2.8/deps/linenoise/Makefile
redis-3.2.8/deps/linenoise/README.markdown
redis-3.2.8/deps/linenoise/example.c
redis-3.2.8/deps/linenoise/linenoise.c
redis-3.2.8/deps/linenoise/linenoise.h
redis-3.2.8/deps/lua/
redis-3.2.8/deps/lua/COPYRIGHT
redis-3.2.8/deps/lua/HISTORY
redis-3.2.8/deps/lua/INSTALL
redis-3.2.8/deps/lua/Makefile
redis-3.2.8/deps/lua/README
redis-3.2.8/deps/lua/doc/
redis-3.2.8/deps/lua/doc/contents.html
redis-3.2.8/deps/lua/doc/cover.png
redis-3.2.8/deps/lua/doc/logo.gif
redis-3.2.8/deps/lua/doc/lua.1
redis-3.2.8/deps/lua/doc/lua.css
redis-3.2.8/deps/lua/doc/lua.html
redis-3.2.8/deps/lua/doc/luac.1
redis-3.2.8/deps/lua/doc/luac.html
redis-3.2.8/deps/lua/doc/manual.css
redis-3.2.8/deps/lua/doc/manual.html
redis-3.2.8/deps/lua/doc/readme.html
redis-3.2.8/deps/lua/etc/
redis-3.2.8/deps/lua/etc/Makefile
redis-3.2.8/deps/lua/etc/README
redis-3.2.8/deps/lua/etc/all.c
redis-3.2.8/deps/lua/etc/lua.hpp
redis-3.2.8/deps/lua/etc/lua.ico
redis-3.2.8/deps/lua/etc/lua.pc
redis-3.2.8/deps/lua/etc/luavs.bat
redis-3.2.8/deps/lua/etc/min.c
redis-3.2.8/deps/lua/etc/noparser.c
redis-3.2.8/deps/lua/etc/strict.lua
redis-3.2.8/deps/lua/src/
redis-3.2.8/deps/lua/src/Makefile
redis-3.2.8/deps/lua/src/fpconv.c
redis-3.2.8/deps/lua/src/fpconv.h
redis-3.2.8/deps/lua/src/lapi.c
redis-3.2.8/deps/lua/src/lapi.h
redis-3.2.8/deps/lua/src/lauxlib.c
redis-3.2.8/deps/lua/src/lauxlib.h
redis-3.2.8/deps/lua/src/lbaselib.c
redis-3.2.8/deps/lua/src/lcode.c
redis-3.2.8/deps/lua/src/lcode.h
redis-3.2.8/deps/lua/src/ldblib.c
redis-3.2.8/deps/lua/src/ldebug.c
redis-3.2.8/deps/lua/src/ldebug.h
redis-3.2.8/deps/lua/src/ldo.c
redis-3.2.8/deps/lua/src/ldo.h
redis-3.2.8/deps/lua/src/ldump.c
redis-3.2.8/deps/lua/src/lfunc.c
redis-3.2.8/deps/lua/src/lfunc.h
redis-3.2.8/deps/lua/src/lgc.c
redis-3.2.8/deps/lua/src/lgc.h
redis-3.2.8/deps/lua/src/linit.c
redis-3.2.8/deps/lua/src/liolib.c
redis-3.2.8/deps/lua/src/llex.c
redis-3.2.8/deps/lua/src/llex.h
redis-3.2.8/deps/lua/src/llimits.h
redis-3.2.8/deps/lua/src/lmathlib.c
redis-3.2.8/deps/lua/src/lmem.c
redis-3.2.8/deps/lua/src/lmem.h
redis-3.2.8/deps/lua/src/loadlib.c
redis-3.2.8/deps/lua/src/lobject.c
redis-3.2.8/deps/lua/src/lobject.h
redis-3.2.8/deps/lua/src/lopcodes.c
redis-3.2.8/deps/lua/src/lopcodes.h
redis-3.2.8/deps/lua/src/loslib.c
redis-3.2.8/deps/lua/src/lparser.c
redis-3.2.8/deps/lua/src/lparser.h
redis-3.2.8/deps/lua/src/lstate.c
redis-3.2.8/deps/lua/src/lstate.h
redis-3.2.8/deps/lua/src/lstring.c
redis-3.2.8/deps/lua/src/lstring.h
redis-3.2.8/deps/lua/src/lstrlib.c
redis-3.2.8/deps/lua/src/ltable.c
redis-3.2.8/deps/lua/src/ltable.h
redis-3.2.8/deps/lua/src/ltablib.c
redis-3.2.8/deps/lua/src/ltm.c
redis-3.2.8/deps/lua/src/ltm.h
redis-3.2.8/deps/lua/src/lua.c
redis-3.2.8/deps/lua/src/lua.h
redis-3.2.8/deps/lua/src/lua_bit.c
redis-3.2.8/deps/lua/src/lua_cjson.c
redis-3.2.8/deps/lua/src/lua_cmsgpack.c
redis-3.2.8/deps/lua/src/lua_struct.c
redis-3.2.8/deps/lua/src/luac.c
redis-3.2.8/deps/lua/src/luaconf.h
redis-3.2.8/deps/lua/src/lualib.h
redis-3.2.8/deps/lua/src/lundump.c
redis-3.2.8/deps/lua/src/lundump.h
redis-3.2.8/deps/lua/src/lvm.c
redis-3.2.8/deps/lua/src/lvm.h
redis-3.2.8/deps/lua/src/lzio.c
redis-3.2.8/deps/lua/src/lzio.h
redis-3.2.8/deps/lua/src/print.c
redis-3.2.8/deps/lua/src/strbuf.c
redis-3.2.8/deps/lua/src/strbuf.h
redis-3.2.8/deps/lua/test/
redis-3.2.8/deps/lua/test/README
redis-3.2.8/deps/lua/test/bisect.lua
redis-3.2.8/deps/lua/test/cf.lua
redis-3.2.8/deps/lua/test/echo.lua
redis-3.2.8/deps/lua/test/env.lua
redis-3.2.8/deps/lua/test/factorial.lua
redis-3.2.8/deps/lua/test/fib.lua
redis-3.2.8/deps/lua/test/fibfor.lua
redis-3.2.8/deps/lua/test/globals.lua
redis-3.2.8/deps/lua/test/hello.lua
redis-3.2.8/deps/lua/test/life.lua
redis-3.2.8/deps/lua/test/luac.lua
redis-3.2.8/deps/lua/test/printf.lua
redis-3.2.8/deps/lua/test/readonly.lua
redis-3.2.8/deps/lua/test/sieve.lua
redis-3.2.8/deps/lua/test/sort.lua
redis-3.2.8/deps/lua/test/table.lua
redis-3.2.8/deps/lua/test/trace-calls.lua
redis-3.2.8/deps/lua/test/trace-globals.lua
redis-3.2.8/deps/lua/test/xd.lua
redis-3.2.8/deps/update-jemalloc.sh
redis-3.2.8/redis.conf
redis-3.2.8/runtest
redis-3.2.8/runtest-cluster
redis-3.2.8/runtest-sentinel
redis-3.2.8/sentinel.conf
redis-3.2.8/src/
redis-3.2.8/src/.gitignore
redis-3.2.8/src/Makefile
redis-3.2.8/src/Makefile.dep
redis-3.2.8/src/adlist.c
redis-3.2.8/src/adlist.h
redis-3.2.8/src/ae.c
redis-3.2.8/src/ae.h
redis-3.2.8/src/ae_epoll.c
redis-3.2.8/src/ae_evport.c
redis-3.2.8/src/ae_kqueue.c
redis-3.2.8/src/ae_select.c
redis-3.2.8/src/anet.c
redis-3.2.8/src/anet.h
redis-3.2.8/src/aof.c
redis-3.2.8/src/asciilogo.h
redis-3.2.8/src/bio.c
redis-3.2.8/src/bio.h
redis-3.2.8/src/bitops.c
redis-3.2.8/src/blocked.c
redis-3.2.8/src/cluster.c
redis-3.2.8/src/cluster.h
redis-3.2.8/src/config.c
redis-3.2.8/src/config.h
redis-3.2.8/src/crc16.c
redis-3.2.8/src/crc64.c
redis-3.2.8/src/crc64.h
redis-3.2.8/src/db.c
redis-3.2.8/src/debug.c
redis-3.2.8/src/debugmacro.h
redis-3.2.8/src/dict.c
redis-3.2.8/src/dict.h
redis-3.2.8/src/endianconv.c
redis-3.2.8/src/endianconv.h
redis-3.2.8/src/fmacros.h
redis-3.2.8/src/geo.c
redis-3.2.8/src/geo.h
redis-3.2.8/src/help.h
redis-3.2.8/src/hyperloglog.c
redis-3.2.8/src/intset.c
redis-3.2.8/src/intset.h
redis-3.2.8/src/latency.c
redis-3.2.8/src/latency.h
redis-3.2.8/src/lzf.h
redis-3.2.8/src/lzfP.h
redis-3.2.8/src/lzf_c.c
redis-3.2.8/src/lzf_d.c
redis-3.2.8/src/memtest.c
redis-3.2.8/src/mkreleasehdr.sh
redis-3.2.8/src/multi.c
redis-3.2.8/src/networking.c
redis-3.2.8/src/notify.c
redis-3.2.8/src/object.c
redis-3.2.8/src/pqsort.c
redis-3.2.8/src/pqsort.h
redis-3.2.8/src/pubsub.c
redis-3.2.8/src/quicklist.c
redis-3.2.8/src/quicklist.h
redis-3.2.8/src/rand.c
redis-3.2.8/src/rand.h
redis-3.2.8/src/rdb.c
redis-3.2.8/src/rdb.h
redis-3.2.8/src/redis-benchmark.c
redis-3.2.8/src/redis-check-aof.c
redis-3.2.8/src/redis-check-rdb.c
redis-3.2.8/src/redis-cli.c
redis-3.2.8/src/redis-trib.rb
redis-3.2.8/src/redisassert.h
redis-3.2.8/src/release.c
redis-3.2.8/src/replication.c
redis-3.2.8/src/rio.c
redis-3.2.8/src/rio.h
redis-3.2.8/src/scripting.c
redis-3.2.8/src/sds.c
redis-3.2.8/src/sds.h
redis-3.2.8/src/sdsalloc.h
redis-3.2.8/src/sentinel.c
redis-3.2.8/src/server.c
redis-3.2.8/src/server.h
redis-3.2.8/src/setproctitle.c
redis-3.2.8/src/sha1.c
redis-3.2.8/src/sha1.h
redis-3.2.8/src/slowlog.c
redis-3.2.8/src/slowlog.h
redis-3.2.8/src/solarisfixes.h
redis-3.2.8/src/sort.c
redis-3.2.8/src/sparkline.c
redis-3.2.8/src/sparkline.h
redis-3.2.8/src/syncio.c
redis-3.2.8/src/t_hash.c
redis-3.2.8/src/t_list.c
redis-3.2.8/src/t_set.c
redis-3.2.8/src/t_string.c
redis-3.2.8/src/t_zset.c
redis-3.2.8/src/testhelp.h
redis-3.2.8/src/util.c
redis-3.2.8/src/util.h
redis-3.2.8/src/valgrind.sup
redis-3.2.8/src/version.h
redis-3.2.8/src/ziplist.c
redis-3.2.8/src/ziplist.h
redis-3.2.8/src/zipmap.c
redis-3.2.8/src/zipmap.h
redis-3.2.8/src/zmalloc.c
redis-3.2.8/src/zmalloc.h
redis-3.2.8/tests/
redis-3.2.8/tests/assets/
redis-3.2.8/tests/assets/default.conf
redis-3.2.8/tests/assets/encodings.rdb
redis-3.2.8/tests/assets/hash-zipmap.rdb
redis-3.2.8/tests/cluster/
redis-3.2.8/tests/cluster/cluster.tcl
redis-3.2.8/tests/cluster/run.tcl
redis-3.2.8/tests/cluster/tests/
redis-3.2.8/tests/cluster/tests/00-base.tcl
redis-3.2.8/tests/cluster/tests/01-faildet.tcl
redis-3.2.8/tests/cluster/tests/02-failover.tcl
redis-3.2.8/tests/cluster/tests/03-failover-loop.tcl
redis-3.2.8/tests/cluster/tests/04-resharding.tcl
redis-3.2.8/tests/cluster/tests/05-slave-selection.tcl
redis-3.2.8/tests/cluster/tests/06-slave-stop-cond.tcl
redis-3.2.8/tests/cluster/tests/07-replica-migration.tcl
redis-3.2.8/tests/cluster/tests/08-update-msg.tcl
redis-3.2.8/tests/cluster/tests/09-pubsub.tcl
redis-3.2.8/tests/cluster/tests/10-manual-failover.tcl
redis-3.2.8/tests/cluster/tests/11-manual-takeover.tcl
redis-3.2.8/tests/cluster/tests/12-replica-migration-2.tcl
redis-3.2.8/tests/cluster/tests/helpers/
redis-3.2.8/tests/cluster/tests/helpers/onlydots.tcl
redis-3.2.8/tests/cluster/tests/includes/
redis-3.2.8/tests/cluster/tests/includes/init-tests.tcl
redis-3.2.8/tests/cluster/tmp/
redis-3.2.8/tests/cluster/tmp/.gitignore
redis-3.2.8/tests/helpers/
redis-3.2.8/tests/helpers/bg_complex_data.tcl
redis-3.2.8/tests/helpers/gen_write_load.tcl
redis-3.2.8/tests/instances.tcl
redis-3.2.8/tests/integration/
redis-3.2.8/tests/integration/aof-race.tcl
redis-3.2.8/tests/integration/aof.tcl
redis-3.2.8/tests/integration/convert-zipmap-hash-on-load.tcl
redis-3.2.8/tests/integration/logging.tcl
redis-3.2.8/tests/integration/rdb.tcl
redis-3.2.8/tests/integration/redis-cli.tcl
redis-3.2.8/tests/integration/replication-2.tcl
redis-3.2.8/tests/integration/replication-3.tcl
redis-3.2.8/tests/integration/replication-4.tcl
redis-3.2.8/tests/integration/replication-psync.tcl
redis-3.2.8/tests/integration/replication.tcl
redis-3.2.8/tests/sentinel/
redis-3.2.8/tests/sentinel/run.tcl
redis-3.2.8/tests/sentinel/tests/
redis-3.2.8/tests/sentinel/tests/00-base.tcl
redis-3.2.8/tests/sentinel/tests/01-conf-update.tcl
redis-3.2.8/tests/sentinel/tests/02-slaves-reconf.tcl
redis-3.2.8/tests/sentinel/tests/03-runtime-reconf.tcl
redis-3.2.8/tests/sentinel/tests/04-slave-selection.tcl
redis-3.2.8/tests/sentinel/tests/05-manual.tcl
redis-3.2.8/tests/sentinel/tests/06-ckquorum.tcl
redis-3.2.8/tests/sentinel/tests/07-down-conditions.tcl
redis-3.2.8/tests/sentinel/tests/includes/
redis-3.2.8/tests/sentinel/tests/includes/init-tests.tcl
redis-3.2.8/tests/sentinel/tmp/
redis-3.2.8/tests/sentinel/tmp/.gitignore
redis-3.2.8/tests/support/
redis-3.2.8/tests/support/cluster.tcl
redis-3.2.8/tests/support/redis.tcl
redis-3.2.8/tests/support/server.tcl
redis-3.2.8/tests/support/test.tcl
redis-3.2.8/tests/support/tmpfile.tcl
redis-3.2.8/tests/support/util.tcl
redis-3.2.8/tests/test_helper.tcl
redis-3.2.8/tests/tmp/
redis-3.2.8/tests/tmp/.gitignore
redis-3.2.8/tests/unit/
redis-3.2.8/tests/unit/aofrw.tcl
redis-3.2.8/tests/unit/auth.tcl
redis-3.2.8/tests/unit/bitfield.tcl
redis-3.2.8/tests/unit/bitops.tcl
redis-3.2.8/tests/unit/dump.tcl
redis-3.2.8/tests/unit/expire.tcl
redis-3.2.8/tests/unit/geo.tcl
redis-3.2.8/tests/unit/hyperloglog.tcl
redis-3.2.8/tests/unit/introspection-2.tcl
redis-3.2.8/tests/unit/introspection.tcl
redis-3.2.8/tests/unit/keyspace.tcl
redis-3.2.8/tests/unit/latency-monitor.tcl
redis-3.2.8/tests/unit/limits.tcl
redis-3.2.8/tests/unit/maxmemory.tcl
redis-3.2.8/tests/unit/memefficiency.tcl
redis-3.2.8/tests/unit/multi.tcl
redis-3.2.8/tests/unit/obuf-limits.tcl
redis-3.2.8/tests/unit/other.tcl
redis-3.2.8/tests/unit/printver.tcl
redis-3.2.8/tests/unit/protocol.tcl
redis-3.2.8/tests/unit/pubsub.tcl
redis-3.2.8/tests/unit/quit.tcl
redis-3.2.8/tests/unit/scan.tcl
redis-3.2.8/tests/unit/scripting.tcl
redis-3.2.8/tests/unit/slowlog.tcl
redis-3.2.8/tests/unit/sort.tcl
redis-3.2.8/tests/unit/type/
redis-3.2.8/tests/unit/type/hash.tcl
redis-3.2.8/tests/unit/type/incr.tcl
redis-3.2.8/tests/unit/type/list-2.tcl
redis-3.2.8/tests/unit/type/list-3.tcl
redis-3.2.8/tests/unit/type/list-common.tcl
redis-3.2.8/tests/unit/type/list.tcl
redis-3.2.8/tests/unit/type/set.tcl
redis-3.2.8/tests/unit/type/string.tcl
redis-3.2.8/tests/unit/type/zset.tcl
redis-3.2.8/utils/
redis-3.2.8/utils/build-static-symbols.tcl
redis-3.2.8/utils/cluster_fail_time.tcl
redis-3.2.8/utils/corrupt_rdb.c
redis-3.2.8/utils/create-cluster/
redis-3.2.8/utils/create-cluster/.gitignore
redis-3.2.8/utils/create-cluster/README
redis-3.2.8/utils/create-cluster/create-cluster
redis-3.2.8/utils/generate-command-help.rb
redis-3.2.8/utils/hashtable/
redis-3.2.8/utils/hashtable/README
redis-3.2.8/utils/hashtable/rehashing.c
redis-3.2.8/utils/hyperloglog/
redis-3.2.8/utils/hyperloglog/.gitignore
redis-3.2.8/utils/hyperloglog/hll-err.rb
redis-3.2.8/utils/hyperloglog/hll-gnuplot-graph.rb
redis-3.2.8/utils/install_server.sh
redis-3.2.8/utils/lru/
redis-3.2.8/utils/lru/README
redis-3.2.8/utils/lru/test-lru.rb
redis-3.2.8/utils/redis-copy.rb
redis-3.2.8/utils/redis-sha1.rb
redis-3.2.8/utils/redis_init_script
redis-3.2.8/utils/redis_init_script.tpl
redis-3.2.8/utils/releasetools/
redis-3.2.8/utils/releasetools/01_create_tarball.sh
redis-3.2.8/utils/releasetools/02_upload_tarball.sh
redis-3.2.8/utils/releasetools/03_test_release.sh
redis-3.2.8/utils/releasetools/04_release_hash.sh
redis-3.2.8/utils/speed-regression.tcl
redis-3.2.8/utils/whatisdoing.sh
[email protected]-52-248-ubuntu:/usr/local/redis# ls
redis-3.2.8  redis-3.2.8.tar.gz
[email protected]-52-248-ubuntu:/usr/local/redis# cd
[email protected]-52-248-ubuntu:~# cd -
/usr/local/redis
[email protected]-52-248-ubuntu:/usr/local/redis# cd
[email protected]-52-248-ubuntu:~# redis-3.2.8 cd -
redis-3.2.8: command not found
[email protected]-52-248-ubuntu:~# cd -
/usr/local/redis
[email protected]-52-248-ubuntu:/usr/local/redis# cd redis-3.2.8
[email protected]-52-248-ubuntu:/usr/local/redis/redis-3.2.8# ls
00-RELEASENOTES  CONTRIBUTING  INSTALL    Makefile   deps        runtest          runtest-sentinel  src    utils
BUGS             COPYING       MANIFESTO  README.md  redis.conf  runtest-cluster  sentinel.conf     tests
[email protected]-52-248-ubuntu:/usr/local/redis/redis-3.2.8# netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN      774/mongod
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      1028/mysqld
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1236/apache2
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1006/sshd
tcp6       0      0 :::22                   :::*                    LISTEN      1006/sshd
[email protected]-52-248-ubuntu:/usr/local/redis/redis-3.2.8# redis-server
bash: /usr/bin/redis-server: No such file or directory
[email protected]-52-248-ubuntu:/usr/local/redis/redis-3.2.8# cd /
[email protected]-52-248-ubuntu:/# redis-server
bash: /usr/bin/redis-server: No such file or directory
[email protected]-52-248-ubuntu:/# cd -
/usr/local/redis/redis-3.2.8
[email protected]-52-248-ubuntu:/usr/local/redis/redis-3.2.8# make
cd src && make all
make[1]: Entering directory ‘/usr/local/redis/redis-3.2.8/src‘
rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb redis-check-aof *.o *.gcda *.gcno *.gcov redis.info lcov-html
(cd ../deps && make distclean)
make[2]: Entering directory ‘/usr/local/redis/redis-3.2.8/deps‘
(cd hiredis && make clean) > /dev/null || true
(cd linenoise && make clean) > /dev/null || true
(cd lua && make clean) > /dev/null || true
(cd geohash-int && make clean) > /dev/null || true
(cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true
(rm -f .make-*)
make[2]: Leaving directory ‘/usr/local/redis/redis-3.2.8/deps‘
(rm -f .make-*)
echo STD=-std=c99 -pedantic -DREDIS_STATIC=‘‘ >> .make-settings
echo WARN=-Wall -W >> .make-settings
echo OPT=-O2 >> .make-settings
echo MALLOC=jemalloc >> .make-settings
echo CFLAGS= >> .make-settings
echo LDFLAGS= >> .make-settings
echo REDIS_CFLAGS= >> .make-settings
echo REDIS_LDFLAGS= >> .make-settings
echo PREV_FINAL_CFLAGS=-std=c99 -pedantic -DREDIS_STATIC=‘‘ -Wall -W -O2 -g -ggdb   -I../deps/geohash-int -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -DUSE_JEMALLOC -I../deps/jemalloc/include >> .make-settings
echo PREV_FINAL_LDFLAGS=  -g -ggdb -rdynamic >> .make-settings
(cd ../deps && make hiredis linenoise lua geohash-int jemalloc)
make[2]: Entering directory ‘/usr/local/redis/redis-3.2.8/deps‘
(cd hiredis && make clean) > /dev/null || true
(cd linenoise && make clean) > /dev/null || true
(cd lua && make clean) > /dev/null || true
(cd geohash-int && make clean) > /dev/null || true
(cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true
(rm -f .make-*)
(echo "" > .make-cflags)
(echo "" > .make-ldflags)
MAKE hiredis
cd hiredis && make static
make[3]: Entering directory ‘/usr/local/redis/redis-3.2.8/deps/hiredis‘
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  net.c
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  hiredis.c
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  sds.c
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  async.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
make[3]: Leaving directory ‘/usr/local/redis/redis-3.2.8/deps/hiredis‘
MAKE linenoise
cd linenoise && make
make[3]: Entering directory ‘/usr/local/redis/redis-3.2.8/deps/linenoise‘
cc  -Wall -Os -g  -c linenoise.c
make[3]: Leaving directory ‘/usr/local/redis/redis-3.2.8/deps/linenoise‘
MAKE lua
cd lua/src && make all CFLAGS="-O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘ " MYLDFLAGS="" AR="ar rcu"
make[3]: Entering directory ‘/usr/local/redis/redis-3.2.8/deps/lua/src‘
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lapi.o lapi.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lcode.o lcode.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o ldebug.o ldebug.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o ldo.o ldo.c
ldo.c: In function ‘f_parser‘:
ldo.c:496:7: warning: unused variable ‘c‘ [-Wunused-variable]
   int c = luaZ_lookahead(p->z);
       ^
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o ldump.o ldump.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lfunc.o lfunc.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lgc.o lgc.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o llex.o llex.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lmem.o lmem.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lobject.o lobject.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lopcodes.o lopcodes.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lparser.o lparser.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lstate.o lstate.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lstring.o lstring.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o ltable.o ltable.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o ltm.o ltm.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lundump.o lundump.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lvm.o lvm.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lzio.o lzio.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o strbuf.o strbuf.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o fpconv.o fpconv.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lauxlib.o lauxlib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lbaselib.o lbaselib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o ldblib.o ldblib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o liolib.o liolib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lmathlib.o lmathlib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o loslib.o loslib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o ltablib.o ltablib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lstrlib.o lstrlib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o loadlib.o loadlib.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o linit.o linit.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lua_cjson.o lua_cjson.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lua_struct.o lua_struct.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lua_cmsgpack.o lua_cmsgpack.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lua_bit.o lua_bit.c
ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o strbuf.o fpconv.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o lua_cjson.o lua_struct.o lua_cmsgpack.o lua_bit.o  # DLL needs all object files
ar: `u‘ modifier ignored since `D‘ is the default (see `U‘)
ranlib liblua.a
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o lua.o lua.c
cc -o lua  lua.o liblua.a -lm
liblua.a(loslib.o): In function `os_tmpname‘:
loslib.c:(.text+0x28c): warning: the use of `tmpnam‘ is dangerous, better use `mkstemp‘
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o luac.o luac.c
cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC=‘‘    -c -o print.o print.c
cc -o luac  luac.o print.o liblua.a -lm
make[3]: Leaving directory ‘/usr/local/redis/redis-3.2.8/deps/lua/src‘
MAKE geohash-int
cd geohash-int && make
make[3]: Entering directory ‘/usr/local/redis/redis-3.2.8/deps/geohash-int‘
cc  -Wall -O2 -g  -c geohash.c
cc  -Wall -O2 -g  -c geohash_helper.c
make[3]: Leaving directory ‘/usr/local/redis/redis-3.2.8/deps/geohash-int‘
MAKE jemalloc
cd jemalloc && ./configure --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS=""
checking for xsltproc... false
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of int... 4
checking size of long... 8
checking size of intmax_t... 8
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether pause instruction is compilable... yes
checking for ar... ar
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking whether malloc_usable_size definition can use const argument... no
checking whether __attribute__ syntax is compilable... yes
checking whether compiler supports -fvisibility=hidden... yes
checking whether compiler supports -Werror... yes
checking whether tls_model attribute is compilable... yes
checking whether compiler supports -Werror... yes
checking whether alloc_size attribute is compilable... yes
checking whether compiler supports -Werror... yes
checking whether format(gnu_printf, ...) attribute is compilable... yes
checking whether compiler supports -Werror... yes
checking whether format(printf, ...) attribute is compilable... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ld... /usr/bin/ld
checking for autoconf... false
checking for memalign... yes
checking for valloc... yes
checking configured backtracing method... N/A
checking for sbrk... yes
checking whether utrace(2) is compilable... no
checking whether valgrind is compilable... no
checking whether a program using __builtin_ffsl is compilable... yes
checking LG_PAGE... 12
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for library containing clock_gettime... none required
checking for secure_getenv... yes
checking for issetugid... no
checking for _malloc_thread_cleanup... no
checking for _pthread_mutex_init_calloc_cb... no
checking for TLS... yes
checking whether C11 atomics is compilable... no
checking whether atomic(9) is compilable... no
checking whether Darwin OSAtomic*() is compilable... no
checking whether madvise(2) is compilable... yes
checking whether to force 32-bit __sync_{add,sub}_and_fetch()... no
checking whether to force 64-bit __sync_{add,sub}_and_fetch()... no
checking for __builtin_clz... yes
checking whether Darwin OSSpin*() is compilable... no
checking whether glibc malloc hook is compilable... yes
checking whether glibc memalign hook is compilable... yes
checking whether pthreads adaptive mutexes is compilable... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jemalloc.pc
config.status: creating doc/html.xsl
config.status: creating doc/manpages.xsl
config.status: creating doc/jemalloc.xml
config.status: creating include/jemalloc/jemalloc_macros.h
config.status: creating include/jemalloc/jemalloc_protos.h
config.status: creating include/jemalloc/jemalloc_typedefs.h
config.status: creating include/jemalloc/internal/jemalloc_internal.h
config.status: creating test/test.sh
config.status: creating test/include/test/jemalloc_test.h
config.status: creating config.stamp
config.status: creating bin/jemalloc-config
config.status: creating bin/jemalloc.sh
config.status: creating bin/jeprof
config.status: creating include/jemalloc/jemalloc_defs.h
config.status: creating include/jemalloc/internal/jemalloc_internal_defs.h
config.status: creating test/include/test/jemalloc_test_defs.h
config.status: executing include/jemalloc/internal/private_namespace.h commands
config.status: executing include/jemalloc/internal/private_unnamespace.h commands
config.status: executing include/jemalloc/internal/public_symbols.txt commands
config.status: executing include/jemalloc/internal/public_namespace.h commands
config.status: executing include/jemalloc/internal/public_unnamespace.h commands
config.status: executing include/jemalloc/internal/size_classes.h commands
config.status: executing include/jemalloc/jemalloc_protos_jet.h commands
config.status: executing include/jemalloc/jemalloc_rename.h commands
config.status: executing include/jemalloc/jemalloc_mangle.h commands
config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands
config.status: executing include/jemalloc/jemalloc.h commands
===============================================================================
jemalloc version   : 4.0.3-0-ge9192eacf8935e29fc62fddc2701f7942b1cc02c
library revision   : 2

CONFIG             : --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence ‘CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops ‘ LDFLAGS=
CC                 : gcc
CFLAGS             : -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -fvisibility=hidden
CPPFLAGS           :  -D_GNU_SOURCE -D_REENTRANT
LDFLAGS            :
EXTRA_LDFLAGS      :
LIBS               :  -lpthread
TESTLIBS           :
RPATH_EXTRA        :

XSLTPROC           : false
XSLROOT            :

PREFIX             : /usr/local
BINDIR             : /usr/local/bin
DATADIR            : /usr/local/share
INCLUDEDIR         : /usr/local/include
LIBDIR             : /usr/local/lib
MANDIR             : /usr/local/share/man

srcroot            :
abs_srcroot        : /usr/local/redis/redis-3.2.8/deps/jemalloc/
objroot            :
abs_objroot        : /usr/local/redis/redis-3.2.8/deps/jemalloc/

JEMALLOC_PREFIX    : je_
JEMALLOC_PRIVATE_NAMESPACE
                   : je_
install_suffix     :
autogen            : 0
cc-silence         : 1
debug              : 0
code-coverage      : 0
stats              : 1
prof               : 0
prof-libunwind     : 0
prof-libgcc        : 0
prof-gcc           : 0
tcache             : 1
fill               : 1
utrace             : 0
valgrind           : 0
xmalloc            : 0
munmap             : 0
lazy_lock          : 0
tls                : 1
cache-oblivious    : 1
===============================================================================
cd jemalloc && make CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS="" lib/libjemalloc.a
make[3]: Entering directory ‘/usr/local/redis/redis-3.2.8/deps/jemalloc‘
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc.o src/jemalloc.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/arena.o src/arena.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/atomic.o src/atomic.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/base.o src/base.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/bitmap.o src/bitmap.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/chunk.o src/chunk.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/chunk_dss.o src/chunk_dss.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/chunk_mmap.o src/chunk_mmap.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/ckh.o src/ckh.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/ctl.o src/ctl.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/extent.o src/extent.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/hash.o src/hash.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/huge.o src/huge.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/mb.o src/mb.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/mutex.o src/mutex.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/pages.o src/pages.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/prof.o src/prof.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/quarantine.o src/quarantine.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/rtree.o src/rtree.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/stats.o src/stats.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/tcache.o src/tcache.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/util.o src/util.c
gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops  -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/tsd.o src/tsd.c
ar crus lib/libjemalloc.a src/jemalloc.o src/arena.o src/atomic.o src/base.o src/bitmap.o src/chunk.o src/chunk_dss.o src/chunk_mmap.o src/ckh.o src/ctl.o src/extent.o src/hash.o src/huge.o src/mb.o src/mutex.o src/pages.o src/prof.o src/quarantine.o src/rtree.o src/stats.o src/tcache.o src/util.o src/tsd.o
ar: `u‘ modifier ignored since `D‘ is the default (see `U‘)
make[3]: Leaving directory ‘/usr/local/redis/redis-3.2.8/deps/jemalloc‘
make[2]: Leaving directory ‘/usr/local/redis/redis-3.2.8/deps‘
    CC adlist.o
    CC quicklist.o
    CC ae.o
    CC anet.o
    CC dict.o
    CC server.o
    CC sds.o
    CC zmalloc.o
    CC lzf_c.o
    CC lzf_d.o
    CC pqsort.o
    CC zipmap.o
    CC sha1.o
    CC ziplist.o
    CC release.o
    CC networking.o
    CC util.o
    CC object.o
    CC db.o
    CC replication.o
    CC rdb.o
    CC t_string.o
    CC t_list.o
    CC t_set.o
    CC t_zset.o
    CC t_hash.o
    CC config.o
    CC aof.o
    CC pubsub.o
    CC multi.o
    CC debug.o
    CC sort.o
    CC intset.o
    CC syncio.o
    CC cluster.o
    CC crc16.o
    CC endianconv.o
    CC slowlog.o
    CC scripting.o
    CC bio.o
    CC rio.o
    CC rand.o
    CC memtest.o
    CC crc64.o
    CC bitops.o
    CC sentinel.o
    CC notify.o
    CC setproctitle.o
    CC blocked.o
    CC hyperloglog.o
    CC latency.o
    CC sparkline.o
    CC redis-check-rdb.o
    CC geo.o
    LINK redis-server
    INSTALL redis-sentinel
    CC redis-cli.o
    LINK redis-cli
    CC redis-benchmark.o
    LINK redis-benchmark
    INSTALL redis-check-rdb
    CC redis-check-aof.o
    LINK redis-check-aof

Hint: It‘s a good idea to run ‘make test‘ ;)

make[1]: Leaving directory ‘/usr/local/redis/redis-3.2.8/src‘
[email protected]-52-248-ubuntu:/usr/local/redis/redis-3.2.8#
时间: 2024-10-11 14:46:51