|
Boost-Build : |
From: chickendonbri (jonp_at_[hidden])
Date: 2003-12-01 05:41:48
Hi There,
Please excuse this query - I'm a real novice :-)
I have managed to get bjam to build a little project on AIX but get
the following error in Windows...
allyourbase.jam: No such file or directory
boost-base.jam: No such file or directory
I have had a good look through jam's debug trace & don't see any
obvious (!) inconsistencies. Would be most grateful if you have any
suggestions.
I think that BOOST_ROOT and BOOST_BUILD_PATH are set correctly.
Debug output from the following ....
---------------------------------------------------------->>
D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi>bjam "-d+5" > tmp.tmp
allyourbase.jam: No such file or directory
boost-base.jam: No such file or directory
D:\Documents and Settings\Jon\My Documents\Current\Coding\flexi>cat
tmp.tmp
jambase.c:6:>> set SLASH ?= \
jambase.c:8:>> set SLASH ?= /
jambase.c:19:>> set .boost-build-file =
jambase.c:20:>> set .bootstrap-file =
jambase.c:21:>> set BOOST_BUILD_PATH.user-value = C:\Progra~1\boost-
1.30.2\tools\build
jambase.c:51:>> MATCH .*(bjam).* : bjam
jambase.c:54:>> local search-path = C:\Progra~1\boost-1.30.2
\tools\build C:\Progra~1\boost-1.30.2
jambase.c:57:>> GLOB C:\Progra~1\boost-1.30.2\tools\build C:\Progra~1
\boost-1.30.2 : boost-build.jam
jambase.c:56:>> PWD
jambase.c:56:>> find-to-root D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi : boost
-build.jam
jambase.c:11:>>>> GLOB D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi : boost-build
.jam
jambase.c:11:>>>> local globs = D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi\boos
t-build.jam
jambase.c:55:>> local boost-build-files = D:\Documents and
Settings\Jon\My Documents\Current\Coding\
flexi\boost-build.jam C:\Program Files\boost-1.30.2\boost-build.jam
jambase.c:58:>> set .boost-build-file = D:\Documents and
Settings\Jon\My Documents\Current\Coding\fl
exi\boost-build.jam
jambase.c:74:>> include D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi\boost-build.
jam
D:\Documents and Settings\Jon\My Documents\Current\Coding\flexi\boost-
build.jam:1:>> set BOOST_ROOT
= D:\Documents and Settings\Jon\My Documents\Current\Coding\flexi
D:\Documents and Settings\Jon\My Documents\Current\Coding\flexi\boost-
build.jam:17:>> boost-build to
ols/build
jambase.c:32:>>>> set BOOST_BUILD_PATH = D:\Documents and
Settings\Jon\My Documents\Current\Coding\f
lexi\tools/build C:\Progra~1\boost-1.30.2\tools\build
jambase.c:34:>>>> GLOB D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi\tools/build C
:\Progra~1\boost-1.30.2\tools\build : bootstrap.jam
jambase.c:33:>>>> local bootstrap-file = C:\Program Files\boost-1.30.2
\tools\build\bootstrap.jam
jambase.c:35:>>>> set .bootstrap-file = C:\Program Files\boost-1.30.2
\tools\build\bootstrap.jam
jambase.c:49:>>>> include C:\Program Files\boost-1.30.2
\tools\build\bootstrap.jam
C:\Program Files\boost-1.30.2\tools\build\bootstrap.jam:6:>>>> set
SEARCH on <jam-module>allyourbase
.jam = D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi\tools/build C:\Progra~1\boost
-1.30.2\tools\build
C:\Program Files\boost-1.30.2\tools\build\bootstrap.jam:7:>>>>
include <jam-module>allyourbase.jam
C:\Program Files\boost-1.30.2\tools\build\bootstrap.jam:8:>>>> set
SEARCH on <jam-module>boost-base.
jam = D:\Documents and Settings\Jon\My
Documents\Current\Coding\flexi\tools/build C:\Progra~1\boost-
1.30.2\tools\build
C:\Program Files\boost-1.30.2\tools\build\bootstrap.jam:9:>>>>
include <jam-module>boost-base.jam
C:\Program Files\boost-1.30.2\tools\build\bootstrap.jam:15:>>>> load-
jamfiles
C:\Program Files\boost-1.30.2\tools\build\bootstrap.jam:15: in boost-
build
rule load-jamfiles unknown in module
D:\Documents and Settings\Jon\My Documents\Current\Coding\flexi\boost-
build.jam:17: in module scope
D:\Documents and Settings\Jon\My Documents\Current\Coding\flexi>
<<----------------------------------------------------------
I've pasted the corresponding output from a successful build on AIX
below this message, just in case it contains any useful clues.
Thanks in advance for any thoughts you may have :-)
Best wishes
jon
---------------------------------------------------------->>
hpc1:~/coding/flexi> bjam -d+5 > tmp.tmp
hpc1:~/coding/flexi> more tmp.tmp
jambase.c:8:>> set SLASH ?= /
jambase.c:19:>> set .boost-build-file =
jambase.c:20:>> set .bootstrap-file =
jambase.c:21:>> set BOOST_BUILD_PATH.user-value =
/home/soe/jpea047/lib/boost-1.30.2/tools/build
jambase.c:51:>> MATCH .*(bjam).* : bjam
jambase.c:54:>> local search-path =
/home/soe/jpea047/lib/boost-1.30.2/tools/build
/home/soe/jpea047/lib/boost-1.30.2
jambase.c:56:>> PWD
jambase.c:56:>> find-to-root /home/soe/jpea047/coding/flexi :
boost-build.jam
jambase.c:11:>>>> GLOB /home/soe/jpea047/coding/flexi :
boost-build.jam
jambase.c:11:>>>> local globs =
/home/soe/jpea047/coding/flexi/boost-build.jam
jambase.c:57:>> GLOB /home/soe/jpea047/lib/boost-1.30.2/tools/build
/home/soe/jpea047/lib/boost-1.30.2 : boost-build.jam
jambase.c:57:>> local boost-build-files =
/home/soe/jpea047/coding/flexi/boost-build.jam
/home/soe/jpea047/lib/boost-1.30.2/boost-build.jam
jambase.c:58:>> set .boost-build-file =
/home/soe/jpea047/coding/flexi/boost-build.jam
jambase.c:74:>> include /home/soe/jpea047/coding/flexi/boost-build.jam
/home/soe/jpea047/coding/flexi/boost-build.jam:1:>> set BOOST_ROOT =
/home/soe/jpea047/coding/flexi
/home/soe/jpea047/coding/flexi/boost-build.jam:17:>> boost-build
tools/build
jambase.c:32:>>>> set BOOST_BUILD_PATH =
/home/soe/jpea047/coding/flexi/tools/build
/home/soe/jpea047/lib/boost-1.30.2/tools/build
jambase.c:34:>>>> GLOB /home/soe/jpea047/coding/flexi/tools/build
/home/soe/jpea047/lib/boost-1.30.2/tools/build : bootstrap.jam
jambase.c:34:>>>> local bootstrap-file =
/home/soe/jpea047/lib/boost-1.30.2/tools/build/bootstrap.jam
jambase.c:35:>>>> set .bootstrap-file =
/home/soe/jpea047/lib/boost-1.30.2/tools/build/bootstrap.jam
jambase.c:49:>>>> include
/home/soe/jpea047/lib/boost-1.30.2/tools/build/bootstrap.jam
/home/soe/jpea047/lib/boost-1.30.2/tools/build/bootstrap.jam:6:>>>>
set
SEARCH on <jam-module>allyourbase.jam =
/home/soe/jpea047/coding/flexi/tools/build
/home/soe/jpea047/lib/boost-1.30.2/tools/build
/home/soe/jpea047/lib/boost-1.30.2/tools/build/bootstrap.jam:7:>>>>
include <jam-module>allyourbase.jam
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:314:>>>>
switch AIX
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:317:>>>>
set IMPLIB_FLAGS ?= -bI:
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:318:>>>>
set SUFDLL ?= .so .imp
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:319:>>>>
set gLINK_VARIABLE(.so) = NEEDLIBS
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:320:>>>>
set gLINK_VARIABLE(.imp) = NEEDIMPS
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:321:>>>>
set gSHELL_LIBPATH = LIBPATH
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:401:>>>>
set CHMOD ?= chmod
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:402:>>>>
set LEX ?= lex
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:403:>>>>
set OPTIM ?= -O
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:404:>>>>
set RANLIB ?= ranlib
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:405:>>>>
set YACC ?= yacc
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:406:>>>>
set YACCFILES ?= y.tab
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:407:>>>>
set YACCFLAGS ?= -d
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:408:>>>>
set SHELL_EXPORT ?= export
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:409:>>>>
set SHELL_SET ?=
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:410:>>>>
set gSHELL_LIBPATH ?= LD_LIBRARY_PATH
/home/soe/jpea047/lib/boost-
1.30.2/tools/build/allyourbase.jam:417:>>>>
set AR ?= ar ru
hpc1:~/coding/flexi>
...
(then completes build successfully)
<<----------------------------------------------------------
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