[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bad database version [solved]

From: <quastst_at_in-euro.de>
Date: 2004-10-12 14:42:32 CEST

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
Received on Tue Oct 12 14:42:57 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.