andreseso
February 26th, 2007, 04:58 PM
Hello,
I had a server running Mandriva 2007. I made a subversion repository of all my documents. After using Ubuntu at home and at work for several months, I decided to install Ubuntu on my server. I basically wanted a LAMP server with subversion.
From the start I have had huge problems with the subversion installed on Ubuntu Edgy. Apart from being a quite old version, both subversion and apache2 are linked with libapr-0. libapr-0 has a file size limit of 2 GB. My subversion dump was 2.2 GB so I had to bend over backwards to import my repository into subversion. Basically I had to compile subversion 1.3.2 linked with libapr1 which does not have these file size limits.
My repository is working correctly. The only problem is that my first revision is 2.1 GB in size. That makes it impossible for Edgy's subversion to work with it. I can add files to the repository and commit files. However it fails miserably when I modify a file that was added in revision 1. Due to libapr0's limitations with file sizes and my 2.1 GB first revision, svn ci fails with the error message
svn: Commit failed (details follow):
svn: Can't open file '/home/svn/repo/db/revs/1'
It is inconvenient for me having a subversion repository I only can add new files to. I would much prefer having as well the possibility of modifying existing files.
For my repository to work I would have to link both subversion and apache2 to libapr1. I access subversion through apache. I could recompile, but to satisfy the dependencies of my LAMP + svn server I would have to recompile php from a tarball. I find compiling php really messy.
Can you think of a workaround which would allow me to use Ubuntu Edgy's subverion?
ldd /usr/bin/svnadmin
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0xb7f4f000)
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0xb7db3000)
ldd /usr/sbin/apache2
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0xb7da2000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0xb7c45000)
I had a server running Mandriva 2007. I made a subversion repository of all my documents. After using Ubuntu at home and at work for several months, I decided to install Ubuntu on my server. I basically wanted a LAMP server with subversion.
From the start I have had huge problems with the subversion installed on Ubuntu Edgy. Apart from being a quite old version, both subversion and apache2 are linked with libapr-0. libapr-0 has a file size limit of 2 GB. My subversion dump was 2.2 GB so I had to bend over backwards to import my repository into subversion. Basically I had to compile subversion 1.3.2 linked with libapr1 which does not have these file size limits.
My repository is working correctly. The only problem is that my first revision is 2.1 GB in size. That makes it impossible for Edgy's subversion to work with it. I can add files to the repository and commit files. However it fails miserably when I modify a file that was added in revision 1. Due to libapr0's limitations with file sizes and my 2.1 GB first revision, svn ci fails with the error message
svn: Commit failed (details follow):
svn: Can't open file '/home/svn/repo/db/revs/1'
It is inconvenient for me having a subversion repository I only can add new files to. I would much prefer having as well the possibility of modifying existing files.
For my repository to work I would have to link both subversion and apache2 to libapr1. I access subversion through apache. I could recompile, but to satisfy the dependencies of my LAMP + svn server I would have to recompile php from a tarball. I find compiling php really messy.
Can you think of a workaround which would allow me to use Ubuntu Edgy's subverion?
ldd /usr/bin/svnadmin
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0xb7f4f000)
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0xb7db3000)
ldd /usr/sbin/apache2
libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0xb7da2000)
libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0xb7c45000)