HI Markus, On Mon, Nov 15, 2010 at 9:51 AM, Markus Kossner <[email protected]> wrote: > Hi Greg, > I have tried to install the latest RDKit on a freshly installed Ubuntu > 10.10. > After installing python-dev, sqlite3, numpy, bison, flex AND THE BOOST > LIBRARIES VIA APT (boost 1.42), I additionally installed boost 1.4.2 in > /opt/boost_1_42_0. > During the cmake step flex and bison were found in /usr/lib. Several > Warnings were issued during the "cmake -DBOOST_ROOT=/opt/boost_1_42_0 > .." -step. > Obviously the system built boost installation was erroneously used (?is > this the problem if the versions of boost are the same?).
Should be no problem. In fact, if the system boost is the version you want, then you shouldn't need to install your own at all. > When doing the "make" the following error occurs: > > -----snip---------------- > [ 34%] Building CXX object > Code/GraphMol/CMakeFiles/GraphMol.dir/RingInfo.cpp.o > [ 34%] Building CXX object > Code/GraphMol/CMakeFiles/GraphMol.dir/Conformer.cpp.o > Linking CXX shared library ../../lib/libGraphMol.so > [ 34%] Built target GraphMol > [ 34%] [FLEX][SmartsL] Building scanner with flex /usr/bin/flex version > 2.5.4 > "smarts.ll", line 1: unrecognized %option: reentrant > "smarts.ll", line 2: unrecognized %option: bison-bridge > make[2]: *** [../Code/GraphMol/SmilesParse/lex.yysmarts.cpp] Error 1 > make[1]: *** [Code/GraphMol/SmilesParse/CMakeFiles/SmilesParse.dir/all] > Error 2 > make: *** [all] Error 2 > -----snip---------------- This is almost definitely due to an older version of flex. There's some info here: http://www.mail-archive.com/[email protected]/msg01079.html >From what I can tell about Ubuntu 10.10, you should have a more recent version of flex available... did you install the flex-old package? Best Regards, -greg ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

