|
Boost-Build : |
From: Dennis Cote (dennis.cote_at_[hidden])
Date: 2006-10-20 17:38:18
rostik slipetskyy wrote:
> I don't know if this is the same problem, but still you may try it :)
>
> When I can't build BOOST libraries, I just downloaded from the BOOST CVS the
> following files (they differed to those in the distribution) :
>
> JAMFILE
> boost-build.jam
>
Thanks for the suggestion, I may try that next.
In the mean time I tried to build a debug version of bjam as suggested
to Michal. I ran into a problem that I suspect may be related.
The built.bat file successfully builds a bootstrap version of jam called
jam0 using my compiler. It correctly quotes the path to the include
files and libraries to handle the space in the path (my compiler is
installed inside the "Program Files" directory).
The script then tries to use jam0 to build bjam. When calling jam0 it
passes the path to my compiler correctly quoted to handle the space in
the path.
When jam0 calls my compiler to compile the file yyacc.c it does not
quote the include and library paths. The embedded space causes these
paths to be broken into multiple arguments and the compilation fails.
This causes the build of bjam to fail.
I suspect that a similar problem may be at the heart of my in ability to
build boost using the precompiled version of bjam as well.
Below is the output from my attempt to build a debug bjam for further
testing.
Can anyone familiar with jam tell me where jam0 builds the command lines
it passes to the compiler? I would like to ensure the paths ae correctly
quoted.
TIA
Dennis Cote
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\DennisC>cd \boost
C:\Boost>cd C:\Boost\boost_1_33_1\tools\build\jam_src
C:\Boost\boost_1_33_1\tools\build\jam_src>.\build.bat borland --debug
###
### Using 'borland' toolset.
###
C:\Boost\boost_1_33_1\tools\build\jam_src>rd /S /Q bootstrap
The system cannot find the file specified.
C:\Boost\boost_1_33_1\tools\build\jam_src>md bootstrap
C:\Boost\boost_1_33_1\tools\build\jam_src>bcc32 -WC -w- -q "-IC:\Program
Files\B
orland\BDS\4.0\Bin\..\Include" "-LC:\Program
Files\Borland\BDS\4.0\Bin\..\Lib" /
DNT -nbootstrap -ejam0 command.c compile.c execnt.c execunix.c
execvms.c expand
.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c hdrmacro.c
headers.c ja
m.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c
pathuni
x.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c
variable.c mo
dules.c strings.c filesys.c builtins.c pwd.c class.c w32_getreg.c
native.c modul
es/set.c modules/path.c modules/regex.c modules/property-set.c
modules/sequence
.c modules/order.c
command.c:
compile.c:
execnt.c:
execunix.c:
execvms.c:
expand.c:
filent.c:
fileos2.c:
fileunix.c:
filevms.c:
glob.c:
hash.c:
hdrmacro.c:
headers.c:
jam.c:
jambase.c:
jamgram.c:
lists.c:
make.c:
make1.c:
newstr.c:
option.c:
parse.c:
pathunix.c:
pathvms.c:
regexp.c:
rules.c:
scan.c:
search.c:
subst.c:
timestamp.c:
variable.c:
modules.c:
strings.c:
filesys.c:
builtins.c:
pwd.c:
class.c:
w32_getreg.c:
native.c:
modules/set.c:
modules/path.c:
modules/regex.c:
modules/property-set.c:
modules/sequence.c:
modules/order.c:
C:\Boost\boost_1_33_1\tools\build\jam_src>.\bootstrap\jam0 -f build.jam
--toolse
t=borland "--toolset-root=C:\Program Files\Borland\BDS\4.0\Bin\..\ " clean
...found 1 target...
...updating 1 target...
...updated 1 target...
C:\Boost\boost_1_33_1\tools\build\jam_src>.\bootstrap\jam0 -f build.jam
--toolse
t=borland "--toolset-root=C:\Program Files\Borland\BDS\4.0\Bin\..\ " --debug
...found 50 targets...
...updating 5 targets...
[MKDIR] bin.ntx86.debug
[COMPILE] bin.ntx86.debug\yyacc.exe
Error E2194: Could not find file 'Files\Borland\BDS\4.0\Bin\..\Include.cpp'
yyacc.c:
"bcc32" -eyyacc.exe -nbin.ntx86.debug /DOPT_HEADER_CACHE_EXT
/DOPT_GRAPH
_DEBUG_EXT /DOPT_SEMAPHORE /DOPT_FIX_TARGET_VARIABLES_EXT
/DOPT_IMPROVED_PATIENC
E_EXT /DNT /DYYSTACKSIZE=5000 -WC -w- -q -IC:\Program
Files\Borland\BDS\4.0\Bin
\..\Include -LC:\Program Files\Borland\BDS\4.0\Bin\..\Lib -v -Od -vi-
yyacc.c
...failed [COMPILE] bin.ntx86.debug\yyacc.exe...
[COMPILE] bin.ntx86.debug\mkjambase.exe
Error E2194: Could not find file 'Files\Borland\BDS\4.0\Bin\..\Include.cpp'
mkjambase.c:
"bcc32" -emkjambase.exe -nbin.ntx86.debug
/DOPT_HEADER_CACHE_EXT /DOPT_G
RAPH_DEBUG_EXT /DOPT_SEMAPHORE /DOPT_FIX_TARGET_VARIABLES_EXT
/DOPT_IMPROVED_PAT
IENCE_EXT /DNT /DYYSTACKSIZE=5000 -WC -w- -q -IC:\Program
Files\Borland\BDS\4.0
\Bin\..\Include -LC:\Program Files\Borland\BDS\4.0\Bin\..\Lib -v -Od
-vi- mkja
mbase.c
...failed [COMPILE] bin.ntx86.debug\mkjambase.exe...
...skipped jambase.c for lack of mkjambase.exe...
...skipped bjam.exe for lack of jambase.c...
...skipped jam.exe for lack of bjam.exe...
...failed updating 2 targets...
...skipped 3 targets...
...updated 1 target...
C:\Boost\boost_1_33_1\tools\build\jam_src>
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