memcached基础4

2022-06-26 23:30:57 浏览数 (1)

安装

root@h101 memcached-1.4.24# ./configure

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking target system type... x86_64-unknown-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether make supports nested variables... yes

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 whether gcc understands -c and -o together... yes

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

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 icc in use... no

checking for clang in use... no

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 __SUNPRO_C is declared... no

checking for gcc option to accept ISO C99... -std=gnu99

checking sasl/sasl.h usability... no

checking sasl/sasl.h presence... no

checking for sasl/sasl.h... no

checking for gcov... /usr/bin/gcov

checking for main in -lgcov... yes

checking for library containing clock_gettime... -lrt

checking for library containing socket... none required

checking for library containing gethostbyname... none required

checking for libevent directory... (system)

checking for library containing umem_cache_create... no

checking for library containing gethugepagesizes... no

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking for inttypes.h... (cached) yes

checking for sasl_callback_ft... no

checking for print macros for integers (C99 section 7.8.1)... yes

checking for an ANSI C-conforming const... yes

checking for socklen_t... yes

checking for endianness... little

checking for htonll... no

checking for library containing pthread_create... none required

checking for mlockall... yes

checking for getpagesizes... no

checking for memcntl... no

checking for sigignore... yes

checking for clock_gettime... yes

checking for accept4... yes

checking for alignment... none

checking for GCC atomics... yes

checking for setppriv... no

checking umem.h usability... no

checking umem.h presence... no

checking for umem.h... no

checking for xml2rfc... no

checking for xsltproc... /usr/bin/xsltproc

checking that generated files are newer than configure... done

configure: creating ./config.status

config.status: creating Makefile

config.status: creating doc/Makefile

config.status: creating config.h

config.status: executing depfiles commands

root@h101 memcached-1.4.24# echo $?

0

root@h101 memcached-1.4.24# make

make all-recursive

make1: Entering directory `/usr/local/src/memcached-1.4.24'

Making all in doc

make2: Entering directory `/usr/local/src/memcached-1.4.24/doc'

make all-am

make3: Entering directory `/usr/local/src/memcached-1.4.24/doc'

make3: Nothing to be done for `all-am'.

make3: Leaving directory `/usr/local/src/memcached-1.4.24/doc'

make2: Leaving directory `/usr/local/src/memcached-1.4.24/doc'

