Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Created July 2, 2017 20:24
Show Gist options
  • Save ilovezfs/76655b07db888bba145f636ea7abd4da to your computer and use it in GitHub Desktop.
Save ilovezfs/76655b07db888bba145f636ea7abd4da to your computer and use it in GitHub Desktop.
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/upscaledb/2.2.1_5 JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./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 whether make supports nested variables... yes
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
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 whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... none
checking for clang option to accept ISO C99... none needed
checking for clang option to accept ISO Standard C... (cached) none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... none
checking for a sed that does not truncate output... /usr/local/Homebrew/Library/Homebrew/shims/super/sed
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... yes
checking for an ANSI C-conforming const... 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 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 for ar... ar
checking the archiver (ar) interface... ar
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/local/Homebrew/Library/Homebrew/shims/super/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /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 BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin15.6.0 file names to x86_64-apple-darwin15.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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 archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
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 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 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.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
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /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 clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... 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 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for off_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mmap... yes
checking for munmap... yes
checking for madvise... yes
checking for getpagesize... (cached) yes
checking for fdatasync... yes
checking for fsync... yes
checking for writev... yes
checking for pread... yes
checking for pwrite... yes
checking for posix_fadvise... no
checking for usleep... yes
checking for sched_yield... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking whether the compiler supports GCC C++ ABI name demangling... yes
checking for Boost headers version >= 1.53.0... yes
checking for Boost's header version... 1_64
checking for the toolset name used by Boost for clang++... xgcc42 -xgcc
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... yes
checking for boost/system/error_code.hpp... (cached) yes
checking for the Boost system library... (cached) yes
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking for the Boost filesystem library... (cached) yes
checking for the flags needed to use pthreads... conftest.cpp:51:24: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
pthread_attr_init(0); pthread_cleanup_push(0, 0);
~^
conftest.cpp:52:27: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
pthread_create(0,0,0,0); pthread_cleanup_pop(0);
~ ^
conftest.cpp:52:27: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
pthread_create(0,0,0,0); pthread_cleanup_pop(0);
~ ^
3 warnings generated.
-pthread
checking for boost/system/error_code.hpp... (cached) yes
checking for the Boost system library... (cached) yes
checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... (cached) yes
checking for EVP_EncryptInit_ex in -lcrypto... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking snappy.h usability... no
checking snappy.h presence... no
checking for snappy.h... no
grep: /proc/cpuinfo: No such file or directory
grep: /proc/cpuinfo: No such file or directory
checking if google protocol buffers are installed... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/2protobuf/Makefile
config.status: creating src/2protoserde/Makefile
config.status: creating include/Makefile
config.status: creating include/ups/Makefile
config.status: creating samples/Makefile
config.status: creating unittests/Makefile
config.status: creating 3rdparty/Makefile
config.status: creating 3rdparty/json/Makefile
config.status: creating tools/Makefile
config.status: creating tools/ups_bench/Makefile
config.status: creating src/5server/Makefile
config.status: creating java/Makefile
config.status: creating java/java/Makefile
config.status: creating java/src/Makefile
config.status: creating java/unittests/Makefile
config.status: creating 3rdparty/liblzf/Makefile
config.status: creating 3rdparty/murmurhash3/Makefile
config.status: creating 3rdparty/simdcomp/Makefile
config.status: creating 3rdparty/streamvbyte/Makefile
config.status: creating 3rdparty/libfor/Makefile
config.status: creating 3rdparty/libvbyte/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
#================================================================
# Configuring upscaledb version 2.2.1
# Settings: (release) (encryption) (zlib) (no snappy) (no simd-sse4) (no simd-sse2) (java) (remote)
#================================================================
protoc ./messages.proto --cpp_out=.
[libprotobuf WARNING google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: messages.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
protoc ./export.proto --cpp_out=.
clang++ -fPIC -shared -o plugin.so plugin.cc -I../include -I../include -I../src -std=c++11 -DUPS_ENABLE_REMOTE
==> make install
Making install in 3rdparty
Making install in liblzf
CC lzf_c.lo
CC lzf_d.lo
CCLD liblzf.la
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in murmurhash3
CXX MurmurHash3.lo
CXXLD libmurmurhash3.la
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in libfor
CC for.lo
CXXLD libfor.la
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in libvbyte
CXX vbyte.lo
CXXLD libvbyte.la
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in json
CC ConvertUTF.lo
CC JSON_parser.lo
CCLD libjson.la
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in src
Making install in 2protoserde
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in 2protobuf
CXX messages.pb.lo
CXXLD libprotocol.la
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in 5server
CXX upsserver.lo
CXXLD libupsserver.la
make[3]: Nothing to be done for `install-data-am'.
../.././install-sh -c -d '/usr/local/Cellar/upscaledb/2.2.1_5/lib'
/bin/sh ../../libtool --mode=install /usr/bin/install -c libupsserver.la '/usr/local/Cellar/upscaledb/2.2.1_5/lib'
libtool: install: /usr/bin/install -c .libs/libupsserver.0.dylib /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupsserver.0.dylib
libtool: install: (cd /usr/local/Cellar/upscaledb/2.2.1_5/lib && { ln -s -f libupsserver.0.dylib libupsserver.dylib || { rm -f libupsserver.dylib && ln -s libupsserver.0.dylib libupsserver.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libupsserver.lai /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupsserver.la
libtool: install: /usr/bin/install -c .libs/libupsserver.a /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupsserver.a
libtool: install: chmod 644 /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupsserver.a
libtool: install: ranlib /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupsserver.a
CXX 1base/error.lo
CXX 1base/util.lo
CXX 1errorinducer/errorinducer.lo
CXX 1globals/callbacks.lo
CXX 1globals/globals.lo
CXX 1mem/mem.lo
CXX 1os/os.lo
CXX 1os/os_posix.lo
CXX 2compressor/compressor_factory.lo
CXX 2page/page.lo
CXX 3changeset/changeset.lo
CXX 3blob_manager/blob_manager_inmem.lo
CXX 3blob_manager/blob_manager_disk.lo
CXX 3btree/btree_check.lo
CXX 3btree/btree_cursor.lo
CXX 3btree/btree_erase.lo
CXX 3btree/btree_find.lo
CXX 3btree/btree_index.lo
CXX 3btree/btree_insert.lo
CXX 3btree/btree_stats.lo
CXX 3btree/btree_update.lo
CXX 3btree/btree_visit.lo
CXX 3journal/journal.lo
CXX 3page_manager/freelist.lo
CXX 3page_manager/page_manager.lo
CXX 4cursor/cursor_local.lo
CXX 4cursor/cursor_remote.lo
CXX 4db/db.lo
CXX 4db/db_local.lo
CXX 4db/db_remote.lo
CXX 4db/histogram.lo
CXX 4env/env.lo
CXX 4env/env_local.lo
CXX 4env/env_remote.lo
CXX 4txn/txn_cursor.lo
CXX 4txn/txn_local.lo
CXX 4txn/txn_remote.lo
CXX 4uqi/parser.lo
CXX 4uqi/plugins.lo
CXX 4uqi/scanvisitorfactory.lo
CXX 4uqi/uqi.lo
CXX 5upscaledb/upscaledb.lo
CXXLD libupscaledb.la
make[3]: Nothing to be done for `install-data-am'.
.././install-sh -c -d '/usr/local/Cellar/upscaledb/2.2.1_5/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c libupscaledb.la '/usr/local/Cellar/upscaledb/2.2.1_5/lib'
libtool: install: /usr/bin/install -c .libs/libupscaledb.0.dylib /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupscaledb.0.dylib
libtool: install: (cd /usr/local/Cellar/upscaledb/2.2.1_5/lib && { ln -s -f libupscaledb.0.dylib libupscaledb.dylib || { rm -f libupscaledb.dylib && ln -s libupscaledb.0.dylib libupscaledb.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libupscaledb.lai /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupscaledb.la
libtool: install: /usr/bin/install -c .libs/libupscaledb.a /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupscaledb.a
libtool: install: chmod 644 /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupscaledb.a
libtool: install: ranlib /usr/local/Cellar/upscaledb/2.2.1_5/lib/libupscaledb.a
Making install in include
Making install in ups
make[3]: Nothing to be done for `install-exec-am'.
../.././install-sh -c -d '/usr/local/Cellar/upscaledb/2.2.1_5/include/ups'
/usr/bin/install -c -m 644 upscaledb.h upscaledb_int.h upscaledb_srv.h upscaledb_uqi.h types.h msstdint.h upscaledb.hpp '/usr/local/Cellar/upscaledb/2.2.1_5/include/ups'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in samples
CC db1.o
CC db2.o
CC db3.o
CC db4.o
CC db5.o
CXX db6.o
CC env1.o
CC env2.o
CXX env3.o
CC uqi1.o
CC uqi2.o
CC server1.o
CC client1.o
CCLD db1
CCLD db2
CCLD db3
CCLD db4
CCLD db5
CCLD env1
CCLD env2
CCLD uqi1
CCLD uqi2
CCLD server1
CCLD client1
CXXLD db6
CXXLD env3
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in tools
Making install in ups_bench
CXX berkeleydb.o
CXX database.o
CXX generator_parser.o
CXX generator_runtime.o
CXX getopts.o
CC common.o
CXX upscaledb.o
CXX main.o
CXXLD ups_bench
Undefined symbols for architecture x86_64:
"_masked_vbyte_decode", referenced from:
_vbyte_uncompress_unsorted32 in libupscaledb.a(vbyte.o)
"_masked_vbyte_decode_delta", referenced from:
_vbyte_uncompress_sorted32 in libupscaledb.a(vbyte.o)
"_masked_vbyte_search_delta", referenced from:
_vbyte_search_lower_bound_sorted32 in libupscaledb.a(vbyte.o)
"_masked_vbyte_select_delta", referenced from:
_vbyte_select_sorted32 in libupscaledb.a(vbyte.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ups_bench] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment