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

Re: Berkeley DB not found yet another time

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-04-23 23:22:52 CEST

On Apr 23, 2004, at 9:47 AM, John Peacock wrote:

> Juergen Weber wrote:
>
>> Thanks, that did help, after a make install the db.h
>> is found at least. But testing for the lib itself
>> still fails:
>
> Show us how you called 'configure' since that is important here.
>
>> checking for Berkeley DB 4.2 in
>> /fireba/BerkeleyDB.4.2...
>> checking for db42/db.h... no
>> checking for db4/db.h... no
>> checking for db.h... yes
>> checking for -ldb-4.2... no
>> checking for db42/db.h... no
>> checking for db4/db.h... no
>> checking for db.h... yes
>> checking for -ldb4... no
>> checking for db42/db.h... no
>> checking for db4/db.h... no
>> checking for db.h... yes
>> checking for -ldb... no
>> LIBPATH points to /fireba/BerkeleyDB.4.2/lib
>
> And show us exactly what you have in LIBPATH; I don't recall what O/S
> you are running - that is also useful information to have.
>
> John

LIBPATH implies AIX (I'm unaware of any other OS that uses that env
var).

I was just compiling the client, but in case it helps, this is the
configure I used to compile 1.0.1, where I made some effort to ensure
that my openssl and my zlib libraries were used:

env PATH=.:/pkg-aix51/openssl-0.9.7d-pfix/bin:/usr/bin
CPPFLAGS="-I/pkg-aix51/zlib-1.1.4/include
-I/pkg-aix51/openssl-0.9.7d-pfix/include"
LDFLAGS="-L/pkg-aix51/zlib-1.1.4/lib
-L/pkg-aix51/openssl-0.9.7d-pfix/lib" CC="cc" CFLAGS="-qmaxmem=-1 -O2
-qlanglvl=extended " ./configure --prefix=/pkg-aix51/subversion-1.0.1
--with-ssl --with-zlib --enable-shared=no --without-berkeley-db | & tee
co.conf

Maybe you need to point out in CPPFLAGS where the headers are that
match the Berkeley lib you are using?

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 23 23:28:50 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.