i have finally taken the time to get subversion installed and running on my bluehost account. what follows are the steps i took. these steps assume that you have ssh access and your account is on a 64-bit server.
ssh into your account and create a directory to store all of the sources:
mkdir src
cd src
next download the sources for subversion:
wget http://subversion.tigris.org/downloads/subversion-1.5.2.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-1.5.2.tar.bz2
untar and extract the sources:
tar -xjvf subversion-1.5.2.tar.bz2
tar -xjvf subversion-deps-1.5.2.tar.bz2
lets start with getting the dependencies configured, built and then installed:
cd subversion-1.5.2
cd apr
./configure --enable-shared --prefix=$HOME
make
make install
cd ../apr-util
./configure --enable-shared --prefix=$HOME --with-expat=builtin --with-apr=$HOME --without-berkeley-db
make
make install
cd ../neon
export EXTRA_CFLAGS="-L/usr/lib64 -fPIC"
export CFLAGS="-L/usr/lib64 -fPIC"
./configure --enable-shared --prefix=$HOME --with-libs=$HOME
make
make install
now configure, build and install subversion:
cd ..
./configure --prefix=$HOME --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME \
--without-berkeley-db --without-apxs --without-apache --without-serf
make
make install
now edit your .bash_profile in the $HOME directory and replace:
PATH=$PATH
with:
PATH=$PATH:$HOME/bin
and save the file. now either “source .bash_profile” or logout and then back in.
verify subversion is working:
svn --version
and should see something similar to:
svn, version 1.5.2 (r32768)
compiled Sep 7 2008, 11:55:08
Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
the following sites helped get everything installed, unfortunately none of them worked out of the box for me: site 1, site 2, site 3
Thank you sir!
Thank you for taking the time to write down the steps.
hi
Dear Leagobuff,
Thank you very much for your post, it has been very useful to install subversion, however, I have problems in the last step:
”
now edit your .bash_profile in the $HOME directory and replace:
PATH=$PATH
with:
PATH=$PATH:$HOME/bin
and save the file. now either “source .bash_profile” or logout and then back in.
”
My “.bash_profile” file had already the “PATH=$PATH:$HOME/bin”, and when I’m trying to check subversion with: “svn –version” I’m having the next sentence:
“-bash: svn: command not found”
Please, could you help me?
Thank you.
Best Regards,
RBC
Raul, if you “cd ~/bin”, then “ls svn”, do you see svn or “No such file or directory”?
Dear Leagobuff,
I´m using BuTTY….
1st step
[~]# cd ~/bin
2nd step
[~/bin]# Is svn
answer:
-bash: Is: command not found
BTW
In the bin directoy there are the next files
apr-1-config* apu-1-config* neon-config*
I´m sorry I´m new using the BuTTY console.
Any suggestion?
Thanks
Best Regards,
RBC
Hello Jamie,
For me work fine the next:
http://www.bluehostforum.com/showthread.php?t=12099&highlight=subversion&page=3
(svn 1.5.4)
and very interesting:
http://www.tabruyn.com/site/index.php?option=com_content&view=article&id=55:tortoisesvn-subversion-and-bluehost&catid=36:digital&Itemid=58
BR.
Raúl
Brilliant! Thanks for very thorough step-by-step instructions. Got 1.5.6 working.
Many, many thanks for this. I used these instructions last November for subversion v1.5.4, and again yesterday for v1.6.2 (dug back into my Delicious saved bookmarks). Worked great twice!
Thanks for taking the time to document so thoroughly! It worked great, right out of your directions!
Many Thanks!
Thanks for a great article!
Fantastic Post. Cheers for taking the time to go through this.
Step by step 100% working.
Just got this to work on Hostmonster with Subversion 1.6.6 just by changing the version #’s in the download. Thanks!
Thank you ! Worked like a charm. Got 1.6.6 installed without any hiccups.!!