You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by qu...@in-euro.de on 2004/10/12 12:42:32 UTC

Re: Bad database version [solved]

Thank you very much Tobias. :)) Your hint solved my problem.
Ok now for everyone, here are my steps for installing subversion 1.1.0 on my
yoper. Be careful this worked at my computer, maybe not at yours:

1. make your system uptodate with apt-get update & apt-get upgrade
2. download sources from BerkeleyDB 4.2.52, OpenSSL, Apache 2.0.52 and
Subversion 1.1.0
3. remove old db4 (rpm -e --force db4)
4. remove /usr/lib/libdb.a (make first a copy)
5. compile bdb 4.2.52 with configuration:
   ../dist/configure --disable-posixmutexes
   make & make install
6. compile openssl with configuration:
   ./config --prefix=/usr/local/openssl
   make & make install
7. compile apache2 with configuration:
   ./buildconf
   ./configure --prefix=/usr/local/httpd --enable-modules=all --enable-ssl
--with-ssl=/usr/local/openssl --enable-so --enable-dav --enable-deflate=shared
--enable-so --with-berkeley-db=/usr/local/BerkeleyDB.4.2 --with-dbm=db4
   make & make install
8. compile subversion 1.1.0 configuration:
   ./autogen.sh
   ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2
--with-apxs=/usr/local/httpd/bin/apxs --with-apr=/usr/local/httpd
--with-apr-util=/usr/local/httpd
   make & make install
9. change your /etc/ld.so.conf for your new libs and maybe make some softlinks
10. configure your apache2 for using repos over neon
11. test it, now it should work
12. Be aware of problems if you use squid as proxy! (... 400 Bad Request ...)

At compiletime I got following warnings:
compiling bdb 4.2.52:

../dist/../mutex/mut_tas.c: In function `__db_tas_mutex_lock':
../dist/../mutex/mut_tas.c:118: warning: matching constraint does not allow a
register
../dist/../mutex/mut_tas.c:118: warning: matching constraint does not allow a
register

compiling subversion 1.1.0:

libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org