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

Re: AW: svn configure trouble between apr-util & berkeley db

From: Robert Guthrie <rguthrie_at_pobox.com>
Date: 2004-06-24 16:59:42 CEST

 From my first message in this thread (with adjustments from suggestions
here) I use a script which contains these relevant lines:

SVN_DIR=/home/rguthr/src/svn/subversion-1.0.5/
cd $SVN_DIR
DB_DIR=/home/rguthr/src/Berkeley42

export LIBPATH=$LIBPATH:$DB_DIR/lib:/usr/ccs/lib/
export CFLAGS='-qlanglvl=extended'

export LDFLAGS="-L$DB_DIR/lib
-Wl,-blibpath:$DB_DIR/lib:/usr/lpp/xlopt:/usr/lib/threads:/usr/lib:/
lib"

export LD_RUN_PATH=$DB_DIR/lib

./configure --prefix=/home/rguthr/subversion \
                 --with-berkeley-db=$DB_DIR \
                 --with-dbm=db42 \
                 --disable-shared \
                 2>&1 | tee subversion_config.log

On 24 Jun 2004, at 9:42 AM, Hunkel, Manfred wrote:

> Instead of doing LD_*_PATH settings, did you consider using
> the configure option? E.g.:
>
> --with-berkeley-db=<path to includes>:<path do libs>
>
> -----Ursprüngliche Nachricht-----
> Von: Klaus Rennecke [mailto:kre@tigris.org]
> Gesendet am: Donnerstag, 24. Juni 2004 16:34
> An: Ben Collins-Sussman
> Cc: Robert Guthrie; users@subversion.tigris.org
> Betreff: Re: svn configure trouble between apr-util & berkeley db
>
> Ben Collins-Sussman wrote:
>
>> On Thu, 2004-06-24 at 08:48, Robert Guthrie wrote:
>>
>>
>>> Thanks, but that didn't fix my problem. I'm not having trouble with
>>> it
>>> finding where the Berkeley db install is... I don't think I am,
>>> anyway...
>>>
>>> checking db.h usability... yes
>>> checking db.h presence... yes
>>> checking for db.h... yes
>>> checking for -ldb4... no
>>>
>>>
>
> Well, this is *almost* the same symptom I was experiencing. Apr was
> detecting the presence of BDB 4.2 in /usr/local/BerkeleyDB.4.2 but
> configure said it failed to link against the library. Looking into the
> config.log revealed that linking actually worked but executing the test
> program failed.
>
> Have you adjusted the example setting for LD_RUN_PATH to your
> installation directory of BDB?
>
>> [...]
>> Doesn't he mean LD_LIBRARY_PATH, not LD_RUN_PATH? Have you tried
>> that?
>>
>>
>
>
> No, I meant LD_RUN_PATH. As stated above, linking worked but running
> the
> test program failed. However, it might be a good thing to set
> LD_LIBRARY_PATH and LD_RUN_PATH identically, if only for consistency
> reasons.
>
> /Klaus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 24 17:02:02 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.