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

Problems building fink package for mod_dav_svn

From: Christian Schaffner <chris01_at_users.sourceforge.net>
Date: 2003-09-10 16:45:47 CEST

Hi

I am the maintainer of the fink package for svn on MacOS X 10.2.x:
<http://fink.sourceforge.net/pdb/package.php/svn-ssl>
(Therefore I copied this message to the fink devel list.)

This package does not build the apache2 integration yet since I have
the following problem. The build fails with the message attached below.
The things that seem strange to me are:

1.
It is looking for /sw/lib/libsvn_repos-1.dylib even if the correct name
on the system is /sw/lib/libsvn_repos-1.0.dylib

2.
It tries to find a (possible older) library under /sw/lib instead of in
sw/src/root-svn-ssl-0.29.0-2/sw/lib where the package is being built.

3.
'/sw/sbin/apxs -i' is called even if '--disable-mod-activation' is
passed as a configure command.

The commands used are:
  #!/bin/sh
  rm -rf neon
  rm -rf apr
  rm -rf apr-util
  ./autogen.sh
  ./configure --prefix=/sw --libexecdir=${prefix}/lib/svn
--mandir=${prefix}/share/man --infodir=${prefix}/share/info
--with-neon=/sw --with-apr=/sw --with-apr-util=/sw
--with-berkeley-db=/sw/include/db4:/sw/lib --enable-shared
--with-apxs=/sw/sbin/apxs --without-apache --disable-mod-activation
--with-jdk=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/
Home --with-swig
  make
  make install DESTDIR=/sw/src/root-svn-ssl-0.29.0-2

The libtool used seems to be:
% /sw/share/apr-0/build/libtool --version
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)

The full log output can be found at:
<http://people.ee.ethz.ch/~cschaffn/tests/svn/mod_dav_svn.txt>

And the fink info file leading to that at:
<http://people.ee.ethz.ch/~cschaffn/tests/svn/svn-ssl-0.29.0-2.info>

I have no idea how to solve that. If anybody could help me here that
would be great!

Thanks a lot,
Chris.

PS: Mark benedetto king said on #svn today that he had similar problems
on MacOS X without fink.

PS2: the last lines of the console output (full output at
<http://people.ee.ethz.ch/~cschaffn/tests/svn/mod_dav_svn.txt>):
...
cd subversion/mod_dav_svn ;
/sw/src/svn-ssl-0.29.0-2/subversion-0.29.0/ac-helpers/install-sh -c -d
"/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules" ; /sw/sbin/apxs
-i -S LIBEXECDIR="/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules"
  -n dav_svn mod_dav_svn.la
/sw/var/apache2/build/instdso.sh
SH_LIBTOOL='/sw/share/apr-0/build/libtool' mod_dav_svn.la
/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules
/sw/share/apr-0/build/libtool --mode=install cp mod_dav_svn.la
/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules/
libtool: install: warning: relinking `mod_dav_svn.la'
(cd /sw/src/svn-ssl-0.29.0-2/subversion-0.29.0/subversion/mod_dav_svn;
/bin/sh /sw/src/svn-ssl-0.29.0-2/subversion-0.29.0/libtool
--mode=relink gcc -g -O2 -g -O2 -DNEON_ZLIB -DNEON_SSL -L/sw/lib
-L/sw/lib -rpath /sw/lib/apache2/modules -avoid-version -module -o
mod_dav_svn.la activity.lo deadprops.lo liveprops.lo log.lo merge.lo
mod_dav_svn.lo repos.lo update.lo util.lo version.lo
../../subversion/libsvn_repos/libsvn_repos-1.la
../../subversion/libsvn_fs/libsvn_fs-1.la
../../subversion/libsvn_delta/libsvn_delta-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la @inst_prefix_dir@)
gcc -bundle -flat_namespace -undefined suppress -o .libs/mod_dav_svn.so
  .libs/activity.o .libs/deadprops.o .libs/liveprops.o .libs/log.o
.libs/merge.o .libs/mod_dav_svn.o .libs/repos.o .libs/update.o
.libs/util.o .libs/version.o /sw/lib/libapr-0.dylib
/sw/lib/libiconv.dylib /sw/lib/libexpat.dylib /sw/lib/libgdbm.dylib
/sw/lib/libdb-4.1.dylib /sw/lib/libdl.dylib /sw/lib/libcrypto.dylib
/sw/lib/libssl.dylib /sw/lib/libsasl2.dylib /sw/lib/liblber.dylib
/sw/lib/libldap.dylib /sw/lib/libaprutil-0.dylib
/sw/src/svn-ssl-0.29.0-2/subversion-0.29.0/subversion/libsvn_subr/
.libs/libsvn_subr-1.dylib
/sw/src/svn-ssl-0.29.0-2/subversion-0.29.0/subversion/libsvn_delta/
.libs/libsvn_delta-1.dylib /sw/lib/libdb.dylib
/sw/src/svn-ssl-0.29.0-2/subversion-0.29.0/subversion/libsvn_fs/.libs/
libsvn_fs-1.dylib -L/sw/lib /sw/lib/libsvn_repos-1.dylib
/sw/lib/libsvn_fs-1.dylib /sw/lib/libsvn_delta-1.dylib
/sw/lib/libsvn_subr-1.dylib
gcc: /sw/lib/libsvn_repos-1.dylib: No such file or directory
gcc: /sw/lib/libsvn_fs-1.dylib: No such file or directory
gcc: /sw/lib/libsvn_delta-1.dylib: No such file or directory
gcc: /sw/lib/libsvn_subr-1.dylib: No such file or directory
libtool: install: error: relink `mod_dav_svn.la' with the above command
before installing it
libtool: install: warning: remember to run `libtool --finish
/sw/lib/apache2/modules'
grep:
/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules/mod_dav_svn.la: No
such file or directory
grep:
/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules/mod_dav_svn.la: No
such file or directory
Warning! dlname not found in
/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules/mod_dav_svn.la.
Assuming installing a .so rather than a libtool archive.
chmod 755
/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules/mod_dav_svn.so
chmod: getting attributes of
`/sw/src/root-svn-ssl-0.29.0-2/sw/lib/apache2/modules/mod_dav_svn.so':
No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-mods-shared] Error 1
### execution of make failed, exit code 2
Failed: installing svn-ssl-0.29.0-2 failed

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 10 16:46:43 2003

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

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