Because the svn version on the latest official Ubuntu source is 1.6, And the subclipse plug-in version on eclispe is not suitable for svn version 1.7, especially because of javahl library now eclipse use very bug, now you can use other people to package their own svn1.7 to try, refer to: http://steveliles.github.com/subversion_1_7_eclipse_integration_ I
Due to the latest UBuntuOn the official sourceSvnVersion is1.6, AndEclispeThe aboveSubclipsePlug-in version pairSvnVersion requirements:1.7There is something inappropriate, especiallyJavahlLibrary causes the currentEclipseEasy to useBug, You can now use other people to package their ownSvn1.7For more information, see:Http://steveliles.github.com/subversion_1_7_eclipse_integration_in_Ubuntu.html
Adddominik's repository: sudo apt-add-repositoryppa:dominik-stadler/subversion-1.7
Updateapt: sudo apt-get update
Installlibsvn-java: sudo apt-get install libsvn-java
Installsubversion 1.7: sudo apt-get install subversion
Pay attention to self-CompilationSvnThe code must be run at the endSudoldconfig
Code compilation process (seeINSTALLDocument, and then take this as a reference ):
Make distcleanClear all previously generated files, includingMakefile
Ls-l/usr/local/lib/libsvn *ViewLibAboutSvnIt is best to compile and install the relevant database at a unified time. Otherwise, do not run the next step to delete the database.
Sudo rm/usr/local/lib/libsvn *DeleteSvnRelated library files
./Autogen. shRe-check the configuration and generate a newConfigure
./Configure -- enable-maintainer-mode-enable-javahlProceedMakeIn the previous Environment check, check whether the required library dependencies are complete. If not, please firstApt-cachesearchThenApt-getinstallCorresponding library file ,-Enable-javahlThis is for compilationJavahlPrepare related library Dependencies
Make-j2 external-allI don't know what to do. (test has no output. Please perform some simple tests)
The official documents are described as follows:
Notethat if you commonly build with the-jN option to make and
Haveused the get-deps.sh script to fetch dependencies, the make
Stepabove may fail, because we don't ensure that third party
Librariesin our source tree will finish building before
Subversionitself. If you want to use-jN, use the following
Instead:
$./Configure
$ Make-jN external-all
$ Make-jN local-all
$ Make check
# Make install
Make-j2 local-allCompile code
Make checkI don't think it is very slow to perform the compiled test check.
Make check-cleanDelete the intermediate file for code check.Ctrl-CCancel the deletion, so run the delete operation)
Make javahlCompileJavahlLibrary file (this is very important becauseSubclipseFor how it depends), see
Sudo make install-docs install-javahl install-man install-staticInstall compiled files and help documents to the System
Sudo ldconfig-vIt is important to connect the compiled library files. OtherwiseEclispePromptJavahlThe library is missing, but the file actually exists in the corresponding path, which is not clear. I only re-compile and install it once. It hurts !!! My output is as follows (list part)
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2