You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mario Ruggier <ma...@ruggier.org> on 2005/02/16 16:28:09 UTC
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
Re: Insists on BDB repository, but it is FSFS!
Posted by Mario Ruggier <ma...@ruggier.org>.
Thanks for the helpful replies! I have managed to resolve this
(installation) problem. It turns out that installing the swig svn py
bindings with fink, but the rest without is definitely a problem. But,
it was not the only problem....
I have compiled as compact and useful a document as I could, describing
how to install Trac and all its dependencies (including swig,
subversion and swig svn py bindings) from source, on OS X without Fink.
Intentionally, this installation also uses the stock python and stock
apache installations on OS X, and omits installing the berkeley db....
You will find it on the Trac wiki, at:
Installing Trac on Mac OS X, without Fink
http://projects.edgewall.com/trac/wiki/TracOnOsxNoFink
Thanks again, mario
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Insists on BDB repository, but it is FSFS!
Posted by John Szakmeister <jo...@szakmeister.net>.
Mario Ruggier wrote:
> Ah, I see, from the other thread, that Swig1.3.24 is _not_ supported...
> it is ofcourse what i picked up to install! Will try again tomorrow...
> which version _should_ i install ?!?
1.3.21
-John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Insists on BDB repository, but it is FSFS!
Posted by Mario Ruggier <ma...@ruggier.org>.
Ah, I see, from the other thread, that Swig1.3.24 is _not_ supported...
it is ofcourse what i picked up to install! Will try again tomorrow...
which version _should_ i install ?!?
mario
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Insists on BDB repository, but it is FSFS!
Posted by Charles Bailey <ba...@newman.upenn.edu>.
--On February 16, 2005 1:24:55 PM -0800 Stephen Davis
<su...@soundgeek.org> wrote:
> On Feb 16, 2005, at 9:59 AM, Mario Ruggier wrote:
>
>> I configure subversion with
>> $ ./configure --without-berkeley-db PYTHON=/usr/bin/python
>>
>> and it seems to build ok, but gives the following warning when
>> installing:
>> *** Warning: This system can not link to static lib archive
>> /Users/admin/Desktop/downloads/subversion-1.1.3/neon/src/libneon.la.
>> *** I have the capability to make that library automatically link in
>> when
>> *** you link to this library. But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have.
>
> This message is a problem with the neon configure script for OS X /
> darwin. The configure script has a section for non-gnu ld linkers (which
> is the case on OS X) but has no entry for darwin so it disables shared
> library support even if you try to enable it. I do not know how to fix
It may just be a matter of updating svn's bundled copy -- the current neon
release (0.24.7; no kidding) configures and builds fine under Mac OS X. Its
configure script has the necessary code for darwin/rhapsody, you need to
set GXX=yes before running configure. (It looks like a vestigial part of
some backported code in aclocal.m4, but I haven't stared at it in detail.)
In the meantime, if you build neon separately before building svn, it'll be
happy with the existing shared libneon.
--
Regards,
Charles Bailey < bailey _at_ newman _dot_ upenn _dot_ edu >
Newman Center at the University of Pennsylvania
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Insists on BDB repository, but it is FSFS!
Posted by Stephen Davis <su...@soundgeek.org>.
On Feb 16, 2005, at 9:59 AM, Mario Ruggier wrote:
> I configure subversion with
> $ ./configure --without-berkeley-db PYTHON=/usr/bin/python
>
> and it seems to build ok, but gives the following warning when
> installing:
> *** Warning: This system can not link to static lib archive
> /Users/admin/Desktop/downloads/subversion-1.1.3/neon/src/libneon.la.
> *** I have the capability to make that library automatically link in
> when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
This message is a problem with the neon configure script for OS X /
darwin. The configure script has a section for non-gnu ld linkers
(which is the case on OS X) but has no entry for darwin so it disables
shared library support even if you try to enable it. I do not know how
to fix this the "right" way in autoconf land but, before building
Subversion, you can hack the neon configure script like so:
# PORTME fill in a description of your system's linker (not GNU ld)
case $host_os in
>> add the following three lines
darwin* | rhapsody*)
ld_shlibs=yes
;;
>>
Then, you need to pass the "--enable-shared=yes" configure option into
neon b/c shared is disabled by default. My config line is as follows
(for my purposes, modify as appropriate):
./configure --without-apxs --without-berkeley-db --with-zlib
--enable-shared=yes --enable-swig-bindings=no --with-ssl
stephen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Insists on BDB repository, but it is FSFS!
Posted by Mario Ruggier <ma...@ruggier.org>.
On Feb 16, 2005, at 5:34 PM, James FitzGibbon wrote:
> 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.
trac-admin is a python script, that uses svn via the afore mentioned
swig py23 svn bindings. Those bindings may well be the problem, as they
are being installed separately with fink, then copied over to standard
python installation. You can see the source of the version of the
script that I am using at:
http://projects.edgewall.com/trac/file/tags/trac-0.8/scripts/trac-admin
I have just tried to install those bindings without fink, by fllowing
the procedure detailed in:
http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/INSTALL
I configure swig with:
$ ./configure --with-python=/usr/bin/python
Swig itself seems to install OK... and it is the swig that the
subversion configure script picks up.
I configure subversion with
$ ./configure --without-berkeley-db PYTHON=/usr/bin/python
and it seems to build ok, but gives the following warning when
installing:
*** Warning: This system can not link to static lib archive
/Users/admin/Desktop/downloads/subversion-1.1.3/neon/src/libneon.la.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
Plus, it does not a /usr/local/lib/libsvn_swig_py.so as claimed...
Thus, trying to build swig-py as described, fails:
$ make swig-py
/bin/sh /Users/admin/Desktop/downloads/subversion-1.1.3/libtool
--silent --mode=compile -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp
-I/Users/admin/Desktop/downloads/subversion-1.1.3/subversion/bindings/
swig
-I/Users/admin/Desktop/downloads/subversion-1.1.3/subversion/include -I
-DSVN_SWIG_VERSION=103024
-I/Users/admin/Desktop/downloads/subversion-1.1.3/apr/include
-I/Users/admin/Desktop/downloads/subversion-1.1.3/apr-util/include
-I/Users/admin/Desktop/downloads/subversion-1.1.3/apr-util/xml/expat/
lib
-I/Users/admin/Desktop/downloads/subversion-1.1.3/subversion/bindings/
swig/python/libsvn_swig_py -prefer-pic -c -o
subversion/bindings/swig/python/svn_client.lo
subversion/bindings/swig/python/svn_client.c
libtool: unrecognized option `-DDARWIN'
Try `libtool --help' for more information.
make: *** [subversion/bindings/swig/python/svn_client.lo] Error 1
Any ideas anyone?
mario
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Insists on BDB repository, but it is FSFS!
Posted by James FitzGibbon <jf...@primustel.ca>.
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