
Hello All, I installed Boost v1.42 that was available from Synaptic Package Manager in Xubuntu 10.10. Downloaded the Boost.Log library from sourceforge and extracted it under /usr/include/boost. From the command line I issued the following to build it: bjam --with-log variant=release stage And got this as output: notice: could not find main target stage notice: assuming it's a name of file to create /usr/share/boost-build/build/project.jam:699: in attribute warning: rulename $($(project).attributes).get expands to empty string /usr/share/boost-build/build/project.jam:709: in project.target /usr/share/boost-build/build-system.jam:395: in load /usr/share/boost-build/kernel/modules.jam:261: in import /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build /usr/share/boost-build/boost-build.jam:1: in module scope /usr/share/boost-build/build/project.jam:699: in project.attribute warning: rulename $($(project).attributes).get expands to empty string /usr/share/boost-build/build/targets.jam:203: in object(project-target)@36.__init__ /usr/share/boost-build/kernel/class.jam:93: in new /usr/share/boost-build/build/project.jam:709: in project.target /usr/share/boost-build/build-system.jam:395: in load /usr/share/boost-build/kernel/modules.jam:261: in import /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build /usr/share/boost-build/boost-build.jam:1: in module scope /usr/share/boost-build/build/project.jam:699: in project.attribute warning: rulename $($(project).attributes).get expands to empty string /usr/share/boost-build/build/targets.jam:222: in get /usr/share/boost-build/build/targets.jam:284: in targets-to-build /usr/share/boost-build/build/targets.jam:253: in object(project-target)@36.generate /usr/share/boost-build/build-system.jam:414: in load /usr/share/boost-build/kernel/modules.jam:261: in import /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build /usr/share/boost-build/boost-build.jam:1: in module scope /usr/share/boost-build/build/project.jam:699: in project.attribute warning: rulename $($(project).attributes).get expands to empty string /usr/share/boost-build/build/targets.jam:222: in get /usr/share/boost-build/build/targets.jam:285: in targets-to-build /usr/share/boost-build/build/targets.jam:253: in object(project-target)@36.generate /usr/share/boost-build/build-system.jam:414: in load /usr/share/boost-build/kernel/modules.jam:261: in import /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build /usr/share/boost-build/boost-build.jam:1: in module scope don't know how to make <e>stage ...found 1 target... ...can't find 1 target... I found a similar help request at: http://lists.boost.org/boost-build/2007/06/16748.php but I want to know whether what I am doing is correct - that is trying to build one library from source (that is not officially part of boost), while installing all other boost libraries from a package manager? In /usr/lib all the other boost static and shared libraries are installed. Thank you for your time. cheers, Anand.

From: boost-users-bounces@lists.boost.org on behalf of Anand Arumugam Sent: Mon 12/20/2010 11:23 PM To: boost-users@lists.boost.org Subject: [Boost-users] Boost.Log build problem
Hello All,
I installed Boost v1.42 that was available from Synaptic Package Manager in Xubuntu 10.10. Downloaded the Boost.Log library from sourceforge and extracted it under /usr/include/boost. >From the command line I issued the following to build it:
bjam --with-log variant=release stage
Can you try this with the lastest release 1.45? Often when people develop new libraries they work with the trunk in the repository or the latest release. Stephen
participants (2)
-
Anand Arumugam
-
Torri, Stephen CIV NSWCDD, W15