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

Re: cannot get javahl to work

From: Hendrik Maryns <hendrik_maryns_at_despammed.com>
Date: 2005-09-19 10:27:09 CEST

Mark Phippard schreef:
>>And I tried recompiling with --enable-javahl, but this created only a
>>.jar file under /usr/local/lib/svn-javahl/ and eclipse doesn't seem to
>>know what to do with it.
>
>
> You do not need the JAR file as Subclipse includes it. What you need is
> the native library, libsvnjavahl-1.so that the JAR file uses to do the real
> work.
>
> Have you followed the build steps from our FAQ? You need to run configure
> with --enable-javahl, but also some other settings such as the path to your
> JDK.
>
> Then you need to run
>
> make
> make javahl
> make install
> make install-javahl

This indeed did the trick. If you say `our' FAQ, do I assume correctly
that you have something to do with it? In that case, I would suggest
you correct it and put the above four lines in it, because I exactly did
what is written there, and it didn't work!
It says:
./configure --your-other-flags=here --enable-javahl --with-jdk=$JAVA_HOME\
      --with-jikes=$JAVA_HOME/bin/javac &&make && install install-javahl

The part about configure is ok, but with install install-javahl I just
get a shell error. Can you make sure it gets changed into make install
&& make install-javahl instead or should I file a bug report?

Btw, I still had to start Eclipse with the export
LD_LIBRARY_PATH=/usr/local/lib: command, but then it worked.

> Did you look around that SUSE RPM site for a Neon RPM? You would still
> probably be better off going in that direction.

I do have Neon already, that is not the problem. Once I get the hang of
svn, I'll probably move to another repository, but for now I'm
comfortable with a local one.

Thank you very much!

H.

-- 
Hendrik Maryns
==================
www.lieverleven.be
http://aouw.org
Received on Mon Sep 19 18:27:09 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.