make2: Entering directory `/usr/local/src/memcached-1.4.24'

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o test -f 'memcached.c' || echo './'memcached.c

mv -f .deps/memcached-memcached.Tpo .deps/memcached-memcached.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-hash.o -MD -MP -MF .deps/memcached-hash.Tpo -c -o memcached-hash.o test -f 'hash.c' || echo './'hash.c

mv -f .deps/memcached-hash.Tpo .deps/memcached-hash.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-jenkins_hash.o -MD -MP -MF .deps/memcached-jenkins_hash.Tpo -c -o memcached-jenkins_hash.o test -f 'jenkins_hash.c' || echo './'jenkins_hash.c

mv -f .deps/memcached-jenkins_hash.Tpo .deps/memcached-jenkins_hash.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-murmur3_hash.o -MD -MP -MF .deps/memcached-murmur3_hash.Tpo -c -o memcached-murmur3_hash.o test -f 'murmur3_hash.c' || echo './'murmur3_hash.c

mv -f .deps/memcached-murmur3_hash.Tpo .deps/memcached-murmur3_hash.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-slabs.o -MD -MP -MF .deps/memcached-slabs.Tpo -c -o memcached-slabs.o test -f 'slabs.c' || echo './'slabs.c

mv -f .deps/memcached-slabs.Tpo .deps/memcached-slabs.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-items.o -MD -MP -MF .deps/memcached-items.Tpo -c -o memcached-items.o test -f 'items.c' || echo './'items.c

mv -f .deps/memcached-items.Tpo .deps/memcached-items.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-assoc.o -MD -MP -MF .deps/memcached-assoc.Tpo -c -o memcached-assoc.o test -f 'assoc.c' || echo './'assoc.c

mv -f .deps/memcached-assoc.Tpo .deps/memcached-assoc.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-thread.o -MD -MP -MF .deps/memcached-thread.Tpo -c -o memcached-thread.o test -f 'thread.c' || echo './'thread.c

mv -f .deps/memcached-thread.Tpo .deps/memcached-thread.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-daemon.o -MD -MP -MF .deps/memcached-daemon.Tpo -c -o memcached-daemon.o test -f 'daemon.c' || echo './'daemon.c

mv -f .deps/memcached-daemon.Tpo .deps/memcached-daemon.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-stats.o -MD -MP -MF .deps/memcached-stats.Tpo -c -o memcached-stats.o test -f 'stats.c' || echo './'stats.c

mv -f .deps/memcached-stats.Tpo .deps/memcached-stats.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-util.o -MD -MP -MF .deps/memcached-util.Tpo -c -o memcached-util.o test -f 'util.c' || echo './'util.c

mv -f .deps/memcached-util.Tpo .deps/memcached-util.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached-cache.o -MD -MP -MF .deps/memcached-cache.Tpo -c -o memcached-cache.o test -f 'cache.c' || echo './'cache.c

mv -f .deps/memcached-cache.Tpo .deps/memcached-cache.Po

gcc -std=gnu99 -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -o memcached memcached-memcached.o memcached-hash.o memcached-jenkins_hash.o memcached-murmur3_hash.o memcached-slabs.o memcached-items.o memcached-assoc.o memcached-thread.o memcached-daemon.o memcached-stats.o memcached-util.o memcached-cache.o -levent -lrt

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-memcached.o -MD -MP -MF .deps/memcached_debug-memcached.Tpo -c -o memcached_debug-memcached.o test -f 'memcached.c' || echo './'memcached.c

mv -f .deps/memcached_debug-memcached.Tpo .deps/memcached_debug-memcached.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-hash.o -MD -MP -MF .deps/memcached_debug-hash.Tpo -c -o memcached_debug-hash.o test -f 'hash.c' || echo './'hash.c

mv -f .deps/memcached_debug-hash.Tpo .deps/memcached_debug-hash.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-jenkins_hash.o -MD -MP -MF .deps/memcached_debug-jenkins_hash.Tpo -c -o memcached_debug-jenkins_hash.o test -f 'jenkins_hash.c' || echo './'jenkins_hash.c

mv -f .deps/memcached_debug-jenkins_hash.Tpo .deps/memcached_debug-jenkins_hash.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-murmur3_hash.o -MD -MP -MF .deps/memcached_debug-murmur3_hash.Tpo -c -o memcached_debug-murmur3_hash.o test -f 'murmur3_hash.c' || echo './'murmur3_hash.c

mv -f .deps/memcached_debug-murmur3_hash.Tpo .deps/memcached_debug-murmur3_hash.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-slabs.o -MD -MP -MF .deps/memcached_debug-slabs.Tpo -c -o memcached_debug-slabs.o test -f 'slabs.c' || echo './'slabs.c

mv -f .deps/memcached_debug-slabs.Tpo .deps/memcached_debug-slabs.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-items.o -MD -MP -MF .deps/memcached_debug-items.Tpo -c -o memcached_debug-items.o test -f 'items.c' || echo './'items.c

mv -f .deps/memcached_debug-items.Tpo .deps/memcached_debug-items.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-assoc.o -MD -MP -MF .deps/memcached_debug-assoc.Tpo -c -o memcached_debug-assoc.o test -f 'assoc.c' || echo './'assoc.c

mv -f .deps/memcached_debug-assoc.Tpo .deps/memcached_debug-assoc.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-thread.o -MD -MP -MF .deps/memcached_debug-thread.Tpo -c -o memcached_debug-thread.o test -f 'thread.c' || echo './'thread.c

mv -f .deps/memcached_debug-thread.Tpo .deps/memcached_debug-thread.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-daemon.o -MD -MP -MF .deps/memcached_debug-daemon.Tpo -c -o memcached_debug-daemon.o test -f 'daemon.c' || echo './'daemon.c

mv -f .deps/memcached_debug-daemon.Tpo .deps/memcached_debug-daemon.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-stats.o -MD -MP -MF .deps/memcached_debug-stats.Tpo -c -o memcached_debug-stats.o test -f 'stats.c' || echo './'stats.c

mv -f .deps/memcached_debug-stats.Tpo .deps/memcached_debug-stats.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-util.o -MD -MP -MF .deps/memcached_debug-util.Tpo -c -o memcached_debug-util.o test -f 'util.c' || echo './'util.c

mv -f .deps/memcached_debug-util.Tpo .deps/memcached_debug-util.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT memcached_debug-cache.o -MD -MP -MF .deps/memcached_debug-cache.Tpo -c -o memcached_debug-cache.o test -f 'cache.c' || echo './'cache.c

mv -f .deps/memcached_debug-cache.Tpo .deps/memcached_debug-cache.Po

gcc -std=gnu99 -fprofile-arcs -ftest-coverage -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -o memcached-debug memcached_debug-memcached.o memcached_debug-hash.o memcached_debug-jenkins_hash.o memcached_debug-murmur3_hash.o memcached_debug-slabs.o memcached_debug-items.o memcached_debug-assoc.o memcached_debug-thread.o memcached_debug-daemon.o memcached_debug-stats.o memcached_debug-util.o memcached_debug-cache.o -lgcov -levent -lrt

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT sizes.o -MD -MP -MF .deps/sizes.Tpo -c -o sizes.o sizes.c

mv -f .deps/sizes.Tpo .deps/sizes.Po

gcc -std=gnu99 -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -o sizes sizes.o -levent -lrt

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT testapp.o -MD -MP -MF .deps/testapp.Tpo -c -o testapp.o testapp.c

mv -f .deps/testapp.Tpo .deps/testapp.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c

mv -f .deps/util.Tpo .deps/util.Po

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.c

mv -f .deps/cache.Tpo .deps/cache.Po

gcc -std=gnu99 -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -o testapp testapp.o util.o cache.o -levent -lrt

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -MT timedrun.o -MD -MP -MF .deps/timedrun.Tpo -c -o timedrun.o timedrun.c

mv -f .deps/timedrun.Tpo .deps/timedrun.Po

gcc -std=gnu99 -g -O2 -pthread -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fno-strict-aliasing -o timedrun timedrun.o -levent -lrt

make2: Leaving directory `/usr/local/src/memcached-1.4.24'

