I get the following error when trying to compile apr under an SCO 5.0.7 box Making all in network_io/unix make[1]: Entering directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix' make[2]: Entering directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix' /bin/ksh /usr/local/src/subversion-1.4.5/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DSCO5 -D_REENTRANT -I../../include -I../../include/arch/unix -I../../include/arch/unix -c sockaddr.c && touch sockaddr.lo sockaddr.c: In function `call_resolver': sockaddr.c:389: `AF_INET6' undeclared (first use in this function) sockaddr.c:389: (Each undeclared identifier is reported only once sockaddr.c:389: for each function it appears in.) make[2]: *** [sockaddr.lo] Error 1 make[2]: Leaving directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/subversion-1.4.5/apr/network_io/unix' make: *** [all-recursive] Error 1 Apr and apr-util are both included in the dependencies for subversion 1.4.5 Any ideas ?
Have you tried passing --disable-ipv6 to ./configure?
./configure --disable-ipv6 ... configuring package in xml/expat now checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu src/srclib/apr-util/xml/expat/configure: line 3352: syntax error near unexpected token `lt_decl_varnames,' src/srclib/apr-util/xml/expat/configure: line 3352: `lt_if_append_uniq(lt_decl_varnames, SED, , ,' configure failed for xml/expat configure failed for srclib/apr-util