Date: Wed, 5 Sep 2012 15:41:23 +1000 From: John Marshall <john.marshall@riverwillow.com.au> To: Olli Hauer <ohauer@freebsd.org> Cc: apache@freebsd.org, freebsd-ports@freebsd.org Subject: Re: www/apache22 2.2.22_8 broken on IPv4-only system Message-ID: <20120905054123.GD43255@rwpc15.mby.riverwillow.net.au> In-Reply-To: <5046E2A7.2000204@FreeBSD.org> References: <20120905044640.GC43255@rwpc15.mby.riverwillow.net.au> <5046E2A7.2000204@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Wed, 05 Sep 2012, 07:27 +0200, Olli Hauer wrote:
> 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.)
>
> 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.
Thanks Olli,
I hadn't considered that option because its description says, "Allow
IPv6 socket to handle IPv4", and the system doesn't have IPv6. However,
because you suggested it, I tried anyway. Still no joy.
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.)
*** [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.
rwsrv08# make showconfig | grep v6
IPV4_MAPPED=on: Allow IPv6 socket to handle IPv4
--
John Marshall
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlBG5gMACgkQw/tAaKKahKJYtACgx2f0AHt6DIGGGzNSqRrcSVac
V18An2wm7cJ3drqZO3luh5PbBvF7vIGO
=cdkG
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120905054123.GD43255>
