Hi Christos,

Thanks for your help.

I tried what you said but I got an error with boost.

I think the problem came from here...

I use Canopy environment, it is like Anaconda which include Numpy and  
it is detected when I did ./bootstrap.sh

[root@eric-pc boost_1_55_0]# ./bootstrap.sh --with-libraries=python,regex
Building Boost.Build engine with toolset gcc...  
tools/build/v2/engine/bin.linuxx86_64/b2
Detecting Python version... 2.7
Detecting Python root... /root/Enthought/Canopy_64bit/User
Unicode/ICU support for Boost.Regex?... not found.
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

     ./b2

To adjust configuration, edit 'project-config.jam'.
Further information:

    - Command line help:
      ./b2 --help

    - Getting started guide:
      http://www.boost.org/more/getting_started/unix-variants.html

    - Boost.Build documentation:
      http://www.boost.org/boost-build2/doc/html/index.html

[root@eric-pc boost_1_55_0]#

But, when I performed ./b2 address-model=64 cflags=-fPIC  
cxxflags=-fPIC Install I got errors of compilation with gcc (I use gcc  
(GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)) and should be ok (miminum  
required gcc 3.3:

...failed gcc.compile.c++  
bin.v2/libs/python/build/gcc-4.1.2/release/address-model-64/link-static/threading-multi/object/function_doc_signature.o...
...skipped  
<pbin.v2/libs/python/build/gcc-4.1.2/release/address-model-64/link-static/threading-multi>libboost_python.a(clean)
 for lack of  
<pbin.v2/libs/python/build/gcc-4.1.2/release/address-model-64/link-static/threading-multi>numeric.o...
...skipped  
<pbin.v2/libs/python/build/gcc-4.1.2/release/address-model-64/link-static/threading-multi>libboost_python.a
 for lack of  
<pbin.v2/libs/python/build/gcc-4.1.2/release/address-model-64/link-static/threading-multi>numeric.o...
...skipped <p/usr/local/lib>libboost_python.a for lack of  
<pbin.v2/libs/python/build/gcc-4.1.2/release/address-model-64/link-static/threading-multi>libboost_python.a...
common.copy /usr/local/lib/libboost_regex.a
...failed updating 56 targets...
...skipped 6 targets...
...updated 3 targets...


Regards,

Enrico



Quoting Christos Kannas <chriskan...@gmail.com>:

> Hi Enrico,
>
> The latest version of RDKit does not require flex or bison, thankfully.
>
> In the attached file I list the commands that I used to build CMake
> (2.8.12.2), Boost libraries (1.55) and RDKit (2014_03_1) on a CentOS 5.10
> VM.
> In my case I was using an Anaconda Python environment so I didn't have to
> install NumPy, since it is bundled to it.
>
> Best,
>
> Christos
>
> Christos Kannas
>
> Researcher
> Ph.D Student
>
> Mob (UK): +44 (0) 7447700937
> Mob (Cyprus): +357 99530608
>
> [image: View Christos Kannas's profile on LinkedIn]
> <http://cy.linkedin.com/in/christoskannas>
>
>
> On 24 July 2014 10:05, Enrico Perspicace <e.perspic...@mx.uni-saarland.de>
> wrote:
>
>>
>> Dear all,
>>
>> I would like to install RDKit 2014 on Centos 5.10 (Final) but I did not
>> succeed!
>>
>> I follow Instructions for Installation on RDKIT website but I got an error
>> when I used cmake command line...
>>
>> Indeed, cmake is not able to find boost_python library.
>>
>> I installed: Python 2.7, atlas, lapack, blas, fftw3, numpy 1.8 via canopy
>> 1.4.1 (and is working with python import numpy), boost 1.55, flex 2.5.35
>> and bison 3.0.2 before performing the RDKit installation.
>>
>> I followed the procedure described here: https://www.mail-archive.com/
>> rdkit-discuss@lists.sourceforge.net/msg01376.html
>>
>> Please find in attached document related files which describe my problem.
>>
>> Thanks a lot for you help.
>>
>> Best regards,
>>
>> Enrico Perspicace
>>
>>
>> ------------------------------------------------------------------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> _______________________________________________
>> Rdkit-discuss mailing list
>> Rdkit-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>>
>>




------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to