PDA

View Full Version : SVN/Trac?



robmcw
05-24-2007, 11:33 PM
Hello,

Over the summer I am going to be working on a fairly large software development project, with one other person...

We would like to get subversion up and running on my webspace with HostMonster. And then possibly Trac as well.

I am assuming that I need to take the steps to get SSH authorized with my account. Then SSH in, and commit/update/etc.

Could someone possibly point me in right direction... I pretty much have no idea what to do at the moment. For all the time that I've used SVN I've never had to set it up myself...

Thanks,
Rob

hgtesta
07-29-2007, 08:49 AM
I was trying to set up subversion too... but after a week in this, I just gave up and now I am using CVS. My post: http://www.hostmonsterforum.com/showthread.php?t=1294&highlight=subversion

BTW Mercurial (http://www.selenic.com/mercurial/wiki/) is a good versioning system and works in Hostmonster.

DrChuck
08-13-2007, 12:34 PM
I tried SVN 1.3 and SVN 1.4 - it would not get through configure.

SVN 1.2.0 worked - but it even spewed some errors - but it worked well enough to get command line svn working - which was all I cared about.

cd
mkdir dev
cd dev
curl -O http://subversion.tigris.org/downloads/subversion-1.2.0.zip
unzip subversion-1.2.0.zip
cd subversion-1.2.0
./configure --prefix=`pwd` --without-berkeley-db --with-zlib --with-ssl
make

make install (this failed with an error message)
./subversion/clients/cmdline/svn help (yay)
cd
alias svn=~/dev/subversion-1.2.0/subversion/clients/cmdline/svn
mkdir zap
cd zap
svn co https://source.sakaiproject.org/contrib/csev/trunk/scripts/ zzz

tconfrey
10-18-2007, 12:10 PM
I'm starting down a very similar path to the original poster.

I went thru the process of getting an SSH login and then downloading and installing SVN and its prerequisites (as noted in this post over on a Bluehost board http://www.bluehostforum.com/showthread.php?t=9838 ). SVN came up fine for me with the latest versions of SVN and APR. I created a repository on the server - all looks good.

However I found that HM only allows a very few standard outgoing ports to be bound to. As a result an svnserve process running on a HM machine can't be reached from outside. One of my team uses Dreamhost and over there they support SVN out of the box, so we're currently going with that. I'm assuming they are using the Apache 2.0 server. (Its possible an Apache 2.0 install on HM could also make SVN work, but that seems like a lot of effort).

I'm now looking and not finding TRAC in the list of HM Fantastico installs. At this point I'm considering moving myself to another host that makes this kind of stuff easier. Has anyone had experience with a hosted SVN/Trac/Bugzilla solution like http://www.hosted-projects.com/?

Tony Confrey
http://www.tonyconfrey.net

heshanmw
11-25-2008, 03:18 PM
Here is the procedure.

http://heidisoft.com/blog/installing-trac-hostmonster-or-bluehost

Enjoy with trac . :)

whyameye
06-27-2009, 12:33 PM
I tried SVN 1.3 and SVN 1.4 - it would not get through configure.

SVN 1.2.0 worked - but it even spewed some errors - but it worked well enough to get command line svn working - which was all I cared about.

cd
mkdir dev
cd dev
curl -O http://subversion.tigris.org/downloads/subversion-1.2.0.zip
unzip subversion-1.2.0.zip
cd subversion-1.2.0
./configure --prefix=`pwd` --without-berkeley-db --with-zlib --with-ssl
make

make install (this failed with an error message)
./subversion/clients/cmdline/svn help (yay)
cd
alias svn=~/dev/subversion-1.2.0/subversion/clients/cmdline/svn
mkdir zap
cd zap
svn co https://source.sakaiproject.org/contrib/csev/trunk/scripts/ zzz

The above worked for me but I had to make 2 changes:

after download and before configuring I had to run ./autogen.sh
then I typed: LDFLAGS="-L/usr/lib64"
finally my configure looked like: ./configure --libdir=/usr/lib64 --prefix=`pwd` --without-berkeley-db --with-zlib --with-ssl

TheBeege
03-14-2010, 05:54 PM
SVN includes a dependencies package, which should make everything easier. Bear in mind, these instructions are for 64-bit boxes, which I believe is the standard (but don't quote me).

When downloading the package (wget), grab the SVN dependencies package, and export and install it.

Here's the list of commands where X.Y.Z is the latest version:


mkdir src
cd src

wget http://subversion.tigris.org/downloads/subversion-X.Y.Z.tar.bz2
wget http://subversion.tigris.org/downloads/subversion-deps-X.Y.Z.tar.bz2
cd subversion-X.Y.Z

tar -xjvf subversion-X.Y.Z.tar.bz2
tar -xjvf subversion-deps-X.Y.Z.tar.bz2

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
./configure --enable-shared --prefix=$HOME --with-libs=$HOME --with-ssl
make
make install

cd ../
./configure --prefix=$HOME --without-berkeley-db --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME --without-apxs --without-apache
make
make install

That should be it. You may need to add LDFLAGS="-L/lib64" to each configure line. If it complains, go back to your first configure steps with that added. I would tell you for sure, but I set it up last night and have since forgotten.

To double-check that it's installed, simply run "svn --version".

This was grabbed from http://joemaller.com/2008/01/29/how-to-install-subversion-on-a-shared-host/

Have fun

hradec
04-07-2010, 02:02 AM
Hi there...

I just managed to properly build the latest SVN 1.6.9 version, WITH Berkeley DB support. (no apache mods though, as we can't load then anyway... =\ )

If someone is still looking for this, this method works pretty well, and it should keep working for future releases too!

Essentially, I'm building all the svn dependencies, plus Berkley-DB. SVN Dependencies are all included in the subversion-deps package, available at subversion website (http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74).

here it is... a small script that downloads the packages and builds it for you.
After running it, you should find svn in $HOME/tools64/bin. Just add it to your $PATH in .bash_profile.

installSVN script (http://hradec.com/installSVN)

lwhuang
04-09-2010, 07:59 PM
many thanks to hradec, trying now
subversion just change there address, do this script works if the old address is not work?

lwhuang
04-09-2010, 09:49 PM
Hi, Hradec
I failed...

checking for Apache module support via DSO through APXS... ./configure: line 6534: apxs: command not found
configure: error: no - APXS refers to an old version of Apache
Unable to locate /mod_dav.h
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.

zorocke
10-07-2010, 03:58 PM
I was able to install and create an SVN repository, but now i'm having trouble connecting to it via TortoiseSVN.

I did, svn+ssh://SSHusername@domainname/svnrepo

and i could not connect.

I'm thinking i'm just using the wrong address too connect. The name of the repository on the server is svnrepo and it is at the default starting location of a ssh session.

chris82
11-21-2010, 01:38 PM
that helped me alot