Hi Markus,

Sorry this is still all a bit difficult as I try to work out the
problems in the build system and my instructions about how to use it.

On Jan 31, 2008 6:51 PM, Markus Kossner <m.koss...@tu-bs.de> wrote:
>
> Hi there,
> I'm quite new to compiled Programming languages and
> as can be read here my problems occured previously.
> However I dind't manage to install the Kit properly.
> I modyfied the boost::random source, copied the log files as described
> and was also able to do the two "bjam" commands as described in the
> wiki.
> I put the boost_1_34_1 Dir and the RDKit Dir into /opt.
>
> Variables are set to:
>
> export RDBASE=/opt/RDKit
> export RDOPTFLAGS='-03'
> export RDF77LIB=gfortran
> export PYTHON_VERSION=2.5
> eexport PYTHON_ROOT=/usr/lib
> export GCCVERSION=$(gcc -dumpversion) # It's version 4.1
> export BOOSTBASE=boost_1_34_1
> export BOOSTHOME=/opt
> export BOOST_BUILD_PATH=$BOOSTHOME/boost_1_34_1
> export PYTHONPATH=/opt/RDKit/PYTHON:$PYTHONPATH
> export LD_LIBRARY_PATH=/opt/RDKit/bin:LD_LIBRARY_PATH

you have some extra env vars set here (the only ones you need are
those described in the "New build system" section), but that shouldn't
cause any problems.

> Now when I cd to /opt/RDKit/Code and run bjam as read in the "New
> build system" section, I get the following output:
>
> r...@akb-16:/opt/RDKit/Code# bjam
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Please refer to the Boost.Regex documentation for more information
> (don't panic: this is a strictly optional feature).
> warning: No toolsets are configured.
> warning: Configuring default toolset "gcc".
> warning: If the default is wrong, you may not be able to build C++ programs.
> warning: Use the "--toolset=xxxxx" option to override our guess.
> warning: For more configuration options, please consult
> warning:
> http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
> error: Unable to find file or target named
> error:     '/boost/log//boost_log'
> error: referred from project at
> error:     '.'

I think the quick answer to this problem (not the right one, but one
that should work relatively quickly while I try and get this fixed
properly) is to edit the file $RDBASE/Code/Jamroot and replace the
area around line 18, which currently looks like this:
use-project boost
  : /usr/local/src/boost_1_34_1 ;
to:
use-project boost
  : /opt/boost_1_34_1 ;

and then try bjam in the $RDBASE/Code again.


> When I run make, I get the message:

You no longer should need to run make at all. When bjam works it will
build everything for you.

I hope this helps; please continue to post if it does not. :-)

-greg

Reply via email to