[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

make install-javahl fails

From: Steve Cohen <scohen_at_javactivity.org>
Date: 2005-02-12 23:49:44 CET

OK, let's start fresh. I posted this earlier but in a way that may have
been too verbose. I'm trying to install javahl with no luck onto a RH9
system.

My JAVA_HOME is /usr/local/j2sdk1.4.2. It's a Sun JDK, installed in
/usr/local precisely because it was installed outside of the redhat RPM
system.

I've installed eclipse 3.0. It works fine with this java configuration.

I've installed subversion-1.13 via src rpm (from David Summers). It
works. This rpm does not install javahl.

I still have the BUILD directory with all the makefiles, configure
scripts, etc.

I've installed subeclipse. It works - albeit slowly.

 From this configuration, I can run make-javahl and it works.
I cannot run install-javahl. It tries to install the libraries into
/usr/local/lib producing error message from libtool:

libtool: install: error: cannot install `libsvn_delta-1.la' to a
directory not ending in /usr/lib

I'm not a configure whiz so I don't know how to get configure to
generate what I need. And to be honest, I don't know what I need,
exactly. Is there a summary of what files have to end up in what
directories somewhere? With that, I could almost write my own script.

I did see this directive in the makefile:
prefix = /usr/local

and tried changing it to:
prefix = /usr

This succeeds in loading several libraries under /usr/lib, but then
fails here:

libtool: install: error: cannot install `libsvnjavahl-1.la' to a
directory not ending in /usr/local/lib

Apparently the configure script carries with it an assumption that the
JAVA_HOME and the standard linux libraries are all under the same path.
  In my case that is not true. My libdir is /usr/lib, my java lives
under /usr/local.

How can we configure this to load javaHL under my system? It seems a
shame to have come all this way only to fail because of an install script.
Received on Sun Feb 13 09:49:44 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.