On Sat, Sep 04, 2004 at 04:43:00AM -0500, Mike Meyer wrote: > I'm getting the attached when trying to build jdk14, using the > linux-sun-jdk as the pre-installed jdk. > > /datmp/ports/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: > 'class' or 'interface' expected > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location > ^ > /datmp/ports/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: > unclosed character literal > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location > ^ > 2 errors > gmake[4]: *** [.compile.classlist] Error 1 > gmake[4]: Leaving directory > `/datmp/ports/usr/ports/java/jdk14/work/j2se/make/java/java' > gmake[3]: *** [optimized] Error 2 > gmake[3]: Leaving directory > `/datmp/ports/usr/ports/java/jdk14/work/j2se/make/java/java' > gmake[2]: *** [all] Error 1 > gmake[2]: Leaving directory `/datmp/ports/usr/ports/java/jdk14/work/j2se/make/java' > gmake[1]: *** [all] Error 1 > gmake[1]: Leaving directory `/datmp/ports/usr/ports/java/jdk14/work/j2se/make' > gmake: *** [j2se-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/java/jdk14. > > Any hints on how to get it to finish greatly appreciated.
Remove the corrupted file -- the build process should regenerate it
automatically.
Make sure that the linux proc filesystem is mounted:
# mount -t linprocfs linprocfs /compat/linux/proc
Restart the build.
Failing that, do a 'make clean' and try building from scratch with
linprocfs mounted.
This bug has bitten quite a few people: that's why the port Makefile
does explicitly print out instructions to mount linprocfs nowadays.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
pgp6cDWkzcvbK.pgp
Description: PGP signature
