Boost logo

Boost-Build :

Subject: Re: [Boost-build] Trouble running test in the Boost Graph library
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-12-15 16:54:40


AMDG

On 12/15/2011 01:11 PM, Jens Müller wrote:
> Am 15.12.2011 13:50, schrieb Vladimir Prus:
>>> However, the section was conditional on LEDA being set:
>>>
>>> | if [ modules.peek : LEDA ] != ""
>>>
>>> - and Jam apparently executed the compile action contained in it. So
>>> it apparently worked with the
>>> space?!
>
> OK - without a space, the content was also executed, so I think it just
> doesn't matter whether you use a space or not.
>
>> Wierd, I don't think it should. In that case, you probably need to fix
>> this:
>>
>> compile leda_graph_cc.cpp
>> $(LEDA_DEPENDENCIES) ;
>>
>> by writing
>>
>> compile leda_graph_cc.cpp :
>> $(LEDA_DEPENDENCIES) ;
>>
>> I.e. adding <space> + <colon> + <space> at the end of first line. Let me
>> know whether
>> that helps.
>
> No. Nothing changed.
>

The other problem is that $(LEDA) is empty.
It's only defined in the global module, not
in the Jamfile module. Adding

local LEDA = [ modules.peek : LEDA ] ;

should fix this.

> Again, just to be sure - with this output:
>
> compilation terminated.
>
> "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC
> -DBOOST_ALL_NO_LIB=1 -I"../../.." -c -o
> "../../../bin.v2/libs/graph/test/leda_graph_cc.test/gcc-4.6.1/debug/leda_graph_cc.o"
> "leda_graph_cc.cpp"
>
> ...failed gcc.compile.c++
> ../../../bin.v2/libs/graph/test/leda_graph_cc.test/gcc-4.6.1/debug/leda_graph_cc.o...
>
>
> , the line starting with "g++" is the command line that Jam has called,
> right?
>

Yes.

In Christ,
Steven Watanabe


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