Hi,
I'm getting build errors with Berkeley DB.
Any ideas?
Thanks in advance.
cmake -DTHRIFT_SOURCE_DIR=$HOME/thrift/lib/php/src -DBDB_INCLUDE_DIR=/usr/local/BekeleyDB.6.0/include -DBDB_LIBRARY=/usr/local/BerkeleyDB.6.0/lib/libdb-6.0.dylib ~/src/hypertable
-- Use thread library:
-- Python Shell Version: Python 2.7.7 :: Anaconda 2.0.1 (x86_64)
-- Found Python-devel: /opt/local/lib/libpython2.7.dylib
-- Looking for required boost libraries...
-- GCC version: Change Dir: /Users/davidlaxer/src/hypertable/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec570990851/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec570990851.dir/build.make CMakeFiles/cmTryCompileExec570990851.dir/build
/opt/local/bin/cmake -E cmake_progress_report /Users/davidlaxer/src/hypertable/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec570990851.dir/CheckBoost.cc.o
/usr/bin/c++ -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -std=c++11 -I/opt/local/include -v -o CMakeFiles/cmTryCompileExec570990851.dir/CheckBoost.cc.o -c /Users/davidlaxer/src/hypertable/cmake/CheckBoost.cc
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name CheckBoost.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -v -coverage-file /Users/davidlaxer/src/hypertable/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp/CMakeFiles/cmTryCompileExec570990851.dir/CheckBoost.cc.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1 -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _REENTRANT -I /opt/local/include -stdlib=libc++ -Wall -pedantic -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/davidlaxer/src/hypertable/CMakeFiles/CMakeTmp/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-slp -o CMakeFiles/cmTryCompileExec570990851.dir/CheckBoost.cc.o -x c++ /Users/davidlaxer/src/hypertable/cmake/CheckBoost.cc
clang -cc1 version 5.1 based upon LLVM 3.4svn default target x86_64-apple-darwin13.3.0
ignoring nonexistent directory "/usr/include/c++/v1"
#include "..." search starts here:
#include <...> search starts here:
/opt/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
Linking CXX executable cmTryCompileExec570990851
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec570990851.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -std=c++11 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec570990851.dir/CheckBoost.cc.o -o cmTryCompileExec570990851
1_55
-- Boost version: 1_55
-- Boost thread lib: /opt/local/lib/libboost_thread-mt.dylib
-- Boost program options lib: /opt/local/lib/libboost_program_options-mt.dylib
-- Boost filesystem lib: /opt/local/lib/libboost_filesystem-mt.dylib
-- Boost iostreams lib: /opt/local/lib/libboost_iostreams-mt.dylib
-- Boost python lib: /opt/local/lib/libboost_python-mt.dylib
-- Boost chrono lib: /opt/local/lib/libboost_chrono-mt.dylib
-- Boost system lib: /opt/local/lib/libboost_system-mt.dylib
-- Boost lib dir: /opt/local/lib
-- Boost libs: /opt/local/lib/libboost_iostreams-mt.dylib;/opt/local/lib/libboost_program_options-mt.dylib;/opt/local/lib/libboost_filesystem-mt.dylib;/opt/local/lib/libboost_thread-mt.dylib;/opt/local/lib/libboost_system-mt.dylib;/opt/local/lib/libboost_chrono-mt.dylib;/opt/local/lib/libboost_python-mt.dylib;/opt/local/lib/libpython2.7.dylib
-- Found BerkeleyDB: /usr/local/BerkeleyDB.6.0/lib/libdb-6.0.dylib
-- Berkeley DB version: 1
CMake Error at cmake/FindBerkeleyDB.cmake:83 (message):
Please fix the Berkeley DB installation, remove CMakeCache.txt and try
again.
Call Stack (most recent call first):
CMakeLists.txt:138 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/davidlaxer/src/hypertable/CMakeFiles/CMakeOutput.log".