Boost logo

Boost Users :

Subject: Re: [Boost-users] [Review] Phoenix V3: Mini-review starts February 20th
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-02-26 15:54:10


On 02/26/11 14:22, Larry Evans wrote:
> On 02/26/11 10:52, Thomas Heller wrote:
>> On Saturday, February 26, 2011 05:01:29 PM Larry Evans wrote:
> [snip]
>>> I've downloaded the library to:
>>
>>>
>>
>>> ~/prog_dev/boost-svn/ro/trunk/sandbox/ro/SOC/2010/phoenix3
>>
>>>
>>
>>> However, when I tried to run the tests in the:
>>
>>>
>>
>>> libs/phoenix/test/
>>
>>>
>>
>>> subdirectory, I got:
>>
>>>
>>
>>> Compilation started at Sat Feb 26 09:48:50
>>
>>>
>>
>>> bjam
>>
>>> sh: icpc: not found
>>
>>> error: Unable to find file or target named
>>
>>> error: '/boost/thread'
>>
>>> error: referred from project at
>>
>>> error: '.'
>>
>>>
>>
>>>
>>
>>> Compilation exited abnormally with code 1 at Sat Feb 26 09:48:52
>>
>>>
>>
>>> How can i fix that?
>>
>>
>> I don't know. it is something with jam and boost and the code being in a
>> different directory (sadly, i am not a boost build expert). I commented
>> the affected testcase. The error should be gone now.
>>
> Yes, that error is gone; however:
>
> Welcome to the Emacs shell
>
> ~/prog_dev/boost-svn/ro/trunk/sandbox/ro/SOC/2010/phoenix3 $ svn update
> U libs/phoenix/test/Jamfile
> U libs/phoenix/doc/inside.qbk
> U libs/phoenix/doc/html/phoenix-doc_HTML.manifest
> U libs/phoenix/doc/html/index.html
> U libs/phoenix/doc/html/phoenix/examples.html
> U libs/phoenix/doc/html/phoenix/starter_kit/lazy_operators.html
> U libs/phoenix/doc/html/phoenix/starter_kit/values.html
> U libs/phoenix/doc/html/phoenix/starter_kit/lazy_functions.html
> U libs/phoenix/doc/html/phoenix/starter_kit.html
> U libs/phoenix/doc/html/phoenix/basics.html
> U libs/phoenix/doc/html/phoenix/organization.html
> U libs/phoenix/doc/html/phoenix/modules/core/values.html
> U libs/phoenix/doc/html/phoenix/modules/core/references.html
> U libs/phoenix/doc/html/phoenix/modules/core/arguments.html
> U libs/phoenix/doc/html/phoenix/modules/operator.html
> U libs/phoenix/doc/html/phoenix/modules/stl/container.html
> U libs/phoenix/doc/html/phoenix/modules/stl/algorithm.html
> U
> libs/phoenix/doc/html/phoenix/inside/expression/boost_phoenix_define_expression.html
> U
> libs/phoenix/doc/html/phoenix/inside/expression/boost_phoenix_define_expression_ext.html
> U
> libs/phoenix/doc/html/phoenix/inside/expression/boost_phoenix_define_expression_ext_vararg.html
> U
> libs/phoenix/doc/html/phoenix/inside/expression/boost_phoenix_define_expression_vararg.html
> U libs/phoenix/doc/html/phoenix/inside/expression.html
> U libs/phoenix/doc/html/phoenix/inside/actions.html
> U libs/phoenix/doc/html/phoenix/inside/actor.html
> U libs/phoenix/doc/html/phoenix/inside/custom_terminals.html
> U libs/phoenix/doc/html/phoenix/inside/placeholder_unification.html
> U libs/phoenix/doc/html/phoenix/inside.html
> U libs/phoenix/doc/html/phoenix/examples/extending_actors.html
> U libs/phoenix/doc/inside/placeholder.qbk
> Updated to revision 69312.
> ~/prog_dev/boost-svn/ro/trunk/sandbox/ro/SOC/2010/phoenix3 $ cd
> libs/phoenix/test/
> ~/prog_dev/boost-svn/ro/trunk/sandbox/ro/SOC/2010/phoenix3/libs/phoenix/test
> $ bjam
> sh: icpc: not found
> ...patience...
> ...found 2462 targets...
> ...updating 1127 targets...
> common.mkdir bin
> common.mkdir bin/exceptions.test
> common.mkdir bin/exceptions.test/gcc-4.5.1v
> common.mkdir bin/exceptions.test/gcc-4.5.1v/debug
> common.mkdir bin/exceptions.test/gcc-4.5.1v/debug/statement
> gcc.compile.c++ bin/exceptions.test/gcc-4.5.1v/debug/statement/exceptions.o
> statement/exceptions.cpp:12:34: fatal error: boost/phoenix/core.hpp: No
> such file or directory
> compilation terminated.
>
>
>
> Which is probably another bjam mystery. Any bjam expert help would be
> appreciated.
>
> -Larry

I abbreviated the bjam output. It also included:

> common.mkdir bin/exceptions.test/gcc-4.5.1v/debug/statement
> gcc.compile.c++ bin/exceptions.test/gcc-4.5.1v/debug/statement/exceptions.o
> statement/exceptions.cpp:12:34: fatal error: boost/phoenix/core.hpp: No such file or directory
> compilation terminated.
>
> "/home/evansl/download/gcc/4.5.1-release/install/bin/g++" -ftemplate-depth-128 -Wl,-rpath -std=gnu++0x
> -DCXX0X_VARIADIC_TEMPLATES -DBOOST_USE_MPL_VARIADIC_TEMPLATES -O0 -fno-inline -Wall -g -fPIC
> -I"/home/evansl/prog_dev/boost-svn/ro/trunk" -c
> -o "bin/exceptions.test/gcc-4.5.1v/debug/statement/exceptions.o" "statement/exceptions.cpp"

shwoing that only the boost trunk was included. Obviously, there's a
missing -I for the phoenix include directory. I would have thought
the Jamfile.v2 or some other .jam file further up in the project
directory would have made that a requirement. The Jamroot.jam
in the phoenix3 directory does have:

  project phoenix : requirements <include>$(boost) ;

but apparently that's not having the desired effect :(


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net