From owner-freebsd-java@FreeBSD.ORG Tue Aug 10 22:27:02 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 171CF16A4CE for ; Tue, 10 Aug 2004 22:27:02 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7753343D41 for ; Tue, 10 Aug 2004 22:27:01 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i7AMQs6Z061469; Wed, 11 Aug 2004 00:26:54 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Greg Lewis From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 10 Aug 2004 16:23:27 MDT." <20040810222327.GB16802@misty.eyesbeyond.com> Date: Wed, 11 Aug 2004 00:26:54 +0200 Message-ID: <61468.1092176814@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: java@freebsd.org Subject: Re: current doesn't build jdk14. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 22:27:02 -0000 In message <20040810222327.GB16802@misty.eyesbeyond.com>, Greg Lewis writes: >> + 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 ? > >It looks like the best idea would be to use a jdk14 built on 4.x. That >_should_ run under 5.x now that the libm compatibility issues have been >resolved. > >I'm not convinced this will be successful though. For example, I am >using a 4.x machine and I can run Opera, it claims the JDK I point >it at is valid, but no applets will run. yeah, I think their test is just for the precence of some particular file, and I belive there are two different places which match that test. -- 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.