Hi,
I tried to build hypertable from git on snow leopard(10.6.4) .
I followed the instructions on wiki installed the required libs. But
it was breaking while building HyperRanger as it was unable to find
RRD symbols ( pasted below make output) . After looking closely at
cmake
"-- /opt/local/lib/librrd.dylib /opt/local/include /opt/local/lib/
libfreetype.dylib /opt/local/lib/libpng12.dylib ART_LGPL_2_LIBRARY-
NOTFOUND
-- RRDtool version: 1.3.8"
libart_lgpl library was missing as port install rrdtool didn't fetch
libart. It would be nice if the build failed early when libart_lgpl
wasn't found.
installing libart_lgpl "port install libart_lgpl" fixed the issue.
Thanks,
Harsha
Below is the output of make where its failing
[ 89%] Building CXX object src/cc/Hypertable/RangeServer/CMakeFiles/
HyperRanger.dir/TimerHandler.cc.o
Linking CXX static library libHyperRanger.a
[ 89%] Built target HyperRanger
make: *** [all] Error 2
VERBOSE output
/usr/bin/c++ -g -Wl,-search_paths_first -headerpad_max_install_names
-fPIC CMakeFiles/Hypertable.Master.dir/ConnectionHandler.cc.o
CMakeFiles/Hypertable.Master.dir/DispatchHandlerDropTable.cc.o
CMakeFiles/Hypertable.Master.dir/DispatchHandlerUpdateSchema.cc.o
CMakeFiles/Hypertable.Master.dir/DispatchHandlerGetStatistics.cc.o
CMakeFiles/Hypertable.Master.dir/EventHandlerServerJoined.cc.o
CMakeFiles/Hypertable.Master.dir/EventHandlerServerLeft.cc.o
CMakeFiles/Hypertable.Master.dir/Master.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerCreateTable.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerAlterTable.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerDropTable.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerDoMaintenance.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerGetSchema.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerStatus.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerRegisterServer.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerReportSplit.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerClose.cc.o CMakeFiles/
Hypertable.Master.dir/RequestHandlerShutdown.cc.o CMakeFiles/
Hypertable.Master.dir/ResponseCallbackGetSchema.cc.o CMakeFiles/
Hypertable.Master.dir/ResponseCallbackRegisterServer.cc.o CMakeFiles/
Hypertable.Master.dir/ServerLockFileHandler.cc.o CMakeFiles/
Hypertable.Master.dir/ServersDirectoryHandler.cc.o CMakeFiles/
Hypertable.Master.dir/MasterGc.cc.o CMakeFiles/Hypertable.Master.dir/
main.cc.o -o Hypertable.Master ../../Hyperspace/libHyperspace.a ../
Lib/libHypertable.a ../../DfsBroker/Lib/libHyperDfsBroker.a ../../
Hyperspace/libHyperspace.a /usr/local/BerkeleyDB.4.8/lib/
libdb_cxx.dylib ../../Tools/Lib/libHyperTools.a ../../AsyncComm/
libHyperComm.a ../../Common/libHyperCommon.a /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/liblog4cpp.dylib /usr/lib/libreadline.dylib /usr/lib/
libncurses.dylib /usr/lib/libz.dylib /opt/local/lib/libsigar-
universal64-macosx.dylib /usr/lib/libncurses.dylib /usr/lib/
libz.dylib /opt/local/lib/libsigar-universal64-macosx.dylib -lpthread /
usr/lib/libexpat.dylib
Undefined symbols:
"_rrd_create", referenced from:
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
"_rrd_test_error", referenced from:
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
"_rrd_update", referenced from:
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
"_rrd_get_error", referenced from:
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
"_rrd_clear_error", referenced from:
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
Hypertable::RangeServerStatsV0::dump_rrd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libHypertable.a(StatsV0.cc.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [src/cc/Hypertable/Master/Hypertable.Master] Error 1
make[1]: *** [src/cc/Hypertable/Master/CMakeFiles/
Hypertable.Master.dir/all] Error 2
make: *** [all] Error 2
--
You received this message because you are subscribed to the Google Groups
"Hypertable Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hypertable-dev?hl=en.