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

RE: Subversion 1.0 and Berkeley DB 4.0.14

From: Jeff Lanzarotta <lanzarottaj_at_rogersltd.com>
Date: 2004-03-03 17:16:29 CET

Ok, here is now where I am at, with much help from Terry from the list...

1) Get db-4.2.52.tar.gz db42-support-patch.txt
   subversion-1.0.0.tar.bz2 from gateway

2) Unpack db-4.2.52.tar.gz

   2a) cd db-4.2.52/build_unix
   2b) ../dist/configure
   2c) make
   2d) make install (installs into /usr/local/BerkeleyDB.4.2)

3) As root,
   # echo /usr/local/BerkeleyDB.4.2/lib >> /etc/ld.so.conf
   # ldconfig

4) Unpack subversion-1.0.0.tar.bz2

   4a) cd subversion-1.0.0
   4b) patch -p1 < ../db42-support-patch.txt
   4c) ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2 --with-dbm=db42
   4d) make
   4e) make install (installs into /usr/local)

After doing this I still get the following error:

Execute: Checkout
Error while performing action: Berkeley DB error while reading string for filesystem /home/xyz/svn/repositories/windss/db:
Input/output error

when doing the following command:

'svn checkout svn://servername/windss/trunk /home/xyz/windss'

Any ideas?

-----Original Message-----
From: Jeff Lanzarotta
Sent: Tuesday, March 02, 2004 1:48 PM
To: users@subversion.tigris.org
Subject: Subversion 1.0 and Berkeley DB 4.0.14

Hello,

Let me give you a little background on the problem I am having.

I'm trying to get SVN 1.0 to run on Mandrake Linux 9.2. I downloaded and compiled the code against Berkeley DB 4.0.14. Here are the rpms I installed...

libdb4.0-devel-4.0.14-6mdk
libdb4.0-4.0.14-6mdk
libdbcxx4.0-4.0.14-6mdk
libdb4.1-4.1.25-3mdk
libdbtcl4.1-4.1.25-3mdk
libdbtcl4.0-4.0.14-6mdk
libdb4.0-static-devel-4.0.14-6mdk

Everything seemed to configure and compile just fine. I then run the SVN server with the following command:

'svnserve --daemon --root /home/xyz/svn/repositories'

Ok, so far so good. I imported my code that needs to version controled, which worked just fine. The problem is then I try and checkout the newly imported code. I get the following error:

Execute: Checkout
Error while performing action: Berkeley DB error while reading string for filesystem /home/xyz/svn/repositories/windss/db:
Input/output error

From then on, I can't checkout anything from that repository. I have run 'recovery', but I still get the previous error. I have deleted the repository and recreated it and gone through the same steps multiple times with the same results.

Any suggestions on how to correct this?

----
Jeff Lanzarotta
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 3 17:15:34 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.