The attached diff contains a set of changes to get the v2012.09 release working on an Ubuntu 10.04 system with boost 1.40. This is pretty much what you guys have already come to, but also includes a modification to get the java wrappers to build.
These changes have already been made in the svn version of the RDKit, so the next release shouldn't have these problems. Thanks for pointing this out, -greg On Fri, Nov 16, 2012 at 2:22 PM, Jan Holst Jensen <[email protected]> wrote: > Hi Riccardo, > > On 2012-11-16 13:29, Riccardo Vianello wrote: >> Hi Jan, >> >> On Fri, Nov 16, 2012 at 11:54 AM, Jan Holst Jensen >> <[email protected]> wrote: >>> [...] >>> ../../lib/libSmilesParse.so.1.2012.09.1: undefined reference to >>> `boost::thread_resource_error::~thread_resource_error()' >>> collect2: ld returned 1 exit status >>> make[2]: *** [Code/GraphMol/graphmolIterTest] Error 1 >>> make[1]: *** [Code/GraphMol/CMakeFiles/graphmolIterTest.dir/all] Error 2 >>> make: *** [all] Error 2 >> I encontered a similar link problem in building rdkit on an oldish >> linux x86_64 machine with boost 1.39 (that, according to the cmake >> build files, is the minimum required version), but I couldn't yet find >> the time to investigate the details. For the time being I worked >> around it with the addition of >> >> find_package(Boost 1.39.0 COMPONENTS thread REQUIRED) >> >> in $RDBASE/CMakeLists.txt (after the assignment of >> Boost_ADDITIONAL_VERSIONS and before "if(RDK_BUILD_PYTHON_WRAPPERS)") >> and with the addition of ${Boost_THREAD_LIBRARY} to the GraphMol's >> LINK_LIBRARIES in $RDBASE/Code/GraphMol/CMakeLists.txt > > Excellent! I added such a line to $RDBASE/CMakeLists.txt: > > if(MSVC) > SET(Boost_ADDITIONAL_VERSIONS "1.48""1.48.0" "1.45" "1.45.0" > "1.44" "1.44.0" "1.43" "1.43.0" "1.42" "1.42.0" "1.41" "1.41.0" "1.40" > "1.40.0") > endif(MSVC) > > + find_package(Boost 1.40.0 COMPONENTS thread REQUIRED) > > if(RDK_BUILD_PYTHON_WRAPPERS) > #------- > > > and added "${Boost_THREAD_LIBRARY}" after each occurrence of > LINK_LIBRARIES in $RDBASE/Code/GraphMol/CMakeLists.txt. I now have a > build of 2012_09_1 that passes all tests. Thanks :-) !! > > Cheers > -- Jan > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Rdkit-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
RDKit.2012_09_1.diff
Description: Binary data
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

