Created
September 5, 2014 15:13
-
-
Save adamyonk/f8ef142099cad8345573 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➔ gem install zookeeper -v '1.4.6' | |
Building native extensions. This could take a while... | |
ERROR: Error installing zookeeper: | |
ERROR: Failed to build gem native extension. | |
/Users/adamyonk/.rubies/2.1.2/bin/ruby extconf.rb | |
Building zkc. | |
tar xzf zkc-3.4.5.tar.gz 2>&1 | |
patch -p0 < patches/zkc-3.4.5-logging.patch 2>&1 | |
patching file zkc-3.4.5/c/src/zookeeper.c | |
./configure --prefix=/Users/adamyonk/.gem/ruby/2.1.2/gems/zookeeper-1.4.6/ext --with-pic --without-cppunit --disable-dependency-tracking 2>&1 | |
checking for doxygen... no | |
checking for perl... /usr/bin/perl | |
checking for dot... no | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk | |
checking whether make sets $(MAKE)... yes | |
checking for generated/zookeeper.jute.c... yes | |
checking for generated/zookeeper.jute.h... yes | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no | |
checking for suffix of executables... | |
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 ANSI C... none needed | |
checking for style of include used by make... GNU | |
checking dependency style of gcc... none | |
checking whether gcc and cc understand -c and -o together... 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 a BSD-compatible install... /usr/bin/install -c | |
checking whether ln -s works... yes | |
checking build system type... i686-apple-darwin14.0.0 | |
checking host system type... i686-apple-darwin14.0.0 | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for egrep... grep -E | |
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | |
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no | |
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r | |
checking for BSD-compatible nm... /usr/bin/nm | |
checking how to recognise dependent libraries... pass_all | |
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes | |
checking dlfcn.h presence... yes | |
checking for dlfcn.h... yes | |
checking how to run the C++ preprocessor... g++ -E | |
checking for g77... no | |
checking for f77... no | |
checking for xlf... no | |
checking for frt... no | |
checking for pgf77... no | |
checking for fort77... no | |
checking for fl32... no | |
checking for af77... no | |
checking for f90... no | |
checking for xlf90... no | |
checking for pgf90... no | |
checking for epcf90... no | |
checking for f95... no | |
checking for fort... no | |
checking for xlf95... no | |
checking for ifc... no | |
checking for efc... no | |
checking for pgf95... no | |
checking for lf95... no | |
checking for gfortran... no | |
checking whether we are using the GNU Fortran 77 compiler... no | |
checking whether accepts -g... no | |
checking the maximum length of command line arguments... 196608 | |
checking command to parse /usr/bin/nm output from gcc object... rm: conftest.dSYM: is a directory | |
rm: conftest.dSYM: is a directory | |
rm: conftest.dSYM: is a directory | |
rm: conftest.dSYM: is a directory | |
ok | |
checking for objdir... .libs | |
checking for ar... ar | |
checking for ranlib... ranlib | |
checking for strip... strip | |
rm: conftest.dSYM: is a directory | |
rm: conftest.dSYM: is a directory | |
checking if gcc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a directory | |
yes | |
checking for gcc option to produce PIC... -fno-common | |
checking if gcc PIC flag -fno-common works... rm: conftest.dSYM: is a directory | |
yes | |
checking if gcc static flag -static works... rm: conftest.dSYM: is a directory | |
no | |
checking if gcc supports -c -o file.o... rm: conftest.dSYM: is a directory | |
yes | |
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin14.0.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... yes | |
checking whether to build static libraries... yes | |
configure: creating libtool | |
appending configuration tag "CXX" to libtool | |
rm: conftest.dSYM: is a directory | |
rm: conftest.dSYM: is a directory | |
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld | |
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no | |
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes | |
checking for g++ option to produce PIC... -fno-common | |
checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a directory | |
yes | |
checking if g++ static flag -static works... rm: conftest.dSYM: is a directory | |
no | |
checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory | |
yes | |
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin14.0.0 dyld | |
checking how to hardcode library paths into programs... immediate | |
appending configuration tag "F77" to libtool | |
checking for pthread_mutex_lock in -lpthread... yes | |
configure: building with SyncAPI support | |
checking for ANSI C header files... (cached) yes | |
checking arpa/inet.h usability... yes | |
checking arpa/inet.h presence... yes | |
checking for arpa/inet.h... yes | |
checking fcntl.h usability... yes | |
checking fcntl.h presence... yes | |
checking for fcntl.h... yes | |
checking netdb.h usability... yes | |
checking netdb.h presence... yes | |
checking for netdb.h... yes | |
checking netinet/in.h usability... yes | |
checking netinet/in.h presence... yes | |
checking for netinet/in.h... yes | |
checking for stdlib.h... (cached) yes | |
checking for string.h... (cached) yes | |
checking sys/socket.h usability... yes | |
checking sys/socket.h presence... yes | |
checking for sys/socket.h... yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking for unistd.h... (cached) yes | |
checking sys/utsname.h usability... yes | |
checking sys/utsname.h presence... yes | |
checking for sys/utsname.h... yes | |
checking for an ANSI C-conforming const... yes | |
checking for inline... inline | |
checking whether time.h and sys/time.h may both be included... yes | |
checking for nfds_t... yes | |
checking whether to enable ipv6... yes | |
checking for getcwd... yes | |
checking for gethostbyname... yes | |
checking for gethostname... yes | |
checking for getlogin... yes | |
checking for getpwuid_r... yes | |
checking for gettimeofday... yes | |
checking for getuid... yes | |
checking for memmove... yes | |
checking for memset... yes | |
checking for poll... yes | |
checking for socket... yes | |
checking for strchr... yes | |
checking for strdup... yes | |
checking for strerror... yes | |
checking for strtol... yes | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating config.h | |
config.status: executing depfiles commands | |
make 2>&1 | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am | |
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -c -o zookeeper.lo `test -f 'src/zookeeper.c' || echo './'`src/zookeeper.c | |
mkdir .libs | |
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -c src/zookeeper.c -fno-common -DPIC -o .libs/zookeeper.o | |
In file included from src/zookeeper.c:27: | |
In file included from ./include/zookeeper.h:34: | |
./include/recordio.h:76:9: error: expected ')' | |
int64_t htonll(int64_t v); | |
^ | |
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll' | |
#define htonll(x) __DARWIN_OSSwapInt64(x) | |
^ | |
/usr/include/libkern/_OSByteOrder.h:78:30: note: expanded from macro '__DARWIN_OSSwapInt64' | |
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x)) | |
^ | |
./include/recordio.h:76:9: note: to match this '(' | |
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll' | |
#define htonll(x) __DARWIN_OSSwapInt64(x) | |
^ | |
/usr/include/libkern/_OSByteOrder.h:78:5: note: expanded from macro '__DARWIN_OSSwapInt64' | |
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x)) | |
^ | |
In file included from src/zookeeper.c:27: | |
In file included from ./include/zookeeper.h:34: | |
./include/recordio.h:76:9: error: conflicting types for '__builtin_constant_p' | |
int64_t htonll(int64_t v); | |
^ | |
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll' | |
#define htonll(x) __DARWIN_OSSwapInt64(x) | |
^ | |
/usr/include/libkern/_OSByteOrder.h:78:6: note: expanded from macro '__DARWIN_OSSwapInt64' | |
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x)) | |
^ | |
./include/recordio.h:76:9: note: '__builtin_constant_p' is a builtin with type 'int ()' | |
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll' | |
#define htonll(x) __DARWIN_OSSwapInt64(x) | |
^ | |
/usr/include/libkern/_OSByteOrder.h:78:6: note: expanded from macro '__DARWIN_OSSwapInt64' | |
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x)) | |
^ | |
2 errors generated. | |
make[1]: *** [zookeeper.lo] Error 1 | |
make: *** [all] Error 2 | |
*** 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/adamyonk/.rubies/2.1.2/bin/ruby | |
extconf.rb:51:in `safe_sh': command failed! make 2>&1 (RuntimeError) | |
from extconf.rb:76:in `block (2 levels) in <main>' | |
from extconf.rb:71:in `chdir' | |
from extconf.rb:71:in `block in <main>' | |
from extconf.rb:55:in `chdir' | |
from extconf.rb:55:in `<main>' | |
extconf failed, exit code 1 | |
Gem files will remain installed in /Users/adamyonk/.gem/ruby/2.1.2/gems/zookeeper-1.4.6 for inspection. | |
Results logged to /Users/adamyonk/.gem/ruby/2.1.2/extensions/x86_64-darwin-13/2.1.0-static/zookeeper-1.4.6/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment