Dear Adrian,

Yes, it looks like the problem here is the missing boost logging
library. I forgot to include this step in the installation
instructions.

To install boost::logging:
 - you need to have a source distribution of boost in directory
$BOOST. I'm assuming that you built boost from this distribution.
 - copy the directory $RDBASE/External/boost_logging/boost/log to
$BOOST/boost and the directory $RDBASE/External/boost_logging/libs/log
to $BOOST/libs
 - go to $BOOST
 - invoke bjam to build the library: "bjam --with-log stage"
 - invoke bjam to install the library: "bjam --with-log install" (this
may take a while)

Alternatively: if you are using gcc4.1, I can provide a prebuilt
version of the libraries that you can then install by extracting a tar
ball. Let me know if you're interested.

This is a big wart on the installation process, and I'm sorry about
it. When I made the decision to use boost::logging, it seemed so
useful that I didn't even entertain the idea that it might not be
accepted into boost (the author actually withdrew it during the review
process). Ha, stupid me. If people have suggestions of better things
to use, I would be very, very happy to hear them.

Sorry for the trouble,
-greg

On 9/19/07, Adrian Schreyer <[email protected]> wrote:
> Hi,
>
> I am trying to build RDKit on my machine, unfortunately without success so
> far. I am not sure where the problem is, probably with the boost logging
> library? Any help would be appreciated!
>
> Adrian
>
>
>  => I have set the following environment variables:
>
> # RDKIT
> export RDBASE=/home/adrian/Downloads/RDKit_Aug2007Release
> export RDOPTFLAGS=-O3
> export RDF77LIB=gfortran
> export PYTHON_VERSION=2.5
> export PYTHON_ROOT=/usr
> export BOOSTBASE=/usr/include/boost
>
>
> => Output from
> /home/adrian/Downloads/RDKit_Aug2007Release/External/make
>
> make
> --directory=/home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral
> install
>  make[1]: Entering directory
> `/home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral'
> Makefile:43: Invariant.d: No such file or directory
> Makefile:43: types.d: No such file or directory
> Makefile:43: utils.d : No such file or directory
> Makefile:43: Dict.d: No such file or directory
> Makefile:43: RDLog.d: No such file or directory
> Making dependencies for file RDLog.cpp
> In file included from RDLog.cpp:7:
> RDLog.h:11:29: error: boost/log/log.hpp: No such file or directory
> RDLog.cpp:8:35: error: boost/log/functions.hpp: No such file or directory
> Making dependencies for file Dict.cpp
> Making dependencies for file utils.cpp
> In file included from
> /home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral/Invariant.h:16,
>                  from types.h:16,
>                  from utils.h:10,
>                  from utils.cpp:7:
> /home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral/RDLog.h:11:29:
> error: boost/log/log.hpp: No such file or directory
> Making dependencies for file types.cpp
> In file included from
> /home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral/Invariant.h:16,
>                  from types.h:16,
>                  from types.cpp:11:
> /home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral/RDLog.h:11:29:
> error: boost/log/log.hpp: No such file or directory
> Making dependencies for file Invariant.cpp
> In file included from Invariant.h:16,
>                  from Invariant.cpp:8:
> /home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral/RDLog.h:11:29:
> error: boost/log/log.hpp: No such file or directory
> make[1]: Leaving directory
> `/home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral'
> make[1]: Entering directory
> `/home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral'
> g++ -O3 -I/include//usr/include/boost
> -I/home/adrian/Downloads/RDKit_Aug2007Release/Code   -c -o
> Invariant.o Invariant.cpp
> In file included from Invariant.h:16,
>                  from Invariant.cpp:8:
> /home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral/RDLog.h:11:29:
> error: boost/log/log.hpp: No such file or directory
> /home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral/RDLog.h:12:
> error: expected constructor, destructor, or type conversion before '(' token
> make[1]: *** [Invariant.o] Error 1
> make[1]: Leaving directory
> `/home/adrian/Downloads/RDKit_Aug2007Release/Code/RDGeneral'
> make: *** [all] Error 2
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Rdkit-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>

Reply via email to