Date: Tue, 10 Aug 2004 23:10:27 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Greg Lewis <glewis@eyesbeyond.com> Cc: java@FreeBSD.org Subject: Re: current doesn't build jdk14. Message-ID: <67422.1092172227@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 10 Aug 2004 12:59:49 MDT." <20040810185949.GA54509@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040810185949.GA54509@misty.eyesbeyond.com>, Greg Lewis writes: >On Tue, Aug 10, 2004 at 08:35:24PM +0200, Poul-Henning Kamp wrote: >> In message <20040810182850.GA95018@misty.eyesbeyond.com>, Greg Lewis writes: >> >On Tue, Aug 10, 2004 at 05:05:20PM +0200, Poul-Henning Kamp wrote: >> >> gmake[4]: *** [/freebsd/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/sun.awt.font/fontmanager/obj/t2kScalerContext.o] Error 1 >> >> gmake[4]: Leaving directory `/freebsd/ports/java/jdk14/work/j2se/make/sun/font' >> > >> >See PR 69853 for patches. >> >> Already building... >> >> Anyone know if opera+java has started working ? > >I've never gotten it to work. My recollection from trying this reasonably >recently is that Opera says that the JDK is valid but won't actually >display any applets. I haven't tried ktrace to see what its trying to do >yet. If anyone has any contacts at Opera I'd be interested in finding out >exactly what they do with the JDK so we can figure out why its not working. Ok, tried now. The opera binary needs: critter phk> ldd /usr/local/share/opera/bin/opera /usr/local/share/opera/bin/opera: libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28980000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28a3f000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28a4c000) libm.so.2 => /lib/libm.so.2 (0x28a54000) libc_r.so.4 => /usr/lib/compat/libc_r.so.4 (0x28a6e000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28b24000) So it is obviously built for 4.x When running it, configured for my new jdk14 this is what happens: [...] + export OPERA_DIR OPERA_PLUGIN_PATH PATH + LD_LIBRARY_PATH=/usr/local/share/opera/bin:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/lib/i386/native_threads:/usr/local/jdk1.4.2/jre/lib/i386/client:/usr/local/jdk1.4.2/jre/lib/i386/classic: + export LD_LIBRARY_PATH + eval exec '/usr/local/share/opera/bin/opera' --binarydir '/usr/local/share/opera/bin' + exec /usr/local/share/opera/bin/opera --binarydir /usr/local/share/opera/bin opera: Could not initialize spell checker interface. File not found or could not be opened (-7) opera: /usr/lib/libpthread.so.1: Undefined symbol "_kevent" The jdk is obviously built against libpthread.so.1 and therefore need the _kevent system call which the 4.x libc doesn't have... I've tried to preload libc_r.so.5 but that doesn't work. Any good ideas ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67422.1092172227>