Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2004 16:28:50 +1000
From:      Guy Knights <g.knights@qut.edu.au>
To:        freebsd-java@freebsd.org
Subject:   Java sdk 1.4.2 build problem
Message-ID:  <5.1.1.5.2.20040827162129.00b3f940@pop.qut.edu.au>

next in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.5.2.20040827162129.00b3f940>