Dear Ram,

On Tue, Aug 17, 2010 at 4:42 AM, ramgopal mettu
<[email protected]> wrote:
> Hi Greg,
>  I'd like to use RDKit for a visualization project I am working on,
> since it has Python bindings that will hopefully make things easy for
> me. I have been trying to install RDKit on OSX (Snow Leopard), but am
> intimidated by installing boost etc. I came across this thread:
>
> http://www.mail-archive.com/[email protected]/msg00762.html
>
> I have downloaded the binary there and followed the instructions
> (additionally adding a BOOST_ROOT environment variable), and using
> /usr/bin/python, I cannot get it to work (see below). I wonder if you
> have a binary version of RDKit available? I did try things without the
> BOOST_ROOT variable, but I got the same errors as the original poster
> in the thread above. Any assistance or suggestions you can provide
> would be great -- thanks!

>From the errors below I am guessing that it's a Leopard/Snow Leopard
incompatibility. The binary that is referenced in the above thread was
built under Leopard. I have switched to Snow Leopard recently and now
have the RDKit working properly there.

If you're willing to use a non-release version (i.e. the current svn
version) of the code, I can do a binary distribution for Snow Leopard
sometime this week.

Best Regards,
-greg


> Ram
>
> [poppy:~/software] mettu% setenv RDBASE /usr/local/RDKit/
> [poppy:~/software] mettu% setenv PYTHONPATH $RDBASE
> [poppy:~/software] mettu% setenv DYLD_LIBRARY_PATH
> $RDBASE/bin:$DYLD_LIBRARY_PATH
> [poppy:~/software] mettu% setenv BOOST_ROOT $RDBASE/bin
> [poppy:~/software] mettu% python
> Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> setenv rdkit import RDConfig
>  File "<stdin>", line 1
>    setenv rdkit import RDConfig
>               ^
> SyntaxError: invalid syntax
>>>> from rdkit import RDConfig
>>>> from rdkit import rdBase
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: dlopen(/usr/local/RDKit/rdkit/rdBase.so, 2): no suitable
> image found.  Did find:
>        /usr/local/RDKit/rdkit/rdBase.so: mach-o, but wrong architecture
>>>>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to