Created
July 3, 2014 14:51
-
-
Save code-later/6aa45a7576817a536abd to your computer and use it in GitHub Desktop.
Problems with building ArangoDB 2.2 on OS X 10.9
This file contains hidden or 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
make clean | |
make setup | |
./configure --enable-all-in-one-v8 --enable-all-in-one-libev --enable-all-in-one-icu --enable-relative --enable-maintainer-mode --with-bison=/usr/local/Cellar/bison/3.0.2/bin/bison | |
make -j4 |
This file contains hidden or 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
configure: configure started in '/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB | |
configure: with CPPFLAGS='' | |
configure: with CFLAGS='' | |
configure: with CXXFLAGS='' | |
configure: with LDFLAGS='' | |
configure: ................................................................................ | |
configure: CHECKING BUILD SYSTEM | |
configure: ................................................................................ | |
checking build system type... x86_64-apple-darwin13.3.0 | |
checking host system type... x86_64-apple-darwin13.3.0 | |
checking target system type... x86_64-apple-darwin13.3.0 | |
checking for a BSD-compatible install... /usr/local/bin/ginstall -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports nested variables... yes | |
checking whether make supports nested variables... (cached) yes | |
configure: ................................................................................ | |
configure: CHECKING C/C++ COMPILER AND LINKER | |
configure: ................................................................................ | |
checking for style of include used by make... GNU | |
checking for g++... g++ | |
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 g++ accepts -g... yes | |
checking dependency style of g++... gcc3 | |
checking how to run the C++ preprocessor... g++ -E | |
checking for gcc... gcc | |
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 dependency style of gcc... gcc3 | |
checking whether we are using the GNU C++ compiler... (cached) yes | |
checking whether g++ accepts -g... (cached) yes | |
checking dependency style of g++... (cached) gcc3 | |
checking how to run the C preprocessor... gcc -E | |
checking whether ln -s works... yes | |
checking whether make sets $(MAKE)... (cached) yes | |
checking whether g++ supports C++11 features by default... no | |
checking whether g++ supports C++11 features with -std=c++11... yes | |
checking -Wstrict-null-sentinel for g++... no | |
checking -Qunused-arguments for g++... yes | |
checking -std=gnu90 for gcc... yes | |
checking -std=c++11 for g++... yes | |
checking for ranlib... ranlib | |
checking for special C compiler options needed for large files... no | |
checking for _FILE_OFFSET_BITS value needed for large files... no | |
configure: ................................................................................ | |
configure: CHECKING FOR PTHREADS | |
configure: ................................................................................ | |
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 broken __cxa_guard... no | |
configure: ................................................................................ | |
configure: CHECKING FOR DOCUMENTATION UTILS | |
configure: ................................................................................ | |
checking for dot... /usr/local/bin/dot | |
checking for markdown... no | |
checking for html2text... no | |
checking whether to enable maintainer-specific portions of Makefiles... yes | |
configure: ................................................................................ | |
configure: CHECKING BISON | |
configure: ................................................................................ | |
checking if bison supports required features... yes | |
checking BISON version... bison (GNU Bison) 3.0.2 | |
configure: ................................................................................ | |
configure: CHECKING FLEX | |
configure: ................................................................................ | |
checking for flex... flex | |
checking lex output file root... lex.yy | |
checking lex library... none needed | |
checking whether yytext is a pointer... no | |
checking if flex supports required features... yes | |
checking FLEX version... flex 2.5.35 Apple(flex-31) | |
configure: -------------------------------------------------------------------------------- | |
configure: CHECKING FOR MATH | |
configure: -------------------------------------------------------------------------------- | |
checking for sincos in -lm... no | |
configure: -------------------------------------------------------------------------------- | |
configure: CHECKING FOR READLINE | |
configure: -------------------------------------------------------------------------------- | |
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... 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 readline/readline.h usability... yes | |
checking readline/readline.h presence... yes | |
checking for readline/readline.h... yes | |
checking for readline in -lreadline... yes | |
checking READLINE support... readline | |
checking READLINE version... 0x0402.hex | |
configure: -------------------------------------------------------------------------------- | |
configure: CHECKING FOR OPENSSL | |
configure: -------------------------------------------------------------------------------- | |
checking openssl/ssl.h usability... yes | |
checking openssl/ssl.h presence... yes | |
checking for openssl/ssl.h... yes | |
checking for CRYPTO_get_ex_data in -lcrypto... yes | |
checking for SSL_get_error in -lssl... yes | |
checking return type of SSLv23_method... SSL_METHOD* | |
checking OPENSSL version... "OpenSSL 1.0.1h 5 Jun 2014" | |
checking that generated files are newer than configure... done | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating Documentation/arango.template | |
config.status: creating Installation/MacOSX/Bundle/Info.plist | |
config.status: creating config/config.h | |
config.status: config/config.h is unchanged | |
config.status: creating lib/BasicsC/local-configuration.h | |
config.status: lib/BasicsC/local-configuration.h is unchanged | |
config.status: executing depfiles commands | |
configure: -------------------------------------------------------------------------------- | |
configure: BISON: bison (GNU Bison) 3.0.2 | |
configure: DOT support: enabled (/usr/local/bin/dot) | |
configure: FIGURES: enabled | |
configure: FLEX: flex 2.5.35 Apple(flex-31) | |
configure: HTML2TEXT support: disabled | |
configure: LOGGER: enabled | |
configure: MARKDOWN support: disabled | |
configure: RELATIVE PATHS: enabled | |
configure: TIMING: enabled | |
configure: -------------------------------------------------------------------------------- | |
configure: READLINE VERSION: 0x0402.hex | |
configure: READLINE_CPPFLAGS: -DTRI_READLINE_VERSION='"0x0402.hex"' | |
configure: READLINE_LDLIBS: | |
configure: READLINE_LIBS: -lreadline | |
configure: . | |
configure: OPENSSL VERSION: "OpenSSL 1.0.1h 5 Jun 2014" | |
configure: OPENSSL_CPPFLAGS: -DTRI_OPENSSL_VERSION='"OpenSSL 1.0.1h 5 Jun 2014"' | |
configure: OPENSSL_LDFLAGS: | |
configure: OPENSSL_LIBS: -lssl -lcrypto | |
configure: . | |
configure: ZLIB: 3rdParty version | |
configure: ZLIB VERSION: 1.2.7 | |
configure: ZLIB_CPPFLAGS: | |
configure: ZLIB_LDFLAGS: | |
configure: ZLIB_LIBS: ./3rdParty/zlib-1.2.7/libz.a | |
configure: . | |
configure: LIBEV: 3rdParty version | |
configure: LIBEV VERSION: 4.11 | |
configure: LIBEV_CPPFLAGS: -I./3rdParty/libev -DTRI_LIBEV_VERSION='"4.11"' | |
configure: LIBEV_LDFLAGS: | |
configure: LIBEV_LIBS: ./3rdParty/libev/BUILD/.libs/libev.a | |
configure: . | |
configure: MRUBY: disabled | |
configure: . | |
configure: V8: 3rdParty version | |
configure: V8 VERSION: 3.16.14 | |
configure: V8_TARGET: x64.release | |
configure: V8_CPPFLAGS: -I./3rdParty/V8/include -DTRI_V8_VERSION='"3.16.14"' | |
configure: V8_LDFLAGS: | |
configure: V8_LIBS: ./3rdParty/V8/out/x64.release/libv8_base.a ./3rdParty/V8/out/x64.release/libv8_nosnapshot.a | |
configure: . | |
configure: ICU: 3rdParty version | |
configure: ICU VERSION: 52.1 | |
configure: ICU_CPPFLAGS: -D_REENTRANT -I./3rdParty/icu/BUILD/include -DTRI_ICU_VERSION='"52.1"' | |
configure: ICU_LDFLAGS: | |
configure: ICU_LIBS: -ldl -lm ./3rdParty/icu/BUILD/libs/libicui18n.a ./3rdParty/icu/BUILD/libs/libicuuc.a ./3rdParty/icu/BUILD/libs/libicudata.a -ldl -lm | |
configure: -------------------------------------------------------------------------------- | |
configure: REPOSITORY VERSION: heads/devel-0-gd3491a88fb6bf18c9e1dadebe0435adf383db746-dirty | |
configure: BITS: 64 | |
configure: CPPFLAGS: -DTRI_BITS=64 -DHAVE_READLINE=1 | |
configure: CFLAGS: -std=gnu90 -g -O2 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wno-deprecated-declarations -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -D_THREAD_SAFE | |
configure: CXXFLAGS: -std=c++11 -g -O2 -std=c++11 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wno-deprecated-declarations -Woverloaded-virtual -Qunused-arguments -D_THREAD_SAFE | |
configure: LDFLAGS: -D_THREAD_SAFE | |
configure: LIBS: | |
configure: -------------------------------------------------------------------------------- |
This file contains hidden or 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
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arango-dfdb.conf.in > etc/arangodb/arango-dfdb.conf | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arangob.conf.in > etc/arangodb/arangob.conf | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arangod.conf.in > etc/arangodb/arangod.conf | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arangodump.conf.in > etc/arangodb/arangodump.conf | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arangoimp.conf.in > etc/arangodb/arangoimp.conf | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arangoirb.conf.in > etc/arangodb/arangoirb.conf | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arangorestore.conf.in > etc/arangodb/arangorestore.conf | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/arangosh.conf.in > etc/arangodb/arangosh.conf | |
./config/build_errorfile.sh ./config/generateErrorfile.py lib/BasicsC/errors.dat js/common/bootstrap/errors.js | |
./config/build_mimetypes.sh ./config/generateMimetypes.py lib/BasicsC/mimetypes.dat js/common/modules/org/arangodb/mimetypes.js | |
sed \ | |
-e 's%@LIBEXECDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@SBINDIR@%/Users/dbreuer/Documents/Work/GalaxyCats/projects/ArangoDB/arangoDB/bin%g' \ | |
-e 's%@LOCALSTATEDIR@%.%g' \ | |
-e 's%@PKGDATADIR@%.%g' \ | |
-e 's%@SYSCONFDIR@%etc/relative%g' \ | |
-e 's%@PROGRAM_SUFFIX@%%g' \ | |
etc/arangodb/foxx-manager.conf.in > etc/arangodb/foxx-manager.conf | |
./utils/bison-c.sh /usr/local/Cellar/bison/3.0.2/bin/bison arangod/Ahuacatl/ahuacatl-grammar.c arangod/Ahuacatl/ahuacatl-grammar.y | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am | |
CC lib/BasicsC/lib_libarango_a-xxhash.o | |
CXX lib/Rest/lib_libarango_a-InitialiseRest.o | |
CXX lib/Rest/lib_libarango_a-SslInterface.o | |
CXX lib/Rest/lib_libarango_a-Version.o | |
CXX lib/ShapedJson/lib_libarango_a-Legends.o | |
CXX lib/ShapedJson/lib_libarango_a-json-shaper.o | |
lib/Rest/InitialiseRest.cpp:62:5: error: no matching function for call to 'CRYPTO_THREADID_set_numeric' | |
CRYPTO_THREADID_set_numeric(id, pthread_self()); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/openssl/crypto.h:435:6: note: candidate function not viable: no known conversion from 'pthread_t' (aka '_opaque_pthread_t *') to 'unsigned long' for 2nd argument | |
void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id, unsigned long val); | |
^ | |
1 error generated. | |
make[1]: *** [lib/Rest/lib_libarango_a-InitialiseRest.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment