You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rick Brice <Ri...@comcast.net> on 2003/12/10 17:57:51 UTC

configure can't find BerkeleyDB

I'm having trouble building subversion 0.34. I downloaded, built, and 
installed BerkeleyDB 4.2.52 per the instructions provided with the 
software. That all seemed to go well.

Then I downloaded the source for subversion 0.34 and untarred. I run

./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2

and get the errors listed below. I did the same thing with BerkeleyDB 
4.1.25 and get similar errors.  Any idea on what the problem is and how 
to fix it?

Thanks



checking checking for Berkeley DB 4.1 in /usr/local/BerkeleyDB.4.2...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db-4.1... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db4... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db... no
checking checking for Berkeley DB 4.0 in /usr/local/BerkeleyDB.4.2...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db-4.0... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db4... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db... no
checking checking for Berkeley DB 3 in /usr/local/BerkeleyDB.4.2...
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db3... no
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db... no
checking checking for Berkeley DB 2 in /usr/local/BerkeleyDB.4.2...
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_open in -ldb2... no
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_open in -ldb... no
checking checking for Berkeley DB 1.0.0 in /usr/local/BerkeleyDB.4.2...
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for dbopen in -ldb1... no
checking checking for Berkeley DB 1 in /usr/local/BerkeleyDB.4.2...
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
configure: error: Berkeley DB not found.
configure failed for apr-util


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

Re: configure can't find BerkeleyDB

Posted by ol...@interaccess.com.
On Wed, 10 Dec 2003 09:57:51 -0800, Rick Brice
<Ri...@comcast.net> wrote:

>I'm having trouble building subversion 0.34. I downloaded, built, and 
>installed BerkeleyDB 4.2.52 per the instructions provided with the 
>software. That all seemed to go well.
>

When I built subversion I had similar problems, except that I
installed BDB from rpms. I was sure the so were being seen.

I turned out that I didn't install the development rpm.
So make sure that ld.so.config is setup correctly and
ldconfig is setup correctly, but also make sure the configure
can see the source.



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

Re: configure can't find BerkeleyDB

Posted by "C. Michael Pilato" <cm...@collab.net>.
Rick Brice <Ri...@comcast.net> writes:

> I'm having trouble building subversion 0.34. I downloaded, built, and
> installed BerkeleyDB 4.2.52 per the instructions provided with the
> software. That all seemed to go well.

If this is a Linux system, you remembered to add
/usr/local/BerkeleyDB.4.2/lib to /etc/ld.so.conf and run
/sbin/ldconfig, right?

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

Re: configure can't find BerkeleyDB

Posted by Rick Brice <Ri...@comcast.net>.
> 
> config.log will have the definitive answer.
> 

Sorry but I'm still a bit of a newbie.... What do I want to look for in 
config.log?


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

Re: configure can't find BerkeleyDB

Posted by Eric Gillespie <ep...@pretzelnet.org>.
Rick Brice <Ri...@comcast.net> writes:

> and get the errors listed below. I did the same thing with
> BerkeleyDB 4.1.25 and get similar errors.  Any idea on what the
> problem is and how to fix it?

You need to include config.log in addition to the configure
output.

I'm guessing, though, that you're on a Linux system and ld
doesn't know about /usr/local/BerkeleyDB.4.2.  You can fix that
by setting LD_LIBRARY_PATH in your environment before building
apr-util or httpd and subversion, by setting
LDFLAGS=-Wl,-R/usr/local/BerkeleyDB.4.2 for your db build, or by
adding /usr/local/BerkeleyDB.4.2 to /etc/ld.so.conf and running
ldconfig.

config.log will have the definitive answer.

--  
Eric Gillespie <*> epg@pretzelnet.org

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