Date: Tue, 3 Jun 2008 14:53:42 -0300 From: =?UTF-8?Q?Germ=C3=A1n_C._Basisty?= <german.basisty@eipsistemas.ath.cx> To: "'SEan Strand'" <seanjstrand@gmail.com>, <freebsd-java@freebsd.org> Subject: RE: Problems compiling java under FreeBSD Message-ID: <000901c8c5a2$c3493db0$49dbb910$@basisty@eipsistemas.ath.cx> In-Reply-To: <7619cc20806030938l5cfad020qa51ce8a7e88818ba@mail.gmail.com> References: <49372.192.168.13.101.1212504199.squirrel@www.eipsistemas.ath.cx> <7619cc20806030938l5cfad020qa51ce8a7e88818ba@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Well, thank you for your answer, but, what exactly do I supose to install? I understand I need some other non native java to compile native java under freebsd. Is there something like a package or some out of the box way to make java work on BSD? Regards Germán C. Basisty Estudio Informático Patagónico Consultor - Tecnología Informática german.basisty@eipsistemas.ath.cx http://www.eipsistemas.ath.cx -----Mensaje original----- De: SEan Strand [mailto:seanjstrand@gmail.com] Enviado el: martes, 03 de junio de 2008 01:38 p.m. Para: Germán C. Basisty Asunto: Re: Problems compiling java under FreeBSD Hi,ho this looks like you are cheeting on YOU? Never mind, try to install only the /usr/local/jdk1.6.0 and tryto remove the diblo stuff. Cos it dont work so well any more. The zaupdater (or what ever it is called) version is also important to use the correct version. Please can you let me know how you get on? Rgds SEanS D.Sc, MBA & B.Sc Sp Ed. On 03/06/2008, Germán C. Basisty <german.basisty@eipsistemas.ath.cx> wrote: > Helo Folks! > > Im trying to compile jdk16 to run tomcat. After make install clean (every > additional file allready downloaded) I get the following error message: > > … > > gmake ALT_SLASH_JAVA=/java ARCH_DATA_MODEL=32 > ALT_OUTPUTDIR=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outp > utdir > ALT_EXPORT_PATH=/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/im > port PREVIOUS_JDK_VERSION=1.5.0 ALT_BOOTDIR=/usr/local/diablo-jdk1.5.0 > FULL_VERSION="1.6.0_03-p4-root_29_may_2008_15_47-b00" JDK_VERSION=1.6.0_03 > COOKED_JDK_UPDATE_VERSION=30 COOKED_BUILD_NUMBER=0 JDK_MKTG_VERSION=6u3 > JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 all_product > > gmake[1]: Entering directory `/usr/ports/java/jdk16/work/hotspot/make' > > gmake VM_TARGET=product generic_build2 > > gmake[2]: Entering directory `/usr/ports/java/jdk16/work/hotspot/make' > > mkdir -p /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir > > cd /usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir; \ > > gmake -f /usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile \ > > > HOTSPOT_BUILD_VERSION=1.6.0_03-p4-root_29_may_2008_15_47-b00 > JAVA_HOME=/usr/local/diablo-jdk1.5.0 > GAMMADIR=/usr/ports/java/jdk16/work/hotspot MAKE_VERBOSE=y product > > gmake[3]: Entering directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' > > gmake -f /usr/ports/java/jdk16/work/hotspot/build/bsd/Makefile checks > > gmake[4]: Entering directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' > > /usr/local/diablo-jdk1.5.0/bin/javap javax.xml.transform.TransformerFactory >> /dev/null 2>&1; \ > > if [ $? -ne 0 ]; then \ > > /usr/local/diablo-jdk1.5.0/bin/java -version; \ > > echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \ > > "to bootstrap this build" 1>&2; \ > > exit 1; \ > > fi > > Illegal instruction (core dumped) > > > > … > > > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Fatal error 'Cannot allocate red zone for initial thread' at line 384 in > file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) > > Illegal instruction (core dumped) > > *** An XSLT processor (J2SE 1.4.x or newer) is required to bootstrap this > build > > gmake[4]: *** [check_j2se_version] Error 1 > > gmake[4]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' > > gmake[3]: *** [bsd_i486_compiler2/debug] Error 2 > > gmake[3]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' > > gmake[2]: *** [generic_build2] Error 2 > > gmake[2]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' > > gmake[1]: *** [product] Error 2 > > gmake[1]: Leaving directory `/usr/ports/java/jdk16/work/hotspot/make' > > gmake: *** [hotspot-build] Error 2 > > *** Error code 2 > > > > Stop in /usr/ports/java/jdk16. > > *** Error code 1 > > > > Stop in /usr/ports/java/jdk16. > > I asked in a spanish general freebsd mailing list and they told me its a > problem > with the disassembler javap. The also told me to ask right here :) ç > > I hope you can help me. > Bests regards, > > -- > Germán C. Basisty > Estudio Informático Patagónico > Consultor - Tecnología Informática > german.basisty@eipsistemas.ath.cx > http://www.eipsistemas.ath.cx > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > No virus found in this incoming message. Checked by AVG. Version: 8.0.100 / Virus Database: 269.24.6/1480 - Release Date: 03/06/2008 07:00 a.m.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c8c5a2$c3493db0$49dbb910$>
