Skip to content

Instantly share code, notes, and snippets.

@inohiro
Created November 26, 2011 10:59
Show Gist options
  • Save inohiro/1395459 to your computer and use it in GitHub Desktop.
Save inohiro/1395459 to your computer and use it in GitHub Desktop.
gem install memcached on Lion is failed
inohiro@inohiro-ng-mac ~$ gem install memcached
Building native extensions. This could take a while...
ERROR: Error installing memcached:
ERROR: Failed to build gem native extension.
/Users/inohiro/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb
extconf.rb:7: Use RbConfig instead of obsolete and deprecated Config.
Touching aclocal.m4 in libmemcached.
touch -r libmemcached-0.32/m4/visibility.m4 libmemcached-0.32/configure.ac libmemcached-0.32/m4/pandora_have_sasl.m4 libmemcached-0.32/m4/aclocal.m4
Configuring libmemcached.
env CFLAGS='-fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe' LDFLAGS='-fPIC -L. -L. -L/Users/inohiro/.rvm/rubies/ruby-1.9.3-p0/lib' ./configure --prefix=/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext --without-memcached --disable-shared --disable-utils --disable-dependency-tracking CC="clang" 2>&1
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking target system type... i386-apple-darwin11.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... none
checking for isainfo... no
checking whether clang and cc understand -c and -o together... rm: conftest.dSYM: is a directory
yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-apple-darwin11.2.0 file names to i386-apple-darwin11.2.0 format... func_convert_file_noop
checking how to convert i386-apple-darwin11.2.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking if g++ supports C++0x features without additional flags... no
checking if g++ supports C++0x features with -std=c++0x... no
checking if g++ supports C++0x features with -std=gnu++0x... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C preprocessor... clang -E
checking whether __SUNPRO_C is declared... no
checking whether __ICC is declared... no
checking for ISO C++ 98 include files... yes
checking memory usability... yes
checking memory presence... yes
checking for memory... yes
checking tr1/memory usability... yes
checking tr1/memory presence... yes
checking for tr1/memory... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no
checking the location of shared_ptr header file...
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
checking whether time.h and sys/time.h may both be included... yes
checking for size_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking "C Compiler version--yes"... "Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)"
checking "C++ Compiler version"... "i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)"
checking for simple visibility declarations... yes
checking whether to enable assertions... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking whether it is safe to use -fdiagnostics-show-option... yes
checking whether it is safe to use -Wconversion... yes
checking whether it is safe to use -Wconversion with htons... yes
checking whether it is safe to use -Wmissing-declarations from C++... no
checking whether it is safe to use -Wlogical-op... yes
checking whether it is safe to use -Wredundant-decls from C++... yes
checking for doxygen... no
checking for perl... perl
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for library containing getopt_long... none required
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing floorf... none required
checking for htonll... no
checking byteorder... little endian
checking for pod2man... /usr/bin/pod2man
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for libsasl... no
checking for libsasl2... yes
checking how to link with libsasl2... -lsasl2
configure: creating ./config.status
config.status: creating Makefile
config.status: creating clients/Makefile
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating libmemcached/Makefile
config.status: creating libmemcached/memcached_configure.h
config.status: creating libmemcachedutil/Makefile
config.status: creating support/Makefile
config.status: creating support/libmemcached.pc
config.status: creating support/libmemcached.spec
config.status: creating support/libmemcached-fc.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
---
Configuration summary for libmemcached version 0.32
* Installation prefix: /Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext
* System type: apple-darwin11.2.0
* Host CPU: i386
* C Compiler: Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
* Assertions enabled: yes
* Debug enabled: no
* Warnings as failure: no
* With SASL support: -lsasl2
---
Making libmemcached.
GMAKE_CMD='make' CXXFLAGS=' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -std=gnu++98 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe' SOURCE_DIR='libmemcached-0.32' HERE='/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext' ruby ../extconf-make.rb
make CXXFLAGS=' -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -std=gnu++98 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe' || true 2>&1
make all-recursive
Making all in docs
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/libmemcached.pod > libmemcached.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/libmemcached_examples.pod > libmemcached_examples.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memcat.pod > memcat.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memcp.pod > memcp.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memerror.pod > memerror.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memflush.pod > memflush.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memdump.pod > memdump.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memrm.pod > memrm.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memslap.pod > memslap.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 1 ../docs/memstat.pod > memstat.1
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_add.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_add_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_append.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_append_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_analyze.pod > memcached_analyze.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_behavior.pod > memcached_behavior_get.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_behavior.pod > memcached_behavior_set.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_callback.pod > memcached_callback_get.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_callback.pod > memcached_callback_set.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_cas.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_cas_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_create.pod > memcached_clone.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_create.pod > memcached_create.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_auto.pod > memcached_decrement.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_auto.pod > memcached_decrement_with_initial.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_delete.pod > memcached_delete.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_delete.pod > memcached_delete_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_get.pod > memcached_fetch.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_get.pod > memcached_fetch_execute.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_get.pod > memcached_fetch_result.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_create.pod > memcached_free.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_get.pod > memcached_get.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_get.pod > memcached_get_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_auto.pod > memcached_increment.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_auto.pod > memcached_increment_with_initial.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_get.pod > memcached_mget.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_get.pod > memcached_mget_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_prepend.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_prepend_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_replace.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_replace_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_servers.pod > memcached_server_add.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_servers.pod > memcached_server_count.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_servers.pod > memcached_server_list.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_server_st.pod > memcached_server_list_append.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_server_st.pod > memcached_server_list_count.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_server_st.pod > memcached_server_list_free.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_servers.pod > memcached_server_push.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_server_st.pod > memcached_servers_parse.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_set.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_set.pod > memcached_set_by_key.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_stats.pod > memcached_stat.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_stats.pod > memcached_stat_get_keys.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_stats.pod > memcached_stat_get_value.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_stats.pod > memcached_stat_servername.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_strerror.pod > memcached_strerror.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_quit.pod > memcached_quit.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_verbosity.pod > memcached_verbosity.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_version.pod > memcached_lib_version.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_version.pod > memcached_version.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_flush_buffers.pod > memcached_flush_buffers.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_dump.pod > memcached_dump.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_generate_hash_value.pod > memcached_generate_hash_value.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_memory_allocators.pod > memcached_set_memory_allocators.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_memory_allocators.pod > memcached_get_memory_allocators.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_user_data.pod > memcached_set_user_data.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_user_data.pod > memcached_get_user_data.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_sasl.pod > memcached_destroy_sasl_auth_data.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_sasl.pod > memcached_get_sasl_callbacks.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_sasl.pod > memcached_set_sasl_auth_data.3
/usr/bin/pod2man -c "libmemcached" -r "" -s 3 ../docs/memcached_sasl.pod > memcached_set_sasl_callbacks.3
Making all in libmemcached
make all-am
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-crc.lo `test -f 'crc.c' || echo './'`crc.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c crc.c -o libmemcached_la-crc.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached.lo `test -f 'memcached.c' || echo './'`memcached.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached.c -o libmemcached_la-memcached.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_auto.lo `test -f 'memcached_auto.c' || echo './'`memcached_auto.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_auto.c -o libmemcached_la-memcached_auto.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
memcached_auto.c:86:37: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint16_t' (aka 'unsigned short') [-Wconversion]
uint16_t key_with_prefix_length = ptr->prefix_key_length + key_length;
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_analyze.lo `test -f 'memcached_analyze.c' || echo './'`memcached_analyze.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_analyze.c -o libmemcached_la-memcached_analyze.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_behavior.lo `test -f 'memcached_behavior.c' || echo './'`memcached_behavior.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_behavior.c -o libmemcached_la-memcached_behavior.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_connect.lo `test -f 'memcached_connect.c' || echo './'`memcached_connect.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_connect.c -o libmemcached_la-memcached_connect.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_delete.lo `test -f 'memcached_delete.c' || echo './'`memcached_delete.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_delete.c -o libmemcached_la-memcached_delete.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_do.lo `test -f 'memcached_do.c' || echo './'`memcached_do.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_do.c -o libmemcached_la-memcached_do.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_dump.lo `test -f 'memcached_dump.c' || echo './'`memcached_dump.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_dump.c -o libmemcached_la-memcached_dump.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_fetch.lo `test -f 'memcached_fetch.c' || echo './'`memcached_fetch.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_fetch.c -o libmemcached_la-memcached_fetch.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_flush.lo `test -f 'memcached_flush.c' || echo './'`memcached_flush.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_flush.c -o libmemcached_la-memcached_flush.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_get.lo `test -f 'memcached_get.c' || echo './'`memcached_get.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_get.c -o libmemcached_la-memcached_get.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
memcached_get.c:305:28: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
ptr->last_server_key = server_key;
~ ^~~~~~~~~~
memcached_get.c:335:20: warning: unused variable 'rc' [-Wunused-variable]
memcached_return rc = MEMCACHED_NOTFOUND;
^
3 warnings generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_touch.lo `test -f 'memcached_touch.c' || echo './'`memcached_touch.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_touch.c -o libmemcached_la-memcached_touch.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
1 warning generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_hash.lo `test -f 'memcached_hash.c' || echo './'`memcached_hash.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_hash.c -o libmemcached_la-memcached_hash.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
memcached_hash.c:138:11: warning: explicitly assigning a variable of type 'uint32_t' (aka 'unsigned int') to itself [-Wself-assign]
hash= hash;
~~~~^ ~~~~
2 warnings generated.
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_hosts.lo `test -f 'memcached_hosts.c' || echo './'`memcached_hosts.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_hosts.c -o libmemcached_la-memcached_hosts.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
memcached_hosts.c:174:21: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
is_auto_ejecting= memcached_behavior_get(ptr, MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
memcached_hosts.c:193:23: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
is_ketama_weighted= memcached_behavior_get(ptr, MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
make[3]: *** [libmemcached_la-memcached_hosts.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
make install || true 2>&1
Making install in docs
make[2]: Nothing to be done for `install-exec-am'.
test -z "/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/share/man/man1" || ../config/install-sh -c -d "/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/share/man/man1"
/usr/bin/install -c -m 644 memcat.1 memcp.1 memerror.1 memflush.1 memdump.1 memrm.1 memslap.1 memstat.1 '/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/share/man/man1'
test -z "/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/share/man/man3" || ../config/install-sh -c -d "/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/share/man/man3"
/usr/bin/install -c -m 644 libmemcached.3 libmemcached_examples.3 memcached_add.3 memcached_add_by_key.3 memcached_append.3 memcached_append_by_key.3 memcached_analyze.3 memcached_behavior_get.3 memcached_behavior_set.3 memcached_callback_get.3 memcached_callback_set.3 memcached_cas.3 memcached_cas_by_key.3 memcached_clone.3 memcached_create.3 memcached_decrement.3 memcached_decrement_with_initial.3 memcached_delete.3 memcached_delete_by_key.3 memcached_fetch.3 memcached_fetch_execute.3 memcached_fetch_result.3 memcached_free.3 memcached_get.3 memcached_get_by_key.3 memcached_increment.3 memcached_increment_with_initial.3 memcached_mget.3 memcached_mget_by_key.3 memcached_prepend.3 memcached_prepend_by_key.3 memcached_replace.3 memcached_replace_by_key.3 memcached_server_add.3 memcached_server_count.3 memcached_server_list.3 memcached_server_list_append.3 memcached_server_list_count.3 memcached_server_list_free.3 memcached_server_push.3 '/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/share/man/man3'
/usr/bin/install -c -m 644 memcached_servers_parse.3 memcached_set.3 memcached_set_by_key.3 memcached_stat.3 memcached_stat_get_keys.3 memcached_stat_get_value.3 memcached_stat_servername.3 memcached_strerror.3 memcached_quit.3 memcached_verbosity.3 memcached_lib_version.3 memcached_version.3 memcached_flush_buffers.3 memcached_dump.3 memcached_generate_hash_value.3 memcached_set_memory_allocators.3 memcached_get_memory_allocators.3 memcached_set_user_data.3 memcached_get_user_data.3 memcached_destroy_sasl_auth_data.3 memcached_get_sasl_callbacks.3 memcached_set_sasl_auth_data.3 memcached_set_sasl_callbacks.3 '/Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/share/man/man3'
Making install in libmemcached
make install-am
/bin/sh ../libtool --tag=CC --mode=compile clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c -o libmemcached_la-memcached_hosts.lo `test -f 'memcached_hosts.c' || echo './'`memcached_hosts.c
libtool: compile: clang -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -D_THREAD_SAFE -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe -pipe -c memcached_hosts.c -o libmemcached_la-memcached_hosts.o
warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option]
memcached_hosts.c:174:21: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
is_auto_ejecting= memcached_behavior_get(ptr, MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
memcached_hosts.c:193:23: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
is_ketama_weighted= memcached_behavior_get(ptr, MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
make[2]: *** [libmemcached_la-memcached_hosts.lo] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/inohiro/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
extconf.rb:63:in `chdir': No such file or directory - /Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/lib (Errno::ENOENT)
from extconf.rb:63:in `check_libmemcached'
from extconf.rb:70:in `<main>'
Gem files will remain installed in /Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5 for inspection.
Results logged to /Users/inohiro/.rvm/gems/ruby-1.9.3-p0/gems/memcached-1.3.5/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment