Hi, Greg, it seems the version of boost causes the problem: when I used
boost 1.46.1 as you did, rdkit was built successfully.

Thanks.
CT
2014-3-20 AM10:48于 "CT Sun" <[email protected]>写道:

> Hi Greg,
>
> Thanks for your attention. I was using the latest boost 1.55.0 and RDKit
> 2013_09_2. I would have a try with boost 1.46.1 some later.
>
> CT
>
>
> 2014-03-19 13:21 GMT+08:00 Greg Landrum <[email protected]>:
>
>> Hi CT,
>>
>>
>> On Wed, Mar 5, 2014 at 8:56 AM, CT Sun <[email protected]> wrote:
>>
>>>
>>> I was building RDKit at my CentOS 6.5 system with the following commands:
>>> cmake -DBOOST_ROOT=/usr/local/lib
>>> -DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.a
>>> -DPYTHON_INCLUDE_DIR=/usr/include/python2.7/
>>> -DPYTHON_EXECUTABLE=/usr/bin/python -DRDK_BUILD_SWIG_WRAPPERS=ON ..
>>> I would use the latest SWIG (2.0.12) to implement the java wrapper and
>>> have put JUnit.jar to the folder External/java_lib. Then I met this problem:
>>> [ 98%] Swig source
>>> /usr/local/include/boost/smart_ptr/shared_array.hpp:60: Error: Syntax
>>> error in input(3).
>>> 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
>>> and the progress was broken.
>>>
>>> Would you please give me any suggestion?
>>>
>>
>> Which version of boost and the RDKit are you using?
>> I just successfully built the java wrappers with the github rdkit, SWIG
>> v2.012, and boost v1.46.1
>>
>> -greg
>>
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to