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

Re: Subclipse under Linux

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-07-19 21:41:58 CEST

Christian Sell <christian.sell@netcologne.de> wrote on 07/19/2005 03:23:14
PM:

> I hope the subject line does not prevent people from reading this..
>
> I just tried to install Subclipse under Linux (2.4, SuSE 9.2), and have
given
> up. Let me add that I consider myself both an experienced Eclipse and
Linux
> user (and an experienced Eclipse plugin programmer).
> I have installed Subversion 1.2.1, and compiled the Javahl bindings. I
still get
> a "could not find the JavaHL bindings" message in the eclipse error log.
I can
> browse a remote repositiory, but when I do a checkout, I get an
"internal
> error" after a while, and the error log is full of exceptions
(Nullpointers and
> others). The checkout seems to have gone through to some extent (there
are
> files on my disk).

Java itself does not follow normal Linux conventions for loading
libraries. There are a number of different ways to make it work using
symlinks, copying the libraries etc.. What I do is start Eclipse with a
shell script that sets LD_LIBRARY_PATH and points it to where the
Subversion libraries are installed. For example:

export LD_LIBRARY_PATH=/usr/local/lib
./eclipse

> I think this is a mess, and really an unbearable if subclipse (and
subversion)
> is ever going to make it in the eclipse community. Subclipse should
install
> under Linux without any additional requirements, and be asindependent of
> library versions and the like as possible. I would like to offer my help
> ingetting subclipse up and running if someone will point me to where I
can
> start..

You are welcome to try. The issue has been covered fairly exhaustively in
the past. There are a number of hurdles to making it work. I noticed the
latest release of Eclipse itself has some issues related to SWT. They had
to "cheat" and install a copy of the Cairo library in the Eclipse folder.
Normal plugin providers do not have the luxury as the Eclipse plugin
install process does not provide any realistic mechanisms for doing this.

> What about focusing on JavaSVN instead of JavaHL.
> BTW, I tried to install JavaSVN as described, but no success either.

I do not think that JavaSVN has an official release available yet that is
compatible with Subclipse 0.9.31. You have to build it from source, or
use Subclipse 0.9.30.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Wed Jul 20 05:41:58 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.