help with including boost.log into the current trunk

I would appreciate some help in including the logging libs into the boost compilation process. I am using the recent SVN trunks, Cygwin 1.7.9 and g++ (GCC) 4.3.4. Unfortunately there is nor README or INSTALL docs as I am used to in a GNU automake environment. So I tried my best based on what I found google-ing it: I downloaded the current boost SVN trunk and the current boost-log SVN trunk. Then I linked the log directories into the boost trunk: $ ln -s boost-log/trunk/boost-log/libs/log/ boost-trunk/libs/ $ ln -s boost-log/trunk/boost-log/boost/log/ boost-trunk/boost/ Compiling boost with normal ./bjam does not recognise the log components at all: ... Component configuration: - chrono : building - date_time : building - exception : building - filesystem : building - graph : building - graph_parallel : building - iostreams : building - math : building - mpi : building - program_options : building - python : building - random : building - regex : building - serialization : building - signals : building - system : building - test : building - thread : building - wave : building ...patience... Explicitly including it gets me an error message: $ ./bjam.exe target-os=cygwin --with-log error: wrong library name 'log' in the --with-<library> option. What am I missing? Is there an easier way to do it? Thanks a lot for any help. -- Bernd

On 10/04/2011 00:56, Bernd Prager wrote:
I downloaded the current boost SVN trunk and the current boost-log SVN trunk. Then I linked the log directories into the boost trunk:
$ ln -s boost-log/trunk/boost-log/libs/log/ boost-trunk/libs/ $ ln -s boost-log/trunk/boost-log/boost/log/ boost-trunk/boost/
Compiling boost with normal ./bjam does not recognise the log components at all:
[...]
Explicitly including it gets me an error message: $ ./bjam.exe target-os=cygwin --with-log error: wrong library name 'log' in the --with-<library> option.
You have no Jamfile in libs/log/build.

Bernd Prager wrote:
I would appreciate some help in including the logging libs into the boost compilation process. I am using the recent SVN trunks, Cygwin 1.7.9 and g++ (GCC) 4.3.4.
Unfortunately there is nor README or INSTALL docs as I am used to in a GNU automake environment. So I tried my best based on what I found google-ing it:
I downloaded the current boost SVN trunk and the current boost-log SVN trunk. Then I linked the log directories into the boost trunk:
$ ln -s boost-log/trunk/boost-log/libs/log/ boost-trunk/libs/ $ ln -s boost-log/trunk/boost-log/boost/log/ boost-trunk/boost/
It seems to me that your ln commands are wrong, because if you cd to boost-trunk/libs, you'll have something like: $ ls -l log lrwxrwxrwx 1 ghost ghost 24 2011-04-10 11:35 log -> boost-log/trunk/boost-log/libs/log and I'm pretty sure your boost-trunk/libs directory does not contain subdirectory boost-log. Please try using absolute paths are link destinations. - Volodya -- Vladimir Prus Mentor Graphics +7 (812) 677-68-40
participants (3)
-
Bernd Prager
-
Mathias Gaunard
-
Vladimir Prus