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

Re: Problem compiling r2092 in order to convert database.

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-07-11 00:22:33 CEST

Jennifer Bevan <jen@alouysius.net> writes:

> Here's what I've done with the r2092d tarball after untarring it...
> ./configure --disable-shared
> make
> (it makes everything up to and including neon...)
> ------ completed all in neon
> /bin/sh /usr/local/subversion-r2092d/libtool --silent --mode=compile gcc
> -D_GNU_SOURCE -g -O2 -pthread -DNEON_ZLIB -I/usr/local/apache2/include

You probably have some APR headers in /usr/local/apache2/include and
those headers are being used in preference to the ones in the
subversion source directory. You need to move those out of the way
and re-run configure, you might be able to edit the Makefile.

> -I./subversion/include -I. -I/usr/local/subversion-r2092d/apr/include
> -I/usr/local/subversion-r2092d/apr-util/include
> -I/usr/local/subversion-r2092d/apr-util/xml/expat/lib
> -I/usr/local/subversion-r2092d/neon/src -o subversion/mod_dav_svn/liveprops.lo
> -c subversion/mod_dav_svn/liveprops.c
> subversion/mod_dav_svn/liveprops.c:102: parse error before `ap_text_header'
> subversion/mod_dav_svn/liveprops.c: In function `dav_svn_insert_prop':
> subversion/mod_dav_svn/liveprops.c:106: `resource' undeclared (first use in this
> function)
> subversion/mod_dav_svn/liveprops.c:106: (Each undeclared identifier is reported
> only once
> subversion/mod_dav_svn/liveprops.c:106: for each function it appears in.)
> ......(lots more errors)
> make: *** [subversion/mod_dav_svn/liveprops.lo] Error 1

If you want to build using CVS APR I would suggest using APR from the
date of rev 2092.

$ svn log -r 2092 http://svn.collab.net/repos/svn/trunk | grep ^rev
rev 2092: kfogel | Wed, 05 Jun 2002 19:40:17 +0100 | 48 lines

If you want to build just svnadmin, which I think doesn't have a
dependency on mod_dav_svn, try

$ make subversion/svnadmin/svnadmin

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 11 00:23:15 2002

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.