Dear Greg and Gianluca,

indeed this solved the compilation problem. 
Now I am testing a little, let's see. 

Concerning the boost dependencies...I understand your point of view. The fact 
is, that I like projects like rdkit and I am trying to promote them myself. The 
problem is only then people coming back to me saying, ah finally I didn't 
install because it was too complicated, especially on production environments 
like the 64 bit centos machines I am working with...the accumulation of gcc 
bugs, boost static library problems and libraries etc to update to make 
everything run was a bit heavy. 

In the contrary, installing it on a opensuse 11.1 64 bit was rather 
straightforward. 

Thanks for putting the issues I encountered in the wiki, searching mailing 
lists is also rather cumbersome.

Cheers.

Peter

On 26/07/2010, at 15:47, Greg Landrum wrote:

> Dear Peter,
> 
> On Mon, Jul 26, 2010 at 3:19 PM, Peter Schmidtke <[email protected]> wrote:
>> Hey Greg,
>> I already compiled boost using the instructions from the rdkit wiki. Anyway,
>> recompiling rdkit completely solves this problem.
>> But that wasn't easy enough. Next error :
>> [ 84%] Built target rdSLNParse
>> [ 85%] Building CXX object
>  ... snip ...
>> /root/pool/include/boost/type_traits/detail/cv_traits_impl.hpp:37: internal
>> compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
>> Preprocessed source stored into /tmp/ccgSaXge.out file, please attach this
>> to your bugreport.
>> make[2]: *** [Code/GraphMol/Wrap/CMakeFiles/rdchem.dir/EditableMol.cpp.o]
>> Error 1
>> make[1]: *** [Code/GraphMol/Wrap/CMakeFiles/rdchem.dir/all] Error 2
>> make: *** [all] Error 2
>> 
>> 
>> I saw this error online also, and people suggested to add
>> the BOOST_PYTHON_NO_PY_SIGNATURES
>>  flag, and recompile boost, which is what I did, but no effect on this
>> error.
> 
> Ah... it's not boost that you need to recompile. Add the following to
> the top of $RDBASE/Code/GraphMol/Wrap/EditableMol.cpp:
> #define BOOST_PYTHON_NO_PY_SIGNATURES
> 
> (related post: 
> http://www.mail-archive.com/[email protected]/msg01178.html)
> 
>> Someone has an idea? Are there plans to come around these boost dependencies
>> in rdkit...it's a real showstopper on older systems...real pain to get it
>> installed :(
> 
> No plans to stop using boost, sorry. The fact that the RDKit uses such
> a high-quality, well-documented library (that is maintained by someone
> else) is actually one of the strengths of the project. The problem you
> describe above is a bug in gcc, not a problem with boost.
> 
> -greg

Peter Schmidtke

-----------------
PhD Student
Department of Physical Chemistry
School of Pharmacy
University of Barcelona
Barcelona, Spain


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to