Hi Mattie,

I would also caution you that the version of CMake appears to be very
important.  Previously, I have had no issues building the wrappers using
Cmake (v. 2.8.10.2), Boost (v.1.55), and Swig (2.0.10) on CentOS 6.4-6.5.
It took me a long time to figure that out.

Hopefully that is helpful!
Matthew


On Tue, Sep 9, 2014 at 3:13 PM, 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
>
>
>  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...
>
>
>  Does anyone have suggestions on building boost with python libraries?
>
>
>  Thanks in advance
>
>
>    *Mattie *
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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