Mark Wielaard a écrit :
Hi Yohann,
On Tue, 2006-10-03 at 09:39 +0200, Yohann Martineau wrote:
I try to install gnu classpath 0.92 in a custom directory
(/home/yohann/local) because I can't be root on the server I'm using. I
used configure with --prefix option this way:
./configure --prefix=/home/yohann/local
but it did not work, it seems that the file libjawt.la is being copied
anywhere in /usr/local.
Is there any option I have to add to the configure script ?
It should "just work". I tried it just now and it seems to install fine
under a custom prefix for me.
Here is the error log:
test -z "/home/yohann/local//lib/classpath" || mkdir -p --
"/home/yohann/local//lib/classpath"
/bin/sh ../../libtool --mode=install /usr/bin/install -c 'libjawt.la'
'/home/yohann/local//lib/classpath/libjawt.la'
libtool: install: error: cannot install `libjawt.la' to a directory not
ending in /usr/local/classpath/lib/classpath
Strange. Maybe you configured and build first without a prefix? Then
maybe you need to make clean first?
Which version of libtool are you using? Mine is:
$ libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
Cheers,
Mark
hello mark,
You are probably right. I compiled a first time without the prefix and
then I configure with prefix but I did not clean.
But I have downloaded the previous version, which is recommanded with
jamvm, and it was ok for the installation.
Maybe I will retry the last version (with a clean) of classpath when
I'll have the time.
Thank you,
yohann