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

error building svn 0.14.3

From: Hamilton Link <helink_at_sandia.gov>
Date: 2002-09-26 21:59:41 CEST

I am trying to build svn 0.14.3 under Mac OS X 10.2 (Jaguar), and
getting a fatal error "make"ing svn. For prior versions of svn under OS
10.1, the process I used works fine and my configuration settings work
fine, so I don't know what to make of it. A little help getting past the
build error would be appreciated -- gross detail follows.

thanks,
hamilton

This was a clean installation on a new machine (a titianium). I've built
0.14.2 and earlier versions successfully under 10.1.x so I am familiar
with the installation process, and I'm building 0.14.3 in the same
manner (i.e. same configuration args). Here's the error:

configure and "make clean" work fine on the latest rev of svn, but make
gives me a ton of this:

"cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory"

and otherwise looks like it's working fine until I get the following
fatal error:

"cd subversion/mod_dav_svn && /bin/sh /Users/helink/subversion/svn-
build/libtool --silent --mode=link gcc -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG
-I../svn/subversion/include -I. -I/usr/local/include/neon
-I/usr/local/BerkeleyDB.4.0/include -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/include -L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/lib
-rpath /usr/local/apache2/modules -o mod_dav_svn.la -avoid-version
-module 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"

And here's the process I went through:

I installed texinfo 4.0, autoconf 2.53, automake 1.5, and libtool 1.4.2
(these are from the same packages and tgz files that I used under OS X
10.1 to build svn before, they're definately MacOS versions).

I installed Python 2.2.1 and BerkeleyDB 4.1.24 (and later 4.0.14, I'll
get to that in a sec)

I built httpd-2.0 with apr and apr-util, and installed apache, and then
installed expat specifically (apr-config --libs still only returns -lm
under OS X, so for neon to find expat I have to install it in
/usr/local/lib)

httpd configure command was:
./configure --enable-dav --enable-so --prefix=/usr/local/apache2
--with-dbm=db4 --with-berkeley-db=/usr/local/BerkeleyDB.4.1
--enable-maintainer-mode

I installed neon 0.23.4

neon configure command was:
./configure --with-apr=/usr/local/apache2 --with-apr-
util=/usr/local/apache2 --with-expat --enable-shared

I downloaded and built subversion-r3200.tar.gz, and successfully co'ed
svn, then tried to build the svn sources

svn configure command (from a separate build directory, after autogen.sh
was run):
../svn/configure --with-apr=/usr/local/apache2 --with-apr-
util=/usr/local/apache2 --with-berkeley-db=/usr/local/BerkeleyDB.4.1
--with-neon=/usr/local --with-apxs=/usr/local/apache2/bin/apxs
--enable-maintainer-mode

At this point I did make clean and make, getting the error during make.

I thought having BerkeleyDB.4.1 might be a concern, so I installed
4.0.14 (the two versions appear to coexist peacefully) and rebuilt
apache, rebuilt neon, and tried to build svn again (reconfiguring apache
and svn with --with-berkeley-db=theolderversion, make clean, etc), and I
got the exact same problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 26 21:54:31 2002

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