On 2012-09-05 06:46, John Marshall wrote:
> The new options provided with 2.2.22_8 blow away existing IPv4/IPv6
> knobs and the port tries to build with IPv6 on a system which is IPv4
> only.  The ending is not happy.
> 
> config.c: In function 'init_server_config':
> config.c:1984: error: 'APR_INET6' undeclared (first use in this function)
> config.c:1984: error: (Each undeclared identifier is reported only once
> config.c:1984: error: for each function it appears in.)
> /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -g -O2 
> -I/usr/local/include  -O -pipe -march=core2 -I/usr/include      -I. 
> -I/build/ports/www/apache22/work/httpd-2.2.22/os/unix 
> -I/build/ports/www/apache22/work/httpd-2.2.22/server/mpm/prefork 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/http 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/filters 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/proxy 
> -I/build/ports/www/apache22/work/httpd-2.2.22/include 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/generators 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/mappers 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/database 
> -I/usr/local/include/apr-1 -I/usr/local/include 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/proxy/../generators 
> -I/usr/include -I/build/ports/www/apache22/work/httpd-2.2.22/modules/ssl 
> -I/build/ports/www/apache22/work/httpd-2.2.22/modules/dav/main 
> -prefer-non-pic -static -c listen.c && touch li
 sten.lo

> *** [config.lo] Error code 1
> 1 error
> *** [all-recursive] Error code 1
> 1 error
> *** [all-recursive] Error code 1
> 1 error
> *** [do-build] Error code 1
> 
> Stop in /build/ports/www/apache22.
> *** [build] Error code 1
> 
> Stop in /build/ports/www/apache22.
> 
> I tried being creative and inserting --disable=ipv6 in a couple of
> different places but to no avail.  Reverting to 2.2.22_7, where I could
> select IPv4 only, got me out of trouble.
> 

Please enable IPV4_MAPPED.

The IPv6 parameter had no effect for apache since it was a APR (devele/apr) 
parameter.

Unluckily there is no way for the Makefiles to check if APR was build without 
IPv6 support
and do the change automatically.

--Regards,
olli
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to