Boost logo

Boost-Build :

From: Modwel, Manoj (Manoj.Modwel_at_[hidden])
Date: 2007-09-10 06:22:56


Hello,

Actually, I want to build boost 1.34 using Build V2, through my shell
scripts.
Hence the only way I can pass various properties and their value, are
through command line.

For example:
bjam --builddir=${TEMP_BUILD} --prefix=${PREFIX} toolset=gcc
cxxflags=-I$STLPORT_INCLUDE} variant=release --stdlib=stlport-5.1.3
--debug-configuration -d+2 -o/home/qt/dryrun.txt

With is I am getting an error:
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/build/feature.jam:238: in feature.implied-feature from module
feature
error: "home" is not a value of an implicit feature
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/build/property.jam:277: in validate1 from module property
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/build/property.jam:290: in property.validate from module property
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/build/build-request.jam:185: in convert-command-line-element from
module build-request
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/build/build-request.jam:143: in build-request.from-command-line
from module build-request
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/build-system.jam:265: in load from module build-system
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/kernel/modules.jam:261: in import from module modules
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/tools/bu
ild/v2/kernel/bootstrap.jam:132: in boost-build from module
/home/qt/build/jdep/20070730/Linux-x86_64-64/build/boost-1.34.1/boost-bu
ild.jam:9: in module scope from module

Please some one can help me what is going wrong. Please note that the
requiremant is that I cannot modify *.jam file.

Regards,
Manoj
> _____________________________________________
> From: Modwel, Manoj
> Sent: Monday, September 10, 2007 10:53 AM
> To: 'boost-build_at_[hidden]'
> Subject: Issues for building Boost 1.34.1
>
> Hi,
>
> I am new to Boost. I am trying to build Boost 1.34.1 on Linux (GCC
> 3.4.6) with STLPort 5.3.1.
> I am running the following command:
>
> bjam --v2 --builddir=${TEMP_BUILD} --prefix=${PREFIX}
> "stdlib=stlport-5.1.3" --toolset=gcc -d2 -o
> /home/my_home/diagnostic.txt \
> -sBUILD=\
> "release <runtime-link>static/dynamic <threading>multi\
> <address-model>${ARCH} <architecture>native\
> <cxxflags>-m${ARCH} <cxxflags>-I${STLPORT_INC} <cxxflags>-DNDEBUG\
> <linkflags>-m${ARCH} <linkflags>-lstlport_gcc
> <linkflags>-L${STLPORT_LIB}"\
> -sNO_COMPRESSION=1 --includedir=${PREFIX}/include
> --libdir=${BOOST_LIB} install
>
> The errors appears as Under:
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Please refer to the Boost.Regex documentation for more information
> (don't panic: this is a strictly optional feature).
> /home/my_home/build/test/20070730/Linux-x86_64-64/build/boost-1.34.1/t
> ools/build/v2/build/feature.jam:43
> 2: in validate-value-string from module feature
> error: "stlport-5.1.3" is not a known value of feature <stdlib>
> error: legal values: "native"
>
> Can someone please let me know how to address the issue?
>
> Regards,
> Manoj



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