Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Karl Trygve Kalleberg <karltk@g.o>, gentoo-java@g.o
From: Petteri Räty <betelgeuse@g.o>
Subject: Re: the new java setup and jni
Date: Fri, 19 Aug 2005 09:10:38 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Karl Trygve Kalleberg wrote:
> Petteri Räty wrote:
> 
> I don't see how symlinks in /usr/include can work. If there are two
> users on a system, each with his own prefered VM, how can we export two
> sets of symlinks for that system?

True.

> 
> Of course you can argue that this is an unlikely situation, but what if
> root stops the merge with a ctrl-C? Then the /usr/include/jni.h will be
> completely wrong, in this scheme.
> 

That is is out of the question then.

> 
> As you pointed out yourself, some packages try to be smart and find the
> jni.h themselves. If they use something like if [ -x ${path}/jni.h ],
> putting an -I in CFLAGS won't help much, and the configure script will
> probably stop with an error.
> 

This is one the issues to discuss at DevJam. Standards are a good thing.
Well you could ensure that -I is the first option to the compiler but I
agree that it we should come up with something more bullet proof.

>
> If the package tries to find the jni.h by compiling with various -I
> options, we may get lucky. The only remaining problem then is ensuring
> that we in fact do _not_ have a gcj-installed jni.h in /usr/include,
> since that may take precedence.
>

Let's mail upstream and see what happens.

> 
> 
> -- Karl T

Regards,
Petteri Räty
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDBXfccxLzpIGCsLQRAgYPAJ9tZp7ftQmlU5mRQZTU62BOKEkBEwCghUZU
SIgy+kgCrK5cl6fGJAVCHe0=
=qpms
-----END PGP SIGNATURE-----
-- 
gentoo-java@g.o mailing list


References:
Re: the new java setup and jni
-- Karl Trygve Kalleberg
Re: the new java setup and jni
-- Karl Trygve Kalleberg
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: the new java setup and jni
Next by thread:
Re: Re: the new java setup and jni
Previous by date:
Re: the new java setup and jni
Next by date:
Re: Re: the new java setup and jni


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.