Hi, Thanks to the excellent instructions at http://code.google.com/p/rdkit/wiki/BuildingWithCmake
which I failed to read before I sent my previous post out I have successfully build rdkit on ubuntu Lucid. Thanks everyone for such great documentation. Hari Here is what I did: -1) Installed boost 1.43.0 as instructed in wiki article :http://code.google.com/p/rdkit/wiki/BuildingWithCmake 0) removed the libboost-all-dev and libbbost-dev version 1.40.0 which I had previoudly installed 1) Start from scratch by cleaning out my build directory 2) set my LD_LIBRARY_PATH to include /usr/local/lib where libboost_python.so, libboost_regex.so were installed and also setup RDBASE to point to the root directory of my build (/home/hari/rdkit/trunk) 3) cmake -DBOOST_ROOT=/usr/local/lib .. 4) Then ran make On Mon, Jun 21, 2010 at 9:06 AM, hari jayaram <[email protected]> wrote: > Hello, > Newbie Alert. I am trying to compile the rdkit svn version 1433 on 64 > bit ununtu Lucid. > I am using the ubuntu supplied boost library , 1.40.0.1. > > The rdkit build completes to 84% and stops with the following error ( > see below). > > I am confused as to how to get the correct version of boost which I am > imagining will fix the problem. I downloaded Release 1.43.0 , but dont > know how to point the rdkit build to this boost library since I am > new to bjam and cmake. > > Any help will be greatly appreciated. > Thanks > Hari > > > [ 82%] Built target rdMolCatalog > Linking CXX shared library libSLNParse.so > /usr/bin/ld: > /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libboost_regex-mt.a(instances.o): > relocation R_X86_64_32 against > `boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, > boost::re_detail::cpp_regex_traits_implementation<char> >>::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, > unsigned long)::s_data' can not be used when making a shared object; > recompile with -fPIC > /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libboost_regex-mt.a: > could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [Code/GraphMol/SLNParse/libSLNParse.so] Error 1 > make[1]: *** [Code/GraphMol/SLNParse/CMakeFiles/SLNParse.dir/all] Error 2 > make: *** [all] Error 2 > > > ~/rdkit/trunk/build$ dpkg --list | grep "boost" > ii libboost-all-dev 1.40.0.1 > Boost C++ Libraries development files (ALL, > ii libboost-date-time1.40-dev 1.40.0-4ubuntu4 > set of date-time libraries based on generic > ii libboost-date-time1.40.0 1.40.0-4ubuntu4 > set of date-time libraries based on generic > ii libboost-dev 1.40.0.1 > Boost C++ Libraries development files (defau > ii libboost-filesystem1.40-dev 1.40.0-4ubuntu4 > filesystem operations (portable paths, itera > ii libboost-filesystem1.40.0 1.40.0-4ubuntu4 > filesystem operations (portable paths, itera > ii libboost-graph1.40-dev 1.40.0-4ubuntu4 > generic graph components and algorithms in C > ii libboost-graph1.40.0 1.40.0-4ubuntu4 > generic graph components and algorithms in C > ii libboost-iostreams1.40-dev 1.40.0-4ubuntu4 > Boost.Iostreams Library development files > ii libboost-iostreams1.40.0 1.40.0-4ubuntu4 > Boost.Iostreams Library > ii libboost-math1.40-dev 1.40.0-4ubuntu4 > Boost.Math Library development files > ii libboost-math1.40.0 1.40.0-4ubuntu4 > Boost.Math Library > ii libboost-program-options1.40-dev 1.40.0-4ubuntu4 > program options library for C++ > ii libboost-program-options1.40.0 1.40.0-4ubuntu4 > program options library for C++ > ii libboost-python1.40-dev 1.40.0-4ubuntu4 > Boost.Python Library development files > ii libboost-python1.40.0 1.40.0-4ubuntu4 > Boost.Python Library > ii libboost-regex-dev 1.40.0.1 > regular expression library for C++ (default > ii libboost-regex1.40-dev 1.40.0-4ubuntu4 > regular expression library for C++ > ii libboost-regex1.40.0 1.40.0-4ubuntu4 > regular expression library for C++ > ii libboost-serialization1.40-dev 1.40.0-4ubuntu4 > serialization library for C++ > ii libboost-serialization1.40.0 1.40.0-4ubuntu4 > serialization library for C++ > ii libboost-signals1.40-dev 1.40.0-4ubuntu4 > managed signals and slots library for C++ > ii libboost-signals1.40.0 1.40.0-4ubuntu4 > managed signals and slots library for C++ > ii libboost-system1.40-dev 1.40.0-4ubuntu4 > Operating system (e.g. diagnostics support) > ii libboost-system1.40.0 1.40.0-4ubuntu4 > Operating system (e.g. diagnostics support) > ii libboost-test1.40-dev 1.40.0-4ubuntu4 > components for writing and executing test su > ii libboost-test1.40.0 1.40.0-4ubuntu4 > components for writing and executing test su > ii libboost-thread1.40-dev 1.40.0-4ubuntu4 > portable C++ multi-threading > ii libboost-thread1.40.0 1.40.0-4ubuntu4 > portable C++ multi-threading > ii libboost-wave1.40-dev 1.40.0-4ubuntu4 > C99/C++ preprocessor library > ii libboost-wave1.40.0 1.40.0-4ubuntu4 > C99/C++ preprocessor library > ii libboost1.40-all-dev 1.40.0-4ubuntu4 > Boost C++ Libraries development files (ALL) > ii libboost1.40-dev 1.40.0-4ubuntu4 > Boost C++ Libraries development files > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

