Hi Noel,

Thanks for the feedback.

Sorry for the slow response to this and your comments on the wiki
page; I was out of town this weekend.

On Sat, Jul 19, 2008 at 12:30 PM, Noel O'Boyle <[email protected]> wrote:
> I think it's built fine, but initially it couldn't find find boost-build.jam.
>
> I needed to set a new environment variable BOOST_ROOT="%BOOSTHOME%"
> Note the quotation marks (I've got spaces in the path for BOOSTHOME).
>
> Here's the batch file I used to set the variables:
> @echo off
> set RDBASE=C:\Documents and Settings\Noel\Desktop\Tools\RDKit\trunk
> set BOOSTHOME=C:\Documents and Settings\Noel\Desktop\Tools\RDKit\boost_1_35_0
> set BOOST_ROOT="%BOOSTHOME%"
> set BOOST_BUILD_PATH=C:\Boost
> set PYTHONPATH=%RDBASE%\Python
> set PATH=%RDBASE%\bin;%BOOST_BUILD_PATH%\lib;%PATH%

The problem with bjam not being able to find boost-build.jam is
because your BOOST_BUILD_PATH is set incorrectly; it should be set to
"%BOOSTHOME%"; then you won't need BOOST_ROOT.

> You also need to set PYTHONHOME to run the tests. Which I'm afraid
> still don't work for me.

Yes; the test suite assumes on windows that Python is in c:\python25
or that you have PYTHONHOME set properly; I need to add this to the
wiki.

> Seems to be due to spaces in the name again.
> It's a pretty crazy test suite so I wasn't able to dig too
> deep...here's an example error message:
> """
> C:\Documents and Settings\Noel\Desktop\Tools\RDKit\trunk\Code>set
> PYTHONHOME=C:\Program Files\Python25
>
> C:\Documents and Settings\Noel\Desktop\Tools\RDKit\trunk\Code>python
> ..\Python\TestRunner.py test_list.py
> C:\Program: can't open file 'Files\Python25\python.exe': [Errno 2] No such 
> file
> or directory
> C:\Program: can't open file 'Files\Python25\python.exe': [Errno 2] No such 
> file
> or directory
> """
> If I put quotation marks around the PYTHONHOME directory, it fouls up
> Python itself, and won't start up properly (the error message is
> "cannot import os")

hmm, that's irritating. It also looks to be at least partially a
python problem, not an RDKit problem. Maybe this is why the default
installation path for python is c:\python25?

-greg

Reply via email to