[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd behavior with --prefix

From: Michael Koch
Subject: Re: Odd behavior with --prefix
Date: Fri, 20 May 2005 06:52:51 +0200
User-agent: mutt-ng 1.5.9-r292i (Debian)

On Fri, May 20, 2005 at 01:12:06AM +0200, Robert Schuster wrote:
> Hash: SHA1
> Hi all,
> from the debate about java.util.logging.LogManager I stepped upon a
> small oddity with our configure script:
> 1) Gentoo configures gnu classpath with
> ./configure --prefix=/usr --host=i686-pc-linux-gnu
> - --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
> - --sysconfdir=/etc --localstatedir=/var/lib --enable-jni
> - --enable-gtk-peer --enable-xmlj --prefix=/usr/share/gnu-classpath
> - --with-jikes=/usr/bin/jikes
> Sharp eyes will see that the line contains --prefix two times:
> ./configure *--prefix=/usr* --host=i686-pc-linux-gnu
> - --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
> - --sysconfdir=/etc --localstatedir=/var/lib --enable-jni
> - --enable-gtk-peer --enable-xmlj *--prefix=/usr/share/gnu-classpath*
> - --with-jikes=/usr/bin/jikes
> This is obviously a bug in gentoo's installation script and I am going
> to fix it. However the interesting bit is, that our configure script
> takes the value of (the 2nd) --prefix and puts it to
> gnu.classpath.Configuration.CLASSPATH_HOME as "/usr/share/gnu-classpath"
> on Gentoo.
> At installation time goes to /usr/share (datadir I suppose)
> but the JNI libraries are installed to /usr/lib/classpath and I suppose
> it used the first version of --prefix for this.
> Is there a possibility to make configure cry out loud when it is misused
> in such a way?

Afaik not in our stuff. You need to fix autoconf itself to not allow this.

Escape the Java Trap with GNU Classpath!

Join the community at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]