[Boost.Build] installation problem

Hi, I go there http://www.boost.org/doc/html/jam/building.html I do: C:\Documents and Settings\src\boost\tools\jam\src>build mingw --debug (like explained) A new folder named bin.ntx86.debug is added after I go there http://www.boost.org/doc/html/bbv2/installation.html 1:(done) 2: I do: C:\Documents and Settings\src\boost\tools\build\v2> bjam --version Instead of seing: Boost.Build V2 (Milestone 11)Boost.Jam 03.1.14 I see: syntax error at EOF Boost.Build V2 (Milestone 11)Boost.Jam 03.1.14 3: I open the user-config.jam file (like explained) and I modify the file, the modification is the following: import toolset : using gcc ; # GCC configuration # Configure gcc (default version) using gcc : : "C:\mingw\bin\g++"; 4: I copy bjam.exe from C:\Documents and Settings\src\boost\tools\build\v2 to C:\Documents and Settings\src\boost\tools\build\v2\example\hello and I run bjam (like explained): C:\Documents and Settings\src\boost\tools\build\v2\example\hello>bjam then I see: "syntax error at EOF No toolsets are configured ..." What is my error? David _________________________________________________________________ Retrouvez tous les services Windows Live sur votre mobile ! http://mobile.live.fr/

david shaw wrote:
3: I open the user-config.jam file (like explained) and I modify the file, the modification is the following:
import toolset : using gcc ; # GCC configuration # Configure gcc (default version) using gcc : : "C:\mingw\bin\g++";
It looks like your email client is eating newlines. I assume your user-config.jam has this: # GCC configuration # Configure gcc (default version) using gcc : : "C:\mingw\bin\g++"; and if so, you need a whitespace before ";" - Volodya

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Vladimir Prus Sent: 31 August 2007 10:12 To: boost@lists.boost.org Subject: Re: [boost] [Boost.Build] installation problem
david shaw wrote:
I open the user-config.jam file (like explained) and I modify the file,
using gcc : : "C:\mingw\bin\g++";
and if so, you need a whitespace before ";"
This syntax is so foreign - bizarre even - to most users, that I would beg someone PLEASE to put a warning on ALL jamfiles, something like # WARNING! Jam syntax means you need a whitespace before every ; I'll bet this trips up every single first-time user (been there, done that), usually when you are struggling to understand what ithe jamfile is trying to do. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com

Paul A Bristow wrote:
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Vladimir Prus Sent: 31 August 2007 10:12 To: boost@lists.boost.org Subject: Re: [boost] [Boost.Build] installation problem
david shaw wrote:
I open the user-config.jam file (like explained) and I modify the file,
using gcc : : "C:\mingw\bin\g++";
and if so, you need a whitespace before ";"
This syntax is so foreign - bizarre even - to most users, that I would beg someone PLEASE to put a warning on ALL jamfiles, something like
# WARNING! Jam syntax means you need a whitespace before every ;
I'll bet this trips up every single first-time user (been there, done that), usually when you are struggling to understand what ithe jamfile is trying to do.
I'd guess that fixing that in jam is less work than editing all Jamfiles (or writing a script to edit all Jamfiles). That said, nobody had the time still, patches welcome. - Volodya

Hi, I 've added the whitespace between the " and the ; to "C:\mingw\bin\g++"; I 've created a file named boost-buid.jam in the root directory with the single line boost-build C:\Documents and Settings\src\boost\tools\build\v2 ; I run bjam (like explained): C:\Documents and Settings\src\boost\tools\build\v2\example\hello>bjam I get : C:\Documents and Settings\src\boost\tools\build\v2\kernel\modules.jam:280 :in modules.import IMPORT error:rule "gcc" unknown in module "toolset." ... ... ... ... What is the problem? David
Wrom: PTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZ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KEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKP
Retrouvez tous les services Windows Live sur votre mobile ! http://mobile.live.fr/
participants (3)
-
david shaw
-
Paul A Bristow
-
Vladimir Prus