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

RE: Building under Solaris with Apache, BDB4.2

From: Wadsworth, Eric (Contractor) <wadswore_at_fhu.disa.mil>
Date: 2004-05-24 23:57:35 CEST

The answer! Even though I still haven't seen any traffic today on the
mailing list (curse our email server!), Carmela was kind enough to pass me
some info:

> Eric,
>
> I had the same problem on Solaris 8 with Apache 2.0.49. The error you
> get from the configure is misleading. Try adding the path to your lib
> directory for gcc to your LD_LIBRARY_PATH, e.g.,
> LD_LIBRARY_PATH=3D/usr/local/BerkeleyDB.4.2/lib:/usr/local/gcc-3.2.2/lib
> Carmela

This proved to be the ANSWER! Thanks tons!

In my case, I just appened :/usr/local/lib to the LD_LIBRARY_PATH variable,
and presto! :)

--- Eric

> Apache builds without finding the db, so I just tried to
> build subversion. I specified the same location for the
> BerkeleyDB.4.2 and it also didn't find it, and built only the client.
>
> My point: neither Apache nor Subversion seems to be able to
> see my BerkeleyDB installation. Maybe this is a clue? I've
> racked my brain, and quadrouple-checked the spelling on
> everything I can think of. It all looks fine.
>
> Holy cow, I wish it were possible to wrap everything up into
> one installation script: Berkeley DB, Apache 2.0.49, the
> works. This is crazy.
>
> I don't mean to be a pain, but I've sent three messages on
> this topic, and I haven't seen any replies. I haven't even
> seen my own messages come back to me. I know that in the past
> email messages have taken more than a day and a half to get
> through this awful government email system I have to use, but
> I've got people waiting to use subversion once I get it
> installed. If someone sees any replies to my desperate cries
> for help, could you forward them to svn@wadhome.org please? I
> can check that through the web, and bypass this blasted
> government mail server completely. (If you forward them to
> me, please reply to the list, so nobody else wastes time
> doing the same thing.)
>
> Tons of thanks in advance!
>
>
> > More info: I got rid of the "/lib" at the end of the
> > LD_LIBRARY_PATH, and now the ./configure doesn't abort when
> > it fails to find the database. Now it proceeds to the end,
> > but it never found it, which means that subversion won't
> work, right?
> >
> > What else can I try? Why does apache refuse to find the
> > BerkeleyDB.4.2 installation?
> >
> > > More info:
> > >
> > > ./configure tells me:
> > >
> > > db.h ... presence=yes
> > > db.h ... usability=yes
> > > -ldb-4.2 ... no
> > >
> > > That seems to be where it's dying.
> > >
> > > Anyone have a clue?
> > >
> > > --- Eric
> > >
> > > > I'm following the directions in the INSTALL file, and I get
> > > > to the point where I configure apache with "./configure
> > > > --enable-dav --enable-so
> > > > --with-berkeley-db=/usr/local/BerkeleyDB.4.2" yet it always
> > > > chokes and says it can't find the Berkeley database. It's
> > > > there, I promise! Initially tried installing it via the
> > > > package, but it didn't find it, so I tried building it from
> > > > source. Got that done, and it still won't find it. I've set
> > > > "LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.2/lib" and it
> > doesn't help.
> > > >
> > > > What else can I do to tell apache where the db is located? I
> > > > watch it try to find it there, and it doesn't.
> > > >
> > > > ****
> > > > **** --- Eric Wadsworth, 520-533-2749
> > > > ****
> > > >
> > >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 25 00:01:35 2004

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

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