en:developer:install_svn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:developer:install_svn [2017/07/25 05:49] – [Install Neon] anupama | en:developer:install_svn [2018/08/23 06:18] – [Installing newer versions of Subversion like Subversion 1.8.18] anupama | ||
---|---|---|---|
Line 107: | Line 107: | ||
If you have a suitable version of neon, make a note of the neon home directory for use in the last step, [[# | If you have a suitable version of neon, make a note of the neon home directory for use in the last step, [[# | ||
- | If you don't have neon, or need to install a newer version, get a recent copy it from the [[http:// | + | If you don't have neon, or need to install a newer version, get a recent copy it from the [[http:// |
< | < | ||
cd / | cd / | ||
Line 144: | Line 144: | ||
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. | ||
- | For subversion 1.8.18, follow the instructions that the configure error message provides: | + | Now, subversion is installed in ''/ |
+ | < | ||
+ | export PATH=/ | ||
+ | </ | ||
+ | |||
+ | ==== Installing newer versions of Subversion like Subversion 1.8.18 ==== | ||
+ | You'd need apr and apr-util built and installed, as described further above. | ||
+ | |||
+ | I'm assuming we unpack the following tar.gz files into a '' | ||
+ | |||
+ | 1. **Scons**\\ Grab the tar.gz file at https:// | ||
+ | and unpack into a '' | ||
+ | |||
+ | < | ||
+ | cd sources | ||
+ | mkdir scons | ||
+ | mv scons-local-2.3.0.tar.gz scons/. | ||
+ | cd scons | ||
+ | tar -xvzf scons-local-2.3.0.tar.gz | ||
+ | (You can put the tar file back to where it used to be) | ||
+ | </ | ||
+ | |||
+ | 2. **OpenSSL**\\ Grab openssl from https:// | ||
+ | |||
+ | < | ||
+ | cd sources | ||
+ | tar -xvzf openssl-1.0.2l.tar.gz | ||
+ | cd openssl-1.0.2l | ||
+ | |||
+ | export CFLAGS=" | ||
+ | # the above may or may not be needed for successfully compiling up Serf in step 3. | ||
+ | # However the '' | ||
+ | # the solution that fixed Serf compile failures | ||
+ | |||
+ | ./config --openssldir=/ | ||
+ | [For macs, do instead: | ||
+ | ./Configure darwin64-x86_64-cc --openssldir=/ | ||
+ | make | ||
+ | make install | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | |||
+ | // | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | |||
+ | 3. **Serf**\\ Grab and unpack serf from http:// | ||
+ | |||
+ | < | ||
+ | cd sources | ||
+ | tar -xvjf serf-1.3.9.tar.bz2 | ||
+ | cd serf-1.3.9 | ||
+ | |||
+ | export CFLAGS=" | ||
+ | # flow on effect from OpenSSL, may not be required there nor here. | ||
+ | |||
+ | ../ | ||
+ | |||
+ | ../ | ||
+ | </ | ||
+ | Between the configure and scons install steps, you may not need to bother doing the scons check step in the Serf README:\\ '' | ||
+ | The '' | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | |||
+ | At the end of installing serf, the installed version of serf should contain '' | ||
+ | |||
+ | // | ||
+ | < | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | then it may have nothing to do with exporting CFLAGS with '' | ||
+ | |||
+ | 4. **Subversion**\\ Can now at last compile up a new version of subversion //with serf//: | ||
+ | |||
+ | < | ||
+ | cd sources | ||
+ | tar -xvzf subversion-1.8.18.tar.gz | ||
+ | cd subversion-1.8.18 | ||
+ | </ | ||
+ | |||
+ | If you try configuring SVN 1.8.18, you may get an error about missing sql-lite. | ||
< | < | ||
http:// | http:// | ||
Line 151: | Line 238: | ||
/ | / | ||
</ | </ | ||
- | Then re-run the configure command and onwards. | + | Then you' |
- | Now, subversion | + | Alternatively, you can prepare your subversion |
+ | < | ||
+ | cd sources | ||
+ | wget http:// | ||
+ | unzip sqlite-amalgamation-3071501.zip | ||
+ | mv sqlite-amalgamation-3071501 subversion-1.8.18/ | ||
+ | #needs to be renamed | ||
+ | </ | ||
+ | Now proceed with the usual configure, make and make install. There are two locations in the configure command where Serf should be specified: | ||
+ | |||
+ | < | ||
+ | export CFLAGS=" | ||
+ | # flow on effect from OpenSSL, may not be required there nor here. | ||
+ | |||
+ | LDFLAGS=" | ||
+ | [--disable-neon-version-check and --with-neon are no longer recognised.] | ||
+ | Try adding: --enable-shared | ||
+ | |||
+ | make | ||
+ | make install | ||
+ | </ | ||
+ | |||
+ | // | ||
+ | |||
+ | 5. Add the installed SVN's bin folder to the PATH, such as by exporting it in '' | ||
+ | < | ||
+ | export PATH=/ | ||
+ | (export LD_LIBRARY_PATH=/ | ||
+ | ## stuck doing this only if you didn't compile up Subversion with the | ||
+ | ## configure command' | ||
+ | </ | ||
===== Installing Perl: compiling perl from source ===== | ===== Installing Perl: compiling perl from source ===== | ||
The instructions are from https:// | The instructions are from https:// |
en/developer/install_svn.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1