On 20/06/2009, at 04:47, Alessio Sarti wrote:
> while trying to update  svn-dev and svn-shlibs I see that db41 or
> db44-aes are required..
> While during make svn shows deps on db-4.0:
>
> So, at the end of the game I get:
> configure: WARNING: APR-UTIL may or may not be using the specified
>                     Berkeley DB at `/sw/include/db4:/sw/lib'.  Using
> the Berkeley DB
>                     supplied by APR-UTIL.
> checking for availability of Berkeley DB... no
> configure: error: Berkeley DB 4.0.14 wasn't found.
> ### execution of /var/tmp/tmp.1.upgGhM failed, exit code 1
>
> ....probably this needs to be fixed? Otherwise I cannot compile  
> svn....
I get the same error while trying to build svn-dev. Some information  
that might be useful to the maintainer:

$ sw_vers | head -n 2
ProductName:    Mac OS X
ProductVersion: 10.5.7

$ fink --version | head -n 2
Package manager version: 0.29.7
Distribution version: selfupdate-cvs Sat Jun 20 08:42:35 2009, 10.5,  
i386

I've noticed that svn build-depends on db47 but fink rebuild svn-*  
ends up installing db44 instead of db47. I'm not sure if that could  
pose a problem. The configure parameters specify

--with-berkeley-db='db.h:%p/include/db4:%p/lib:db-4.7'

config.log contains the following:

  ### Configure shared
  export F77=no; ./configure --prefix=/sw --libexecdir='${prefix}/lib/ 
svn' --mandir='${prefix}/share/man' --infodir='${prefix}/share/info' -- 
with-neon=/sw --with-apr=/sw/bin/apr-1-config --with-apr-util=/sw/bin/ 
apu-1-config --enable-shared --without-apxs --without-apache --disable- 
mod-activation --without-jdk --disable-javahl --with-jikes=no -- 
disable-swig-bindings --without-swig --without-python --without-perl -- 
without-ruby --with-berkeley-db=/sw/include/db4:/sw/lib --disable-neon- 
version-check --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-swig-bindings, -- 
without-python, --without-perl, --without-ruby, --disable-dependency- 
tracking

...

configure:4058: Apache Portable Runtime (APR) library configuration
configure:4086: checking for APR
configure:4168: result: yes
configure:4341: checking APR version
configure:4349: result: 1.3.3
configure:4433: Apache Portable Runtime Utility (APRUTIL) library  
configuration
configure:4461: checking for APR-util
configure:4543: result: yes
configure:4707: checking APR-UTIL version
configure:4721: result: 1.3.4

...

configure:21673: WARNING: APR-UTIL may or may not be using the specified
                      Berkeley DB at `/sw/include/db4:/sw/lib'.  Using  
the Berkeley DB
                      supplied by APR-UTIL.
configure:21710: checking for availability of Berkeley DB
configure:21782: gcc -o conftest -g -O2  -g -O2   -I/sw/include/ 
apache2 -I/sw/include -I/sw/include  -DDARWIN -
DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -L/sw/lib/system-openssl/ 
lib -L/sw/lib    -L/sw/lib conftest.c  -L/sw/
lib     >&5
Undefined symbols:
   "_db_version", referenced from:
       _main in ccMNYMi6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:21786: $? = 1
configure: program exited with status 1


I don't see -I/sw/include/db4 or -ldb4* on that gcc conftest command  
line. FWIW, configure finds APR/APR-util versions that match those of  
Fink's packages.


Cheers,

--
monipol


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to