You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Schoenborn, Oliver" <Ol...@nrc-cnrc.gc.ca> on 2004/07/22 18:41:34 UTC

subversion fails make test on SGI

Has anyone succeeded in installing subversion on SGI? I downloaded the
latest version (1.0.6), with latest berkeley (4.2.52). I did the basic
./configure --with-ssl, everything built fine. When I create a repo, I get
following error:

    > svnadmin create Sandbox
    svn: Berkeley DB error while creating environment for 
    filesystem Sandbox/db: 
    Invalid argument


Contents of Sandbox after this:

<.../subversion-1.0.6> 129: ls -lR Sandbox
Sandbox:
total 8
-rw-r--r--    1  376 Jul 21 14:57 README.txt
drwxr-xr-x    2   31 Jul 21 14:57 conf/
drwxr-xr-x    2    9 Jul 21 14:57 dav/
drwxr-xr-x    2   44 Jul 21 14:57 db/
-r--r--r--    1    2 Jul 21 14:57 format
drwxr-xr-x    2  149 Jul 21 14:57 hooks/
drwxr-xr-x    2   46 Jul 21 14:57 locks/

Sandbox/conf:
total 4
-rw-r--r--    1 1101 Jul 21 14:57 svnserve.conf

Sandbox/dav:
total 0

Sandbox/db:
total 4
-rw-r--r--    1 1738 Jul 21 14:57 DB_CONFIG
-rw-r--r--    1    0 Jul 21 14:57 __db.001

Sandbox/hooks:
total 20
-rw-r--r--    1 1411 Jul 21 14:57 post-commit.tmpl
-rw-r--r--    1 1475 Jul 21 14:57 post-revprop-change.tmpl
-rw-r--r--    1 2203 Jul 21 14:57 pre-commit.tmpl
-rw-r--r--    1 1952 Jul 21 14:57 pre-revprop-change.tmpl
-rw-r--r--    1 1500 Jul 21 14:57 start-commit.tmpl

Sandbox/locks:
total 8
-rw-r--r--    1  295 Jul 21 14:57 db-logs.lock
-rw-r--r--    1  460 Jul 21 14:57 db.lock



I have no idea if it's really DB that't the problem, or the way subversion
is using it on the SGI.

Any help greatly appreciated.
Oliver

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

Re: subversion fails make test on SGI

Posted by Ben Reser <br...@gmail.com>.
On Thu, 22 Jul 2004 14:41:34 -0400, Schoenborn, Oliver
<ol...@nrc-cnrc.gc.ca> wrote:
> Has anyone succeeded in installing subversion on SGI? I downloaded the
> latest version (1.0.6), with latest berkeley (4.2.52). I did the basic
> ./configure --with-ssl, everything built fine. When I create a repo, I get
> following error:
> 
>     > svnadmin create Sandbox
>     svn: Berkeley DB error while creating environment for
>     filesystem Sandbox/db:
>     Invalid argument
> 
> Contents of Sandbox after this:

Can you please do the following:

Build Subversion however you built it before but add the following
options to whatever you're passing configure:
--enable-maintainer-mode --disable-shared

Make sure that your APR libraries are stripped (for whatever reason
what follows below doesn't seem to work right if they aren't).

Make a file, call it say gdb.run and put the following in it:
break main
set args create foo
set $_exitcode = -1
run
while $_exitcode < 0
step
end
quit

Now from the top of the source tree run:
gdb subversion/svnadmin/svnadmin -x gdb.run > gdb.out

Please post the gdb.out file.  

Thanks.

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