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

Re: SDK Problems Compiling JavaHL

From: David Land <david.k.land_at_gmail.com>
Date: 2007-09-17 17:38:22 CEST

Well, it looks like I was simply mistyping the make statement. I had put a
superfluous space in between "install" and "-", which seemed to mess things
up. Pretty boneheaded. After running the correct command, it did seem to
deploy the javahl libraries correctly. Unfortunately, eclipse still won't
let me use the JavaHL adapter with subclipse. I get the following error when
I try to do so:

no libsvnjavahl-1 in java.library.path
/usr/local/lib/libsvnjavahl-1.so.0.0.0: Can't load IA 32-bit .so on a IA
32-bit platform.
no svnjavahl in java.library.path
java.library.path = [...]:/usr/local/lib:[...]

It's true that there is no file called libsvnjavahl-1 in /usr/local/lib, but
there are a number of other files named that with various extension at the
end (like libsvnjavahl-1.so, libsvnjavahl-1.la, and libsvnjavahl-1.0).

I've tried this install a lot of incorrect ways. I'm not sure if it's
possible to get your system into a bad state that way. Also I'm not sure
what the 32-bit platform statement is about. I've read that this statement
can mask a more useful statement and that I may have to downgrade my JDK to
see the real problem. Unless anyone has any other ideas, I guess I'll go
ahead with that.

On 9/17/07, Mark Phippard <markphip@gmail.com> wrote:
>
> On 9/16/07, David Land <david.k.land@gmail.com> wrote:
> > I tried running the same command but instead of using the $JAVA_HOME
> > environment variable, I actually typed the path to the JDK folder, like
> > this:
> >
> > ./configure --enable-javahl
> > --with-jdk=/usr/java/jdk1.5.0_11
> > --with-jikes=/usr/java/jdk1.5.0_11/bin/javac
> >
> > and it worked. However, I'm getting a further error apparently related
> to
> > make. After the configuration tool runs, I type
> >
> > make
> > make javahl
> > make install
> >
> > which all seem to work, then I type
> >
> > make install javahl
> >
> > (note that the FAQ says stype "make install -javahl", which gives me a
> make
> > syntax error). After the last command I eventually get a message stating
> > "nothing to be done for 'javahl'". I'm at a loss as to why this wouldn't
> > work. Is it saying that there were no javahl libraries built? I
> downloaded
> > the subversion-1.4.5.tar.gz and subversion-deps-1.4.5.tar.gz files from
>
> The JavaHL-related make targets are:
>
> make javahl
> make check-javahl
> make install-javahl
> make clean-javahl
>
> Mark
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
Received on Mon Sep 17 17:34:56 2007

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

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