Hi Andrew,

Thanks for the information. I will go through this and update the wiki.

One quick comment:

On Sun, Dec 20, 2009 at 10:27 PM, Andrew Dalke
<[email protected]> wrote:
> I've built RDKit_Q32009_1 on Mac OS X 10.6 using boost_1_41_0 .
>
[snip]
>
> I did the bjam but ran into problems. I got the error message
>
> ld: unknown option: -h
>
> This turned out to be because I didn't specify a toolset to bjam. The default 
> is "gcc" for my bjam, but that might be because I installed bjam through 
> MacPorts instead of installing it myself.
>
> The error comes from how it builds a dynamic library using
>
> "g++"  ...  -Wl,-h  ...
>
> where Apple's ld doesn't support the -h option. The solution is to use the 
> "darwin" toolset instead of "gcc". I did that by adding "using darwin ;" to 
> Code/Jamroot
>
> [RDKit_Q32009_1/Code] dalke% head -5 Jamroot
> import os ;
> using darwin ;
>
> local BOOSTHOME = [ os.environ BOOSTHOME ] ;
> local RDBASE = [ os.environ RDBASE ] ;
> [RDKit_Q32009_1/Code] dalke%
>
> With that, I could build RDKit and import it from Python.

The standard way of specifying that bjam should use the darwin toolset
is to create a file named user-config.jam in your home directory and
adding the "using darwin ;" line there. Here's mine:

~ > cat user-config.jam
using darwin ;

-greg

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to