Compiling subversion trunk

24 Jul 2007
Posted by stylesen

If you would like to compile the latest trunk source of subversion then follow these steps (I assume you are using Debian Etch or Ubuntu Feisty Fawn):

Step1: Get the subversion trunk source using the following command

$ svn co http://svn.collab.net/repos/svn/trunk

Step2: Install these packages in your machine if it is not present already

$ sudo apt-get install autoconf libtool zlib1g-dev libsqlite3-dev

Step3: Download the dependency packages. You can get the dependency packages from here http://subversion.tigris.org/downloads/subversion-deps-1.4.4.tar.gz

Step4: After untarring the file downloaded in Step3, copy all the folders inside the checked out trunk folder

Step5: Then what?

$ ./autogen.sh
$ ./configure --prefix=/usr/local/svn
$ make; make install

Enjoy the latest subversion!

Step4: After untarring the


Step4: After untarring the file downloaded in Step4, copy all the folders inside the checked out trunk folder

Step4: After untarring the file downloaded in Step3, copy all the folders inside the checked out trunk folder :P


Thanks for the correction!

Thank you for the correction. I ve updated the how-to :)


Hello Senthil, It fails when

Hello Senthil,

It fails when it is configured with --with-ssl.
$./configure --with-ssl
One needs to have openssl installed in the system path.


@vijaykumar

There is a lot of configuration options as you can see from ./configure --help, I attempted to explain howto compile subversion with the minimal stuff.