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

Re: problems building SVN (and http2.0)

From: Seth Landsman <seth_at_boondock.cs.brandeis.edu>
Date: 2002-12-16 22:29:35 CET

> > Currently, I'm using the debian package, so everything is
> > installed with the /usr prefix.
> >
> > According to the config line, it looks like it is finding the
> > library and header files, but the function it is looking for
> > (db_create()) isn't there.
>
> Ah, I remember this problem. apr-util looks for BDB's db_create using
> this autoconf test program
>
> char db_create();
>
> int main() {
> db_create()
> ; return 0; }
>
> but Debian builds BDB using symbols with a suffix (configured with the
> --with-uniquename option I think) and so the test program won't work
> unless it includes the db.h header file.
>
> I've been meaning to report this to the apr list, but I never got
> round to it.
>
> If you build your own version of BDB it should work, you may need to
> add /usr/local/db4/lib (or whatever you called it) to your
> LD_LIBRARY_PATH.

        Hmm, I did build my own BDB 4, and placed it in
/usr/local/BerkeleyDB4.0. I set the --with-berkeley-db flag and tried
putting it in my LD_LIBRARY_PATH and putting it in ld.so.conf. Neither
of which fixed the problem. :(

        Is it possible that when I built BDB, it implicitly set the
uniquename option? How would I check that?

-Seth

>
> --
> Philip Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

-- 
it is by will alone I set my mind in motion
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 16 22:30:22 2002

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.