Boost logo

Boost Users :

Subject: [Boost-users] How to use boost-build/bjam with only home directory acces?
From: s seelenluft (sseelenluft_at_[hidden])
Date: 2010-01-15 12:15:24


Hi,

I have successfully installed boost-build and bjam on a Linux workstation
where I only had access to my home folder, but I have trouble replicating
this on another. I put the boot-build folder at the top level of my home
folder and created also a bin folder there into which I copied the content
of boost-build folder and the bjam binary. I then added an environmental
variable BOOSTROOT with the value '../' and set my jamroot file to
<include>$BOOSTROOT. I can now start bjam from folders one level below the
home folder.

On a different Linux system this fails with the error:

Unable to load Boost.Build: could not find "boost-build.jam"
---------------------------------------------------------------
Attempted search from /afs/.../trunk-1 up to the root
and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
/usr/share/boost-build.
Please consult the documentation at 'http://www.boost.org'.

The boost-build.jam file sits in the same folder as bjam (~/bin) but on one
system bjam finds it and on another it does not. The folder
/usr/share/boost-build does not exist and I do not have the permission to
create it.

I've used boost-jam 3.1.13 on both systems (since it worked fine on one
system, I was loth to change anything). This was the current version when I
started the whole business.

In short:
Is there any way to tell bjam to use the local boost-build.jam file?

Thanks.

Markus



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net