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

little help? svn build error under Mac OS X

From: Hamilton Link <helink_at_sandia.gov>
Date: 2003-08-01 01:23:29 CEST

This is all under Max OS 10.2.6.

I'm seeing
gcc: -install_name only allowed with -dynamiclib
make: *** [subversion/mod_dav_svn/mod_dav_svn.la] Error 1
as the last thing (meaning it's fatal?) during a make of the svn trunk.

First, I successfully built the 0.26.0 svn tarball and installing
Berkeley DB 4.1.25, python, neon 0.23.9, and Apache2 (from the source
tarball, so it included apr and apr-util). Then I ran svn's autogen.sh,
and ran 'configure --enable-maintainer-mode'.

I went to make the svn server, skipped the 'make' step and ran 'make
install' (on accident). It looks like it did the make phase for
everything anyway, and there's now a brand new svn and an svnadmin etc.
in my /usr/local/bin directory, but he process ultimately ended with
the following penultimate message and final error:

cd subversion/mod_dav_svn && /bin/sh
/Users/helink/subversion/obj/libtool --silent --mode=link gcc -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-DNEON_ZLIB -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith -Wwrite-strings
-Wshadow -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/apache2/lib
-rpath /usr/local/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
gcc: -install_name only allowed with -dynamiclib
make: *** [subversion/mod_dav_svn/mod_dav_svn.la] Error 1

This bit about install_name and dynamiclib sounds wierdly familiar as
far back in my memory as svn 0.14.3 or 0.17 -- In fact, I seem to
recall tweaking libtool or glibtool or something at one point to deal
with this. I've totally forgotten what the point was since then, but
can anyone tell me what this error boils down to? Are the following
files liable to be any good?

helink% ls /usr/local/bin/svn* -al
-rwxr-xr-x 1 root wheel 649228 Jul 31 16:56
/usr/local/bin/svn
-rwxr-xr-x 1 root wheel 44944 Jul 31 16:56
/usr/local/bin/svnadmin
-rwxr-xr-x 1 root wheel 46224 Jul 31 16:56
/usr/local/bin/svndumpfilter
-rwxr-xr-x 1 root wheel 76748 Jul 31 16:56
/usr/local/bin/svnlook
-rwxr-xr-x 1 root wheel 84156 Jul 31 16:56
/usr/local/bin/svnserve
-rwxr-xr-x 1 root wheel 274160 Jul 31 16:56
/usr/local/bin/svnversion

I guess i'll start trying to serve a repository in the mean time, but
any advice on this mysterious recurring problem would be appreciated.
Other than this, the whole svn build thing seems to go quite smoothly,
including all the supporting installations.

thanks,
hamilton

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 1 01:22:57 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.