Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-10-01 03:22:26


Arkadiy Vertleyb wrote:
> "Reece Dunn" <msclrhd_at_[hidden]> wrote in message
> news:dhksbs$t7v$1_at_sea.gmane.org...
>>Arkadiy Vertleyb wrote:
>>
>>>I am trying to build it from BOOST-ROOT/doc. Here is what I am getting:
>>>
>>>C:\ark\boost-cvs\boost\doc>bjam --v2
>>>syntax error at EOF
>>
>>Do you have something like:
>>
>> using xsltproc # ;
>>
>>where the ; is missing in the last using decleration? Or in some other
>>Jamfile? This is the usual cause for syntax error at EOF (not a very
>>helpful error message!)
>>
>>This may fix the other problems (except the python warnings which you
>>can ignore unless you need Boost.Python).
>
> That was it, thanks! Missing space before semicolon...

...sounds like a FAQ to me :) Volodya?

If you get the error message:

syntax error at EOF

this is usually caused by leaving off the semicolon at the end of the
last target decleration. For example:

exe foo : bar.cpp

It can also occur if you forget to place whitespace around the
semicolon. For example:

exe foo2 : bar2.cpp;

NOTE: Is there a way to detect and report this, or are we leaving it as
we are going to be moving to BBpy :)

- Reece

 


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