Updated Step-by-step Linux installation guide
From: Aaron Digulla <digulla_at_hepe.com>
Date: 2004-10-02 14:44:45 CEST
McClain Looney wrote:
> On Sat, 02 Oct 2004 01:19:04 +0200, Aaron Digulla <digulla@hepe.com> wrote:
Thanks. Here is the updated version (which also fixes libpath problems).
* Download subversion-1.1.0.tar.bz2 from subversion.tigris.org
* Unpack the archive: tar xjf subversion-1.1.0.tar.bz2
This will get you a new directory subversion-1.1.0
* Go into that directory cd subversion-1.1.0
* Download junit3.8.1.zip from www.junit.org
* Unpack junit: unzip junit3.8.1.zip
* Run configure: ./configure '--with-zlib' '--with-ssl' '--enable-javahl'
(everything in one line)
--with-zlib: If you have libz.a or libz.so installed. Check with: whereis libz
--with-ssl: If you want to connect to a server via https. Check with:
--enable-javahl: The most important one when you plan to use Subclipse
--with-jdk=/path/to/your/java/1.4: Change the patch to where JSDK 1.4 is
--with-jikes=/path/to/javac: Path to the "javac" executable. Probably
--with-junit=path/to/junit.jar: Path to junit.jar including the file itself.
* Wait while configure does it's job. It will complain when important stuff
debian and other should be fine but maybe some packages are still missing.
* Run make: make -j2
-j2 will compile two files at the same time. This will make the compile go
* There is a bug in the makefiles for javahl. When you try to compile, a
mkdir subversion/bindings/java/javahl/classes
* Compile javahl: make javahl
* Install subversion and javahl (run as root): make install install-javahl
* Compile the tests for javahl (this is one line): make javahl-tests
If you get errors like this, then Java cannot find junit.jar:
...cannot resolve symbol
* Run the tests to make sure that javahl is good (again one line): make
This should print about 20 dots and then "OK (20 tests)"
If you get this error, then Java cannot find junit:
Exception in thread "main" java.lang.NoClassDefFoundError:
If you get this error, then make sure libsvnjavahl is linked against
undefined symbol: __gxx_personality_v0
To fix this error:
* Edit the Makefile and search for "LIBS = -lz" and append " -lstdc++" so
* Delete the library so make will create it again:
rm subversion/bindings/java/javahl/native/libsvnjavahl-1.la
* make javahl
* As root: make install-javahl
* Now, to install subclipse, start eclipse: eclipse
* Open the Help menu, select "Software Updates" and "Find and install..."
* Choose "Search for new features to install" and click next.
* Click "New Remote Site..."
* Name: Subclipse
* URL: http://subclipse.tigris.org/update
* Click OK
* Check the checkbox next to "Subclipse"
* Click next.
* Wait while eclipse looks for updates
* Select the available updates
* Click next
* Accept the license
* Click next
* Click finish
* Click install
* When it asks to restart the workbench, copy the file
Afterwards restart the workbench.
* After the restart, open the preferences and open "Team". There should now
* Make sure that "Javahl (JNI)" is selected. If you get errors in Eclipse's
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH eclipse
* Have fun.
-- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://www.philmann-dark.de/Received on Sat Oct 2 22:44:45 2004 |
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.