Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 18:55:26 -0700
From:      Chad Leigh -- Shire.Net LLC <chad@shire.net>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   can't build Java 1.5.0 on FreeBSD/i386 6.0-RELEASE (inside jail)
Message-ID:  <1A8EA6AA-DC0A-4DCA-ABEF-639984BA80B1@shire.net>

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

I have successfully built Java 1.4.2 inside a jail on 5.4, but am  
having problems doing the same thing for 1.5.0 on 6.0.

I have all the Sun stuff downloaded as well as the linux 1.4.2  
runtime port installed fine.

The build ran for a million hours.  At which point it came back with:

gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ 
sun/javac/javac'
gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac  
VARIANT=OPT
gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ 
sun/javac/javac'
rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/ 
com.sun.tools.javac/javac/.classes.list
/usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java - 
classpath ../../../tools/CompileProperties  
CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ 
resources/compiler.properties /usr/ports/java/jdk15/work/control/ 
build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/ 
gensrc/com/sun/tools/javac/resources/compiler.java] Error 2
gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ 
javac/javac'
gmake[5]: *** [optimized] Error 2
gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ 
javac/javac'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ 
javac'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ 
java/javac'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.
#

a find shows:

# find / -name libjava.so -print
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so
/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so
/usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_10/jre/lib/i386/ 
libjava.so
#

Google showed various issues none of them related to building and  
installing.

thanks for any ideas
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1A8EA6AA-DC0A-4DCA-ABEF-639984BA80B1>