Thanks Philip for the help.
I looked in the config.log file and found
configure:5202: checking for serf_context_create in -lserf-1
configure:5227: gcc -o conftest -g -O2 -pthread -I/home/mschuh/local/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 - I/home/mschuh/local//include/serf-1 -L/home/mschuh/local/lib -L/home/mschuh/local//lib conftest.c -lserf-1 -laprutil-1 -lapr-1 -lz >&5
/home/mschuh/local/lib/libserf-1.so: undefined reference to `apr_sockaddr_ip_getbuf'
collect2: ld returned 1 exit status
I found a helpful tread on this http://subversion.1072662.n5.nabble.com/Serf-1-2-0-has-been-released-td178523.html that has
| Philip Martin; Feb 25, 2013; 4:43am Re: Serf 1.2.0 has been released by
| > I think it's really questionable to be running such old versions of
| > APR at this point. The oldest version of httpd ASF supports is 2.2.x
| > and 2.2.0 comes with APR 1.2.2. httpd 2.2.23 (the current version)
| > comes with APR 1.4.6. So i'd say at this point it's questionable to
| > bother supporting 0.9-1.1. 1.2 might be a little more arguable, but
| > I'm sure there are security issues that have never been patched in APR
| > 1.2.x. Though some distributions may be back-porting things.
| It's the distributions that matter. People do run these old systems,
| old CentOS/RHEL in particular. Bumping the APR requirement to 1.3 would
| mean these people need to build apr and apache to be able to build
| I'd prefer it if serf supported older APR but I assume people on these
| old systems are mostly interested in the server-side of Subversion.
| They can workaround the serf problem by configuring --without-serf.
Sure enough, I am running CentOS and want to use the client side of Subversion to access repositories via https.
I tried installing APR 1.4.8 to see if it would work better with Serf.
tar -xf apr-1.4.8.tar.bz2
This time, the configure script worked. I tried a build Subversion 1.8.0 again and ran into another error
/bin/sh /home/mschuh/src/subversion-1.8.0/libtool --tag=CC --silent --mode=compile gcc -std=c89 -I/home/mschuh/local/include -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -g -O2 -pthread -I./subversion/include -I./subversion -I/home/mschuh/local/include/apr-1 -I/usr/include/apr-1 -I/home/mschuh/local//include/serf-1 -I/home/mschuh/src/subversion-1.8.0/sqlite-amalgamation -o subversion/libsvn_subr/cache-membuffer.lo -c subversion/libsvn_subr/cache-membuffer.c
In file included from /home/mschuh/local/include/apr-1/apr_strings.h:52,
/home/mschuh/local/include/apr-1/apr_want.h:95: error: redefinition of 'struct iovec'
In file included from /home/mschuh/local/include/apr-1/apr_file_io.h:29,
/home/mschuh/local/include/apr-1/apr_file_info.h:192: error: expected specifier-qualifier-list before 'apr_ino_t'
subversion/libsvn_subr/cache-membuffer.c: In function 'drop_entry':
subversion/libsvn_subr/cache-membuffer.c:656: error: 'APR_UINT32_MAX' undeclared (first use in this function)
subversion/libsvn_subr/cache-membuffer.c:656: error: (Each undeclared identifier is reported only once
subversion/libsvn_subr/cache-membuffer.c:656: error: for each function it appears in.)
subversion/libsvn_subr/cache-membuffer.c: In function 'insert_entry':
subversion/libsvn_subr/cache-membuffer.c:725: error: 'APR_UINT32_MAX' undeclared (first use in this function)
subversion/libsvn_subr/cache-membuffer.c: In function 'ensure_data_insertable':
subversion/libsvn_subr/cache-membuffer.c:1018: error: 'APR_UINT32_MAX' undeclared (first use in this function)
subversion/libsvn_subr/cache-membuffer.c: In function 'svn_cache__membuffer_cache_create':
subversion/libsvn_subr/cache-membuffer.c:1243: error: 'APR_UINT32_MAX' undeclared (first use in this function)
make: *** [subversion/libsvn_subr/cache-membuffer.lo] Error 1
Any suggestions on what to do next? Am I close or way far from succesfully compiling Subversion? Is there an older version of subversion that might with the older apr library? I want to run "svn co https://svn.xxx.com/repository" and such.
Received on 2013-07-23 17:09:17 CEST