make1: Leaving directory `/usr/local/src/memcached-1.4.24'

root@h101 memcached-1.4.24# echo $?

0

root@h101 memcached-1.4.24# make install

make install-recursive

make1: Entering directory `/usr/local/src/memcached-1.4.24'

Making install in doc

make2: Entering directory `/usr/local/src/memcached-1.4.24/doc'

make install-am

make3: Entering directory `/usr/local/src/memcached-1.4.24/doc'

make4: Entering directory `/usr/local/src/memcached-1.4.24/doc'

make4: Nothing to be done for `install-exec-am'.

/bin/mkdir -p '/usr/local/share/man/man1'

/usr/bin/install -c -m 644 memcached.1 '/usr/local/share/man/man1'

make4: Leaving directory `/usr/local/src/memcached-1.4.24/doc'

make3: Leaving directory `/usr/local/src/memcached-1.4.24/doc'

make2: Leaving directory `/usr/local/src/memcached-1.4.24/doc'

make2: Entering directory `/usr/local/src/memcached-1.4.24'

make3: Entering directory `/usr/local/src/memcached-1.4.24'

/bin/mkdir -p '/usr/local/bin'

/usr/bin/install -c memcached '/usr/local/bin'

/bin/mkdir -p '/usr/local/include/memcached'

/usr/bin/install -c -m 644 protocol_binary.h '/usr/local/include/memcached'

make3: Leaving directory `/usr/local/src/memcached-1.4.24'

make2: Leaving directory `/usr/local/src/memcached-1.4.24'

make1: Leaving directory `/usr/local/src/memcached-1.4.24'

root@h101 memcached-1.4.24# echo $?

0

root@h101 memcached-1.4.24# ll /usr/local/bin/ | grep memcached

-rwxr-xr-x 1 root root 358710 Sep 23 14:45 memcached

root@h101 memcached-1.4.24#

0 人点赞