You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Young <dy...@pobox.com> on 2004/05/12 16:31:41 UTC

0.29.0 -> 1.0.2 upgrade; building svnadmin for 0.29.0?

I have just upgraded from Subversion 0.29.0 to 1.0.2 using NetBSD
pkgsrc.  Little did I know that 1.0.2 cannot read a 0.29.0 database....
Apparently, I need to dump my database w/ 0.29.0 (which is no longer on
the system), and load the dump with 1.0.2.

I tried last night to build 0.29.0 using the sources in svn co
http://svn.collab.net/repos/svn/tags/0.29.0/.  It failed, indicating
that the db4 library could not be found.  (I have db 4.2.52 installed.)
I tried putting a link to db-4.0.14 sources inside the 0.29.0/ directory,
as INSTALL suggests.  I saw the db sources building, but the build
complained that it could not find -ldb4 in the link step.

I am trying 0.33.0 on a whim.  It fails just like 0.29.0.  Here are the
steps I follow,

    sh ./autogen.sh
    ./configure --prefix=/usr/local/encap/subversion-0.33.0 \
        --with-berkeley-db=/usr/pkg

The ./configure step fails,

    checking for socket in -lsocket... no
    configure: WARNING: APR-UTIL may or may not be using the specified
                         Berkeley DB at `/usr/pkg'.  Using the Berkeley DB
                         supplied by APR-UTIL.
    checking for availability of Berkeley DB... no
    configure: error: Berkeley DB 4.0.14 wasn't found.

I have. installed db-4.0.14 from sources in /usr/local/encap/db-4.0.14/.
I tell ./configure that,

    ./configure --prefix=/usr/local/encap/subversion-0.33.0 \
        --with-berkeley-db=/usr/local/encap/db-4.0.14

and it fails as above.

I have attached a log of the sh ./autogen.sh ; ./configure ; ./configure
steps I describe above.

I am ... pretty frustrated at this point.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933

Re: 0.29.0 -> 1.0.2 upgrade; building svnadmin for 0.29.0?

Posted by kf...@collab.net.
David Young <dy...@pobox.com> writes:
> I have. installed db-4.0.14 from sources in /usr/local/encap/db-4.0.14/.
> I tell ./configure that,
> 
>     ./configure --prefix=/usr/local/encap/subversion-0.33.0 \
>         --with-berkeley-db=/usr/local/encap/db-4.0.14
> 
> and it fails as above.

Did you add

   /usr/local/encap/db-4.0.14

to /etc/ld.so.conf, running 'ldconfig' as root, and try again?

Configuration won't find the library there if it can't link against
it.  It's as though it doesn't exist.

-Karl


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