Compiling Subversion on strauss.udel.edu

For future reference, here’s the process of downloading, compiling, and installing Subversion 1.4.4 on strauss. Painless if you do it right, painful if you misstep.


mkdir /path/to/svn/
cd /path/to/svn/
wget http://subversion.tigris.org/downloads/subversion-1.4.4.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.4.tar.bz2
bzip2 -cd subversion-1.4.4.tar.bz2 | tar -xvf -
bzip2 -cd subversion-deps-1.4.4.tar.bz2 | tar -xvf -
cd subversion-1.4.4
./configure --prefix=/path/to/svn/ --enable-shared=yes --enable-static=yes
# Edit libtool so that all occurances of LTCFLAGS include -mimpure-text at the end
perl -p -i.bak -e 's/_LFS/_LFS -mimpure-text' libtool
make
make install
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s