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

Re: db3 build probs.

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-09-04 22:05:26 CEST

Alright, I think I have it, just wait a few minutes for my tests to finish.

On Tue, Sep 04, 2001 at 03:53:13PM -0400, Kevin Pilch-Bisson wrote:
> On Tue, Sep 04, 2001 at 02:39:31PM -0500, Ben Collins-Sussman wrote:
> > Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:
> >
> > > > /usr/libexec/elf/ld: cannot find -ldb-3.3
> > > >
> > > > I need a serious clue here. Shouldn't it be looking for -ldb3? or
> > > > -ldb?
> > >
> > > Which version of db are you using. On my linux box, with db-3.3.11
> > > in tree, the only library which gets created at compile time is
> > > libdb-3.3.la. The rest get made at install time. That's why I made
> > > that change, because I couldn't build with db in tree unless the
> > > line was specifically -L.../db/dist/.libs -ldb-3.3
> >
> > I have 3.3.11 unpacked in my tree, renamed to db/. It's been working
> > fine until your commit. :-(
> >
> > In svn/trunk/db/dist/, I have a libdb.a sitting there. I only build
> > statically (--disable-shared), so my dist/.libs/ is empty.
>
> Damn, never thought of --disable-shared.
>
> >
> > What do we need to change?
> >
>
> Not sure. I was thinking of the following patch, but it doesn't work with
> shared libs (it might get you building again in the meantime though).
>
>
> Index: ac-helpers/berkeley-db.m4
> ===================================================================
> --- ac-helpers/SVN/text-base/berkeley-db.m4 Tue Sep 4 11:21:16 2001
> +++ ac-helpers/berkeley-db.m4 Tue Sep 4 15:41:15 2001
> @@ -96,9 +96,7 @@
> # Use the include and lib files in the build dir.
> dbdir=`cd db/dist ; pwd`
> SVN_DB_INCLUDES="-I$dbdir"
> - # Note that once we upgrade to libtool 1.4 this should be changed to
> - # SVN_DB_LIBS="$dbdir/libdb-3.3.la"
> - SVN_DB_LIBS="-L$dbdir/.libs -ldb-3.3"
> + SVN_DB_LIBS="$dbdir/libdb-3.3.la
> svn_lib_berkeley_db=yes
> elif test "$status" = "skip"; then
> svn_lib_berkeley_db=no
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Kevin Pilch-Bisson http://www.pilch-bisson.net
> "Historically speaking, the presences of wheels in Unix
> has never precluded their reinvention." - Larry Wall
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:40 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.