Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-12-01 13:45:50


Vladimir Prus wrote:
> Hi Reece,
>
>
>>I am trying to get stlport up and running using BBv2, but am running
>>into some problems. I have downloaded it and built it for vc71, setup with:
>>
>> using stlport : 4.6 : f:/devel/stlport/462/stlport ;
>>
>>However, when I run:
>>
>> bjam release msvc-7.1 stdlib=stlport-4.6
>>
>>I get...
>>
>>f:/devel/boost/boost/tools/build/v2/build\targets.jam:464: in
>>start-building fro
>>m module targets
>>error: Recursion in main target references
>>error: the following target are being built currently:
>>error: ./bin /stlport /stlport
>
> That's a subtle bug. It worked for me with
>
> using stlport : : /usr/include/stlport ;
>
> but now I've tried with
>
> using stlport : 4.6 : /usr/include/stlport ;
>
> and see the same error. In fact, looks like support for having different
> versions of stlport is broken.
>
> I've committed the attached patch, and verified that it work both for
> no-version configuration and for two initialized stlport versions. Could you
> either update from CVS or apply the patch, and try again?

The above error is now fixed, but I am getting:

bash-2.05b$ bjam release msvc-7.1 stdlib=stlport
f:/devel/boost/boost/tools/build/v2/build\targets.jam:1091: in
basic-target.gene
rate
*** argument error
* rule object(property-set)@15.add ( ps )
* called with: ( )
* missing argument ps
f:/devel/boost/boost/tools/build/v2/build\property-set.jam:235:see
definition of
rule 'add' being called
f:/devel/boost/boost/tools/build/v2/tools\stlport.jam:119: in
object(stlport-tar
get-class)@1.generate
f:/devel/boost/boost/tools/build/v2/build\targets.jam:689: in
generate-really
f:/devel/boost/boost/tools/build/v2/build\targets.jam:662: in
object(main-target
)@2.generate
f:/devel/boost/boost/tools/build/v2/build\targets.jam:808: in
targets.generate-f
rom-reference
f:/devel/boost/boost/tools/build/v2/build\targets.jam:1023: in
generate-dependen
cies
f:/devel/boost/boost/tools/build/v2/build\targets.jam:1055: in
object(typed-targ
et)@7.generate
f:/devel/boost/boost/tools/build/v2/build\targets.jam:689: in
generate-really
f:/devel/boost/boost/tools/build/v2/build\targets.jam:662: in
object(main-target
)@1.generate
f:/devel/boost/boost/tools/build/v2/build\targets.jam:215: in
object(project-tar
get)@10.generate
f:/devel/boost/boost/tools/build/v2\build-system.jam:145: in load
f:\devel\boost\boost\tools\build\v2/kernel\modules.jam:259: in import
f:\devel\boost\boost\tools\build\v2/kernel/bootstrap.jam:120: in boost-build
F:\devel\boost-build.jam:1: in module scope

When I have:

using stlport : : f:/devel/stlport/462/stlport
f:/devel/stlport/462/lib ;

in user-config.jam. Note that I have stlport downloaded and extracted,
having run the make script in the source directory so that the libraries
are in the [stlport]/lib directory and the headers in [stlport]/stlport.

Note that user-config.jam is wrong since

# Configure, specifying locatioh of both headers and libraries
# using stlport : : /usr/include/stlport : /usr/lib ;

gives:

bash-2.05b$ bjam release msvc-7.1 stdlib=stlport
f:/devel/boost/boost/tools/build/v2/build\toolset.jam:29: in using
*** argument error
* rule stlport.init ( version ? : headers libraries ? )
* called with: ( : f:/devel/stlport/462/stlport :
f:/devel/stlport/462/lib : :
: : : )
* extra argument f:/devel/stlport/462/lib
f:/devel/boost/boost/tools/build/v2/tools\stlport.jam:208:see definition
of rule
'init' being called
f:/devel/boost/boost/tools/build/v2\user-config.jam:32: in modules.load
f:/devel/boost/boost/tools/build/v2\build-system.jam:55: in load
f:\devel\boost\boost\tools\build\v2/kernel\modules.jam:259: in import
f:\devel\boost\boost\tools\build\v2/kernel/bootstrap.jam:120: in boost-build
F:\devel\boost-build.jam:1: in module scope

I get these when I have

using stlport : 4.6 : f:/devel/stlport/462/stlport ;

(the initial error is gone).

Regards,
Reece

 


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