Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

flex build (Was: build fails on read-only /usr/src)

On Monday 2009-10-26 12:19 +1000, George Michaelson output:
:echo '#include <initscan.c>' >/usr/src/external/bsd/flex/dist/scan.c
:sh: cannot create /usr/src/external/bsd/flex/dist/scan.c: read-only
:file system
:*** Failed target:  scan.c
:*** Failed command: echo '#include <initscan.c>' >/usr/src/external/
:*** Error code 2
:nbmake: stopped in /usr/src/tools/lex
:I have invoked
:nice ./ -U -u -x -O /usr/obj release &>/var/tmp/build.log
:looks like somebody has modified src state, in a way which demands a
:write in /usr/src which hasn't been OBJified

It is src/tools/lex/Makefile - you need to remove the scan.c rule.

Then, in src/external/bsd/flex/dist/ you need to fix: gen.c, misc.c,
scanopt.c, and tables.c

Or you can just "cvs update" since Christos has reversed it for now.


Home | Main Index | Thread Index | Old Index