Subject: Re: lang/sun-jre15 on 4.0_BETA2 (amd64)
To: Adrian Portelli <adrianp@stindustries.net>
From: Nicolas Joly <njoly@pasteur.fr>
List: pkgsrc-users
Date: 03/30/2007 18:31:51
On Fri, Mar 30, 2007 at 05:22:52PM +0100, Adrian Portelli wrote:
> Nicolas Joly wrote:
> ...
> > I'll guess that you are emulating a 2.4 Linux kernel.
> > I would try to switch to 2.6 for NPTL emulation ...
> > 
> > sysctl -w emul.linux.kern.osrelease=2.6.20
> > 
> 
> Brilliant.  This fixed it, thanks very much.
> 
> Is this documented somewhere in pkgsrc land ?  If this is a common
> problem that users might come across is it worth updating the MESSAGE in
> the java packages we have ?

Or we could change the default value for kernel emulated version on
NetBSD/amd64. COMPAT_LINUX was originally developped for 2.6 emulation
with NPTL, and some incompatibilities with 2.4 may remains.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.