User Tools

Site Tools


en:developer:install_svn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:developer:install_svn [2018/08/23 05:52] – [Install Neon] anupamaen:developer:install_svn [2026/07/22 03:54] (current) – [Windows] anupama
Line 1: Line 1:
 +
 +
 +
 ====== SVN Installation ====== ====== SVN Installation ======
  
 ===== Windows ===== ===== Windows =====
 +Also documented at https://trac.greenstone.org/browser/local/greenstone3/windows-64bit/gs3-setup.bat
  
 +You can get a zipped version of SVN for windows (no installer, so no need for admin rights) from https://sourceforge.net/projects/win32svn/files/1.8.17/apache24/, download the plain .zip file \\
 +e.g. svn-win32-1.8.17-ap24.zip, unzip and put its ''bin'' folder on ''PATH''
  
-===== Mac ===== +None of the other suggestions worked from https://stackoverflow.com/questions/185693/svn-client-on-windows-without-administrator-rights 
- +===== Linux and Mac =====
-===== Linux =====+
  
 This covers installing subversion from a source tarball, for client-type uses. This document is based on an install of Subversion-1.4.3.tar.gz, but the install procedure should be similar for other versions as well. This does NOT cover installing Subversion as a server - some other steps are required for that. And it does not cover the procedure for compiling the 'bleeding-edges' version of subversion, which is a little different and more complicated (starting with the fact that you need subversion already installed in order to do it...?) This covers installing subversion from a source tarball, for client-type uses. This document is based on an install of Subversion-1.4.3.tar.gz, but the install procedure should be similar for other versions as well. This does NOT cover installing Subversion as a server - some other steps are required for that. And it does not cover the procedure for compiling the 'bleeding-edges' version of subversion, which is a little different and more complicated (starting with the fact that you need subversion already installed in order to do it...?)
Line 144: Line 149:
 After following these instructions in the fail message, re-run the configure step and then proceed to make and make install. After following these instructions in the fail message, re-run the configure step and then proceed to make and make install.
  
-Now, subversion is installed in ''/research/oranfry/subversion''. To use the ''svn'' command, put ''/research/oranfry/subversion/bin'' into your path. +Now, subversion is installed in ''/research/oranfry/subversion''. To use the ''svn'' command, put ''/research/oranfry/subversion/bin'' into your path: 
 +<code> 
 +export PATH=/research/oranfry/subversion/bin:$PATH 
 +</code>
  
 ==== Installing newer versions of Subversion like Subversion 1.8.18 ==== ==== Installing newer versions of Subversion like Subversion 1.8.18 ====
Line 164: Line 171:
 </code> </code>
  
-2. **OpenSSL**\\ Grab openssl from https://www.openssl.org/source/ and unpack into ''sources'' folder.+2. **OpenSSL**\\ Grab openssl from https://www.openssl.org/source/ (https://www.openssl.org/source/old/1.0.2/ - grab 1.0.2l for Litre) and unpack into ''sources'' folder.
  
 <code> <code>
Line 177: Line 184:
  
 ./config --openssldir=/Scratch/ak19/packages/openssl1.0.2l shared ./config --openssldir=/Scratch/ak19/packages/openssl1.0.2l shared
 +[For macs, do instead:
 +./Configure darwin64-x86_64-cc --openssldir=/Path/To/packages/openssl1.0.2l shared]
 make make
 make install make install
Line 226: Line 235:
 cd subversion-1.8.18 cd subversion-1.8.18
 </code> </code>
 +
 +[BEGIN: NOT FOR SVN 1.9.9 AND/OR MAC OSX
  
 If you try configuring SVN 1.8.18, you may get an error about missing sql-lite. For subversion 1.8.18, follow the instructions that the configure error message provides: If you try configuring SVN 1.8.18, you may get an error about missing sql-lite. For subversion 1.8.18, follow the instructions that the configure error message provides:
Line 245: Line 256:
   #needs to be renamed   #needs to be renamed
 </code> </code>
 +
 +END] 
  
 Now proceed with the usual configure, make and make install. There are two locations in the configure command where Serf should be specified: Now proceed with the usual configure, make and make install. There are two locations in the configure command where Serf should be specified:
en/developer/install_svn.1535003522.txt.gz · Last modified: by anupama