www/apache22 2.2.22_8 broken on IPv4-only system

John Marshall john.marshall at riverwillow.com.au
Wed Sep 5 04:46:53 UTC 2012


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 listen.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.

-- 
John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20120905/b6e24491/attachment.pgp


More information about the freebsd-apache mailing list