Boost logo

Boost-Build :

Subject: Re: [Boost-build] bootstrap failed using sun studio 11 - Please help
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2011-05-14 11:42:47


On 5/14/2011 8:06 AM, Alex Lai (Scotia Capital) wrote:
> Thanks for pointing out the fact that boost sources are C code.

Actually, it's only the bjam sources that are C. Not all of Boost ;-)

> I'm
> still not able to build Boost.Jam, even I've set the CC and CXX
> correctly. It complained syntax errors in
> ./tools/build/v2/engine/src/fileunix.c:
>
> # tail -50 bootstrap.log
>
> "fileunix.c", line 82: syntax error before or at: ||
>
> "fileunix.c", line 82: invalid source character: '\'
>
> Any ideas?

Hm, I think I've seen this sort of problem when the line-endings on the
sources files is wrong for the platform. Did you happen to download the
ZIP of 7z instead of the TAR?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

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