Boost logo

Boost-Build :

From: Modwel, Manoj (Manoj.Modwel_at_[hidden])
Date: 2007-09-11 00:57:58


 
Hello,

Thank you so much for your reply.
This cxxflags=-I$STLPORT_INCLUDE} is a typo (it actually is
cxxflags=-I${STLPORT_INCLUDE}

Ok, I have changed my script and now I am running bjam this way:

bjam --builddir=${TEMP_BUILD} --prefix=${PREFIX} variant=release
threading=multi link=shared stdlib=stlport \
toolset=gcc --libdir=${BOOST_LIB} --includedir=${PREFIX}/include install
--debug-configuration --debug-building --debug-generators -d+2

The 'using' directive, in user-config.jam file is as:
using gcc : : : <cxxflags>-m64 <address-model>$(ARCH)
<architecture>native <cxxflags>-m$(ARCH) <linkflags>-m$(ARCH)
<linkflags>-lstlport_gcc ;
using stlport : 5.1.3 :
/home/qt/build/jdep/20070730/Linux-x86_64-64/include/stlport-5.1.3/stlpo
rt /home/qt/build/jdep/20070730/Linux-x86_64-64/lib/stlport-5.1.3 ;

In the dry run (calling bjam with -o), I noticed that the the library
name for stlport is '-lstlport.5.1' (wondering where the bjam is taking
that?).

Also, I noticed that if I removed 'stdlib=stlport' from bjam command
line (the using stlport is still as it is), include path does not
includes stlport headers.

I will appreciate if you help me writing the 'command line' of bjam,
passing all the info I need to.

Regards,
Manoj

-----Original Message-----
From: boost-build-bounces_at_[hidden]
[mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: Tuesday, September 11, 2007 2:25 AM
To: boost-build_at_[hidden]
Subject: Re: [Boost-build] Issues for building Boost 1.34.1

Modwel, Manoj wrote:

>
> 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

Is this a "For example" or the actual command passed to jam. Note this:

        cxxflags=-I$STLPORT_INCLUDE}

This is clearly not valid shell syntax, which makes me suspect the
actual command line you use is either different, or completely
different.

> 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

Does removing

        -o/home/qt/dryrun.txt

fixes this?

>> 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?

Do you have stlport configure in user-config.jam, and if so, what's
the exact 'using' line?

- Volodya

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build


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