|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-04-13 06:04:33
Vladimir Prus <ghost_at_[hidden]> writes:
> On Wednesday 13 April 2005 13:53, David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>> > Not yet clear. Basically, it's needed to try building Boost.Python and
>> > then running tests with msvc, and see if there are any problems. I think
>> > the current logic is close to V1 for msvc, but can't check it.
>> >
>> > Just adding
>> >
>> > using python : 2.3 : <some-path> ;
>> >
>> > and running "bjam --v2" in libs/python/build and lib/python/test should
>> > be enough.
>> >
>> > - Volodya
>>
>> This is with the very latest and a freshly-built bjam.
>>
>> -*- mode: compilation; default-directory: "c:/boost/libs/python/test/" -*-
>> bjam --v2
>> c:/boost/tools/build/v2/build\project.jam:456: in inherit-attributes
>> warning: rulename $(pattributes).get expands to empty string
>
> Strange, I've got a fresh copy and run 'bjam' in example/hello under different
> user, and it works fine. Do you have any modifications
> site-config.jam/user-config.jam files in V2 tree, or did you create
> your own?
Of course I have my own.
> What if you make the files empty.
That shouldn't be necessary, but... I removed the copies in $HOME
and:
-*- mode: compilation; default-directory: "c:/boost/libs/python/test/" -*-
bjam --v2
warning: Python location is not configured
warning: the Boost.Python library won't be built
******************************************************
Building Boost.Regex with Unicode/ICU support disabled.
HINT: define the environment variable ICU_PATH to point to the
root directy of your ICU installation if you have one.
Couldn't find utypes.h in
******************************************************
warning: no toolsets are configured.
warning: you won't be able to build C++ programs.
warning: please consult the documentation.
error: Unable to find file or target named
error: '/boost/python//boost_python'
error: referred from project at
error: '.'
> What's the output of "bjam --debug-loading" ?
After I restore user-config.jam and site-config.jam:
bjam --v2 --debug-loading
Initializing project 'site-config'
Assigned project target object(project-target)@1 to 'site-config'
Initializing project 'stlport'
c:/boost/tools/build/v2/build\project.jam:456: in inherit-attributes
warning: rulename $(pattributes).get expands to empty string
c:/boost/tools/build/v2/build\project.jam:415: in project.initialize
c:/boost/tools/build/v2/tools\stlport.jam:44: in load
c:\boost\tools\build\v2/kernel\modules.jam:259: in import
c:/boost/tools/build/v2/build\project.jam:679: in project._using
c:/boost/tools/build/v2/build\project.jam:704: in using
c:\cygwin\home\dave\site-config.jam:12: in modules.load
c:/boost/tools/build/v2\build-system.jam:62: in load
c:\boost\tools\build\v2/kernel\modules.jam:259: in import
c:\boost\tools\build\v2/kernel/bootstrap.jam:120: in boost-build
c:\boost\boost-build.jam:12: in module scope
c:/boost/tools/build/v2/build\project.jam:459: in inherit-attributes
warning: rulename $(pattributes).get expands to empty string
...
c:/boost/tools/build/v2/build\alias.jam:69: in alias
c:/boost/tools/build/v2/tools\python.jam:274: in init-nt
c:/boost/tools/build/v2/tools\python.jam:48: in python.init
c:/boost/tools/build/v2/build\project.jam:683: in project._using
c:/boost/tools/build/v2/build\project.jam:704: in using
c:\cygwin\home\dave\site-config.jam:14: in modules.load
c:/boost/tools/build/v2\build-system.jam:62: in load
c:\boost\tools\build\v2/kernel\modules.jam:259: in import
c:\boost\tools\build\v2/kernel/bootstrap.jam:120: in boost-build
c:\boost\boost-build.jam:12: in module scope
Initializing project 'site-config'
Initializing project 'user-config'
Loading Jamfile at '.'
Initializing project 'Jamfile</c:/boost/libs/python/test>'
Loading Jamfile at '../../..'
Initializing project 'Jamfile</c:/boost>'
Assigned project target object(project-target)@5 to 'Jamfile</c:/boost>'
Loading Jamfile at '../../../libs/date_time/build'
Initializing project 'Jamfile</c:/boost/libs/date_time/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@6 to 'Jamfile</c:/boost/libs/date_time/build>'
Loading Jamfile at '../../../libs/filesystem/build'
Initializing project 'Jamfile</c:/boost/libs/filesystem/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@7 to 'Jamfile</c:/boost/libs/filesystem/build>'
Loading Jamfile at '../../../libs/filesystem.old/build'
Initializing project 'Jamfile</c:/boost/libs/filesystem.old/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@8 to 'Jamfile</c:/boost/libs/filesystem.old/build>'
Loading Jamfile at '../../../libs/graph/build'
Initializing project 'Jamfile</c:/boost/libs/graph/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@9 to 'Jamfile</c:/boost/libs/graph/build>'
Loading Jamfile at '../../../libs/program_options/build'
Initializing project 'Jamfile</c:/boost/libs/program_options/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@10 to 'Jamfile</c:/boost/libs/program_options/build>'
Loading Jamfile at '../../../libs/python/build'
Initializing project 'Jamfile</c:/boost/libs/python/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@11 to 'Jamfile</c:/boost/libs/python/build>'
Loading Jamfile at '../../../libs/regex/build'
Initializing project 'Jamfile</c:/boost/libs/regex/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@12 to 'Jamfile</c:/boost/libs/regex/build>'
******************************************************
Building Boost.Regex with Unicode/ICU support disabled.
HINT: define the environment variable ICU_PATH to point to the
root directy of your ICU installation if you have one.
Couldn't find utypes.h in
******************************************************
Loading Jamfile at '../../../libs/serialization/build'
Initializing project 'Jamfile</c:/boost/libs/serialization/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@13 to 'Jamfile</c:/boost/libs/serialization/build>'
Loading Jamfile at '../../../libs/signals/build'
Initializing project 'Jamfile</c:/boost/libs/signals/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@14 to 'Jamfile</c:/boost/libs/signals/build>'
Loading Jamfile at '../../../libs/test/build'
Initializing project 'Jamfile</c:/boost/libs/test/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@15 to 'Jamfile</c:/boost/libs/test/build>'
Loading Jamfile at '../../../libs/thread/build'
Initializing project 'Jamfile</c:/boost/libs/thread/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@16 to 'Jamfile</c:/boost/libs/thread/build>'
Loading Jamfile at '../../../libs/wave/build'
Initializing project 'Jamfile</c:/boost/libs/wave/build>'
Loading Jamfile at '../../..'
Assigned project target object(project-target)@17 to 'Jamfile</c:/boost/libs/wave/build>'
Assigned project target object(project-target)@18 to 'Jamfile</c:/boost/libs/python/test>'
Loading Jamfile at '../build'
c:/boost/tools/build/v2/build\targets.jam:748: in generate-really from module object(main-target)@74
error: failed to build /python with properties <debug-store>object <debug-symbols>on <exception-handling>on <inlining>off <link-runtime>shared <link>shared <optimization>off <os>NT <profiling>off <rtti>on <runtime-debugging>on <stdlib>native <threading>single <toolset>gcc <variant>debug because no best-matching alternative could be found
c:/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@74.generate from module object(main-target)@74
c:/boost/tools/build/v2/build\targets.jam:868: in targets.generate-from-reference from module targets
c:/boost/tools/build/v2/build\targets.jam:1062: in generate-dependencies from module object(typed-target)@10
c:/boost/tools/build/v2/build\targets.jam:1100: in object(typed-target)@10.generate from module object(typed-target)@10
c:/boost/tools/build/v2/build\targets.jam:756: in generate-really from module object(main-target)@73
c:/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@73.generate from module object(main-target)@73
c:/boost/tools/build/v2/build\targets.jam:868: in targets.generate-from-reference from module targets
c:/boost/tools/build/v2/build\targets.jam:1062: in generate-dependencies from module object(typed-target)@20
c:/boost/tools/build/v2/build\targets.jam:1103: in object(typed-target)@20.generate from module object(typed-target)@20
c:/boost/tools/build/v2/build\targets.jam:756: in generate-really from module object(main-target)@1
c:/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@1.generate from module object(main-target)@1
c:/boost/tools/build/v2/build\targets.jam:252: in object(project-target)@18.generate from module object(project-target)@18
c:/boost/tools/build/v2\build-system.jam:180: in load from module build-system
c:\boost\tools\build\v2/kernel\modules.jam:259: in import from module modules
c:\boost\tools\build\v2/kernel/bootstrap.jam:120: in boost-build from module
c:\boost\boost-build.jam:12: in module scope from module
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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