Java sdk 1.4.2 build problem

Guy Knights g.knights at qut.edu.au
Thu Aug 26 23:29:03 PDT 2004



I'm trying to build jdk14 using the ports collection. I'm new to Freebsd, 
but I've managed to piece all the bits together and get it compiling. It 
ran quite happily for 2 or 3 hours, but stopped with the error below:

# make -v -n -V MAKEFLAGS install ALT_OUTPUTDIR=/web/tmp
  -v -n -V MAKEFLAGS
[mertyl][15:37] ...ports/java/jdk14# make install 
ALT_OUTPUTDIR=/web/tmp        ===>  Installing for jdk-1.4.2p6_4
===>   jdk-1.4.2p6_4 depends on executable: javavm - found
===>   jdk-1.4.2p6_4 depends on file: 
/usr/X11R6/lib/X11/fonts/URW/fonts.dir - found

Please use `make -DWITH_DEBUG' if you want to install libraries and binaries
with debugging support.

===>   Generating temporary packing list
===>  Checking if java/jdk14 already installed
/bin/mkdir -p /usr/local/jdk1.4.2
cd /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image && 
/usr/bin/find .  | /usr/bin/cpio -pdmu -R root:wheel /usr/local/jdk1.4.2
cd: can't cd to 
/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
*** Error code 2

Stop in /usr/ports/java/jdk14.

Unfortunately, I don't know what to do about this. I've managed to get past 
a few issues while trying to do this, but this one has me stumped. The 
directory 
/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image 
doesn't exist, but I don't know why, or what was supposed to create it.

The only thing I can think of is that I had to link libintl.so.5 to 
libintl.so.4 to allow gmake to run, but there's been no problems with that 
so far.

Any help would be greatly appreciated!

Thanks,
Guy Knights



More information about the freebsd-java mailing list