Hi Mattie,

On Wed, Sep 10, 2014 at 12:13 AM, Whitmore, Mattie [USA] <
[email protected]> wrote:

>  Dear All,
>
>  I am building RDKit with java wrappers using the following code:
>
>  cmake -D BOOST_ROOT=/usr/local -D
> PYTHON_LIBRARY=/usr/local/lib/python2.7/config/libpython2.7.a -D
> PYTHON_INCLUDE_PATH=/usr/local/include/python2.7/ -D
> PYTHON_EXECUTABLE=/usr/local/bin/python2.7 -D RDK_BUILD_SWIG_WRAPPERS=ON ..
>
>  and I am getting the error:
>
> make[2]: *** [Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx] Error
> 1
>
> make[1]: *** [Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/all]
> Error 2
>
> make: *** [all] Error 2
>
>
> This is not quite enough information to diagnose the problem. Can you
please send the lines above that where the nature of the error is reported?
It would also be helpful to know what operating system you are using.


>  I noticed others getting this error as well, so I'm trying to upgrade to
> boost 1.46.1 I realize this is not exactally the correct mailing list for
> this, but I am still running into issues with the proper make commands.  I
> have run
>
>
>  ./bootstrap.sh  -with-libraries=python -with-python=Python2.7
> -with-toolset=gcc
>
> ./bjam  -a --layout=tagged -q
>
>
>  libs/python/src/numeric.cpp:22: warning:
> ‘boost::python::numeric::<unnamed>::array_module’ defined but not used
>
>
>      "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
> -pthread  -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE
> -DBOOST_PYTHON_STATIC_LIB -DNDEBUG  -I"." -I"/usr/include/python2.6" -c -o
> "bin.v2/libs/python/build/gcc-4.4.7/release/link-static/threading-multi/numeric.o"
> "libs/python/src/numeric.cpp"
>
>
>  ...failed gcc.compile.c++
> bin.v2/libs/python/build/gcc-4.4.7/release/link-static/threading-multi/numeric.o...
>
> ...failed updating 1 target...
>

Based upon the g++ command line above, it looks like the boost build
process hasn't correctly picked the correct version of python:
-I"/usr/include/python2.6"

 Does anyone have suggestions on building boost with python libraries?
>
It can be non-trivial to build boost. If you can't use the version that
comes with your operating system, the best bet here is to read through the
boost python build documentation and follow the instructions there
carefully.

Best,
-greg
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to