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

javahl on Suse. Please help...

From: David Coppit <subclipse_at_coppit.org>
Date: 2005-01-31 19:07:09 CET

I'm trying to build and use the javahl bindings on Suse (but using the
existing SVN rpm installation, not rebuilding everything). The build seems
to work okay, but subclipse still complains when I try to open the SVN
perspective. Here's exactly what I did:

- Installed all required libraries except neon, which is distributed with
   subversion
- curl -O http://subversion.tigris.org/tarballs/subversion-1.1.3.tar.gz
- tar xvfz subversion-1.1.3.tar.gz
- cd subversion-1.1.3
- export JAVA_HOME=/usr/lib/java
- ./configure --enable-javahl --with-jdk=$JAVA_HOME--with-jikes=$JAVA_HOME/bin/javac --with-apr=/usr/bin/apr-config --with-apr-util=/usr/bin/apu-config --with-ssl
- cd neon && make && cd ..
- make javahl
- make install-javahl
- cd /usr/local/eclipse/plugins/org.tigris.subversion.subclipse.core_0.9.25
- ln -s /usr/local/lib/libsvnjavahl-1.so libsvnjavahl.so
- mv svnjavahl.jar svnjavahl.jar.old
- ln -s /usr/local/lib/svn-javahl/svn-javahl.jar svnjavahl.jar
- ln -s /usr/local/lib/libsvnjavahl-1.so libsvnjavahl.so

There were some warnings about libxml2 when I compiled ran "make
javahl"... I don't know if they are significant. Also, I don't know where
svnjavahl.jar came from in the plugin directory, but I figured I should
replace it with the newly built one.

I'm not sure what information you need about my system. It's Suse 9.1,
Eclipse 3.0, Java 1.4.2_06.

Thanks,
David

P.S. It would be really helpful if these steps be described somewhere on
the subclipse website. Luckily this website helped me out:

http://ibao.hopto.org/blog/debian/archives/2004/12/compiling_javah_1.html

[I believe I got this from a FAQ change request for subclipse.]
Received on Tue Feb 1 05:07: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.