Boost logo

Boost-Build :

From: tipler21 (jdonner0_at_[hidden])
Date: 2002-10-22 00:17:18


> Nicola Musatti <gclbb-jamboost_at_m...> writes:
> > I downloaded the prebuilt Boost.Jam for cygwin by clicking on the
> > (tools/build/index.html) with Mozilla 1.1. When I tried to
> > uncompress it both WinZip and cygwin's gunzip failed with an
> > "Unexpected end of file" message.
>
> Well, you're right that it's busted. I just tried to fix it but I
> don't have write permission on that file. John, could you take
> > care of that?
...
>
> Fortunately for you, Nicola, rebuilding the cygwin version is as easy
> as
>
> make CC=gcc
>
> in the tools/build/jam_src directory.

Hi,

The cygwin pre-built jam is still broken, and, I tried these
instructions (make CC=gcc) with boost_1_29 etc but I get these
errors:

$ make CC=gcc
chmod a+w jambase.c
./jam0 -sJAMBASE= -sBOOST_ROOT= -sBOOST_BUILD_PATH=
...found 199 targets...
...updating 42 targets...
Cc bin.cygwinx86/jam.o
Cc bin.cygwinx86/mkjambase.o
Link bin.cygwinx86/mkjambase.exe
Chmod1 bin.cygwinx86/mkjambase.exe
GenFile1 jambase.c
Cc bin.cygwinx86/jambase.o
Cc bin.cygwinx86/command.o
Cc bin.cygwinx86/compile.o
Cc bin.cygwinx86/execunix.o
Cc bin.cygwinx86/fileunix.o
Cc bin.cygwinx86/pathunix.o
MyChmod1 jamgram.y
: not found
chmod: getting attributes of `\r': No such file or directory

chmod 711 ./yyacc

...failed MyChmod1 jamgram.y...
...skipped jamgram.h for lack of jamgram.y...
...skipped jamgram.c for lack of jamgram.y...
...skipped jamgram.o for lack of jamgram.c...
..

and for want of jamgram.y, bjam.exe is ultimately lost.
There's a jamgram.yy present and I copy it to jamgram.y,
but I get:

Yacc1 jamgram.c jamgram.h
jamgram.y:48: unexpected item: `
jamgram.y:48: Skipping to next %
jamgram.y:49: unexpected item: `
jamgram.y:49: Skipping to next %
jamgram.y:50: unexpected item: `
jamgram.y:50: Skipping to next %
jamgram.y:51: unexpected item: `
jamgram.y:51: Skipping to next %
jamgram.y:52: unexpected item: `
jamgram.y:52: Skipping to next %
jamgram.y:119: invalid input: ``'
jamgram.y:119: ill-formed rule: initial symbol not followed by colon
jamgram.y:119: invalid input: ``'
jamgram.y:119: ill-formed rule: initial symbol not followed by colon
jamgram.y:119: invalid input: ``'

Could it be as simple as not liking the backquotes?
Any advice? I have set BOOST_ROOT & BOOST_BUILD_PATH
but it makes no difference.
I'm using a pretty recent cygwin, gcc 3.2, bison 1.35, etc

Thanks,

Jeff

 


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