Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2003-02-14 07:41:37


First of all, I recently found out about the stage rule. I'm using it now to
install libraries and binaries in $(ALL_LOCATE_TARGET)lib and
$(ALL_LOCATE_TARGET)bin directories respectively.

I would like to put them elsewhere however but apparantly it's not
possible to provide an absolute path to the stage rule. For instance
I might want to install the libraries in $HOME/lib. Is this possible.

So for the moment, my stage rule might look like :

stage ../../../../lib : <lib>bindings_lapack ;

(This is the rule to install the lapack bindings (as in the boost-sandbox)
into a lib subdirectory). However when executing this
rule he tries to create the directory existing directories which generates
a lot of errors :

MkDir1 /home/tk/cvstop/DO/libs/numeric/bindings/lapack/..
mkdir: cannot create directory `/home/tk/cvstop/DO/libs/numeric/bindings/lapack/..': File exists

mkdir /home/tk/cvstop/DO/libs/numeric/bindings/lapack/..

...failed MkDir1 /home/tk/cvstop/DO/libs/numeric/bindings/lapack/.....
...skipped <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../.. for lack of <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/.....
...skipped <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../../.. for lack of <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../.....
...skipped <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../../../.. for lack of <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../../.....
...skipped <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../../../../lib for lack of <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../../../.....
MkDir1 /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin
MkDir1 /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin/libbindings_lapack.a
MkDir1 /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin/libbindings_lapack.a/intel-linux
MkDir1 /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin/libbindings_lapack.a/intel-linux/debug
MkDir1 /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin/libbindings_lapack.a/intel-linux/debug/runtime-link-dynamic
intel-linux-C++-action /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin/libbindings_lapack.a/intel-linux/debug/runtime-link-dynamic/traits.o
intel-linux-Archive-action /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin/libbindings_lapack.a/intel-linux/debug/runtime-link-dynamic/libbindings_lapack.a
Ranlib /home/tk/cvstop/DO/libs/numeric/bindings/lapack/bin/libbindings_lapack.a/intel-linux/debug/runtime-link-dynamic/libbindings_lapack.a
...skipped <!libs!numeric!bindings!lapack!..!..!..!..!lib>libbindings_lapack.a for lack of <directory-grist>/home/tk/cvstop/DO/libs/numeric/bindings/lapack/../../../../lib...
...failed updating 3 targets...
...skipped 15 targets...

An suggestions ?

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk