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

RE: Insists on BDB repository, but it is FSFS!

From: James FitzGibbon <jfitzgibbon_at_primustel.ca>
Date: 2005-02-16 17:34:17 CET

Are you certain that 'trac-admin' is using your installed svn binaries,
rather than using ones that it ships with that are pre-FSFS?

Or is trac-admin a binary that is statically linked against svn libs that
don't support FSFS?

Either circumstance would cause this type of error.

-----Original Message-----
From: Mario Ruggier [mailto:mario@ruggier.org]
Sent: Wednesday, February 16, 2005 11:28 AM
To: 'Subversion List'
Subject: Insists on BDB repository, but it is FSFS!

Hello,

I am trying to install subversion 1.1.3, for use with trac 0.8
<http://projects.edgewall.com/trac/>
I am specifically avoiding bdb, and using fsfs. However, in some
circumstances, I get an exception that the repo (intentionally fsfs) is not
a bdb repo !!! I detail below, but first a summary of the
environment:

OS X 10.3.8 G5 twin proc
Stock OS X Apache 1.3
Stock OS X Python 2.3
I install the svn-swig-py23 bindings with fink, but then I copy them over t
the standard python site-packages.
Fink is not in the path env.

I try to install subversion 1.1.3 tarball, using the following
procedure:

$ sudo rm -f /usr/local/apr
$ sudo rm -f /usr/local/lib/libsvn*
$ sudo rm -f /usr/local/lib/libapr*
$ sudo rm -f /usr/local/lib/libexpat*
$ sudo rm -f /usr/local/lib/libneon*
$ sudo rm -rf /usr/local/include/neon
$ sudo rm -rf /usr/local/bin/subversion-1 $ sudo rm -f /usr/local/bin/svn* $
sudo rm -f /usr/local/bin/neon_config $ sh ./autogen.sh $ ./configure
--without-berkeley-db $ make $ sudo make install

Then i create an svn repo with:

$ svnadmin create --fs-type=fsfs /var/svn/repo

to which i add a few files, and basic functions seem to be ok.

I install trac 0.8.

The problem occurs when i try to create a new trac env:

$ trac-admin /var/trac/repo initenv

Creating a new Trac environment at /var/trac/repo

Trac will first ask a few questions about your environment in order to
initalize and prepare the project database.

  Please enter the name of your project.
  This name will be used in page titles and descriptions.

Project Name [My Project]>
  Please specify the absolute path to the project Subversion repository.
  Repository must be local, and trac-admin requires read+write
  permission to initialize the Trac database.

Path to repository [/var/svn/test]> /var/svn/repo

  Please enter location of Trac page templates.
  Default is the location of the site-wide templates installed with Trac.

Templates directory
[/System/Library/Frameworks/Python.framework/Versions/2.3/share/trac/
templates]>
/var/svn/repo Repository access error: ("Berkeley DB error while opening
'nodes' table for filesystem /var/svn/repo/db:\nNo such file or directory",
160029) $

For what it's worth, the svnadmin i am creating gives this:
$ otool -L /usr/local/bin/svnadmin
/usr/local/bin/svnadmin:
         /usr/local/lib/libsvn_repos-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
         /usr/local/lib/libsvn_fs-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
         /usr/local/lib/libsvn_fs_fs-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
         /usr/local/lib/libsvn_delta-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
         /usr/local/lib/libsvn_subr-1.0.dylib (compatibility version 1.0.0,
current version 1.0.0)
         /usr/local/apr/lib/libaprutil-0.0.dylib (compatibility version
10.0.0, current version 10.5.0)
         /usr/local/apr/lib/libexpat.0.dylib (compatibility version 2.0.0,
current version 2.0.0)
         /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current
version 5.0.0)
         /usr/local/apr/lib/libapr-0.0.dylib (compatibility version 10.0.0,
current version 10.5.0)
         /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
version 324.9.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 71.1.1)

All of these are being created during the svn build, except for the 3
libs:
-rw-r--r-- 1 root wheel 987440 13 May 2004 /usr/lib/libiconv.2.dylib
-r-xr-xr-x 1 root wheel 137772 21 Dec 12:11 /usr/lib/libresolv.9.dylib
-r-xr-xr-x 1 root wheel 1546396 13 May 2004 /usr/lib/libSystem.B.dylib

which I think should best be left alone...

Another point that may be pertinent, is that the "make install" step
complains may times about:
        libtool: link: warning: `/usr/lib//libiconv.la' seems to be moved
The file in question is:
$ ls -altr /usr/lib/libiconv.la
-rw-r--r-- 1 root wheel 786 12 Sep 2003 /usr/lib/libiconv.la

I have tried to look thru the svn-users archives, although a similar error
has been mentioned, it was under a totally different context (http access to
an fsfs repo), and furthermore with a fink-only installation of subversion.
Plus, the long thread on the problem did not resolve it at all...

Would anyone have any insight as to what might be going on, what might i
check into, pointers, ...
Any help appreciated!

Many thanks, mario

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

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
 
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
 
-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 16 17:37:01 2005

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.