apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: Problems compiling apr on Linux
Date Wed, 13 Dec 2000 02:40:25 GMT
Mo DeJong <mdejong@cygnus.com> writes:

> Hi all.
> 
> I tried to compile apr under Linux (Red Hat 6.2)
> today, but it failed with the following error:
> 
> make[1]: Entering directory `/usr/local/project/subversion/apr/lib'
> gcc -DLINUX=2 -pthread  -D_REENTRANT  -c -I../include 
> -I../include/arch/unix -I../include/arch/unix apr_pools.c
> In file included from ../include/apr_portable.h:70,
>                  from apr_pools.c:65:
> ../include/apr_network_io.h:127: parse error
> ../include/apr_network_io.h:175: parse error
> make[1]: *** [apr_pools.o] Error 1
> make[1]: Leaving directory `/usr/local/project/subversion/apr/lib'

What is APR_HAVE_IPV6 set to in your copy of the generated file apr.h?
It is supposed to always be set to 0 or 1, hence the "#if
APR_HAVE_IPV6" syntax instead of "#ifdef APR_HAVE_IPV6" syntax.

On my RedHat 6.0 system it is set to 1 in apr.h.  I am guessing that
it is set to some bogus value on your system (like @have_ipv6@ or
similar, indicating that something bad happened during configure).

Thanks...
-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message