From owner-freebsd-ports@FreeBSD.ORG Wed Sep 5 05:41:30 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4363106566C; Wed, 5 Sep 2012 05:41:30 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [203.58.93.36]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF7A8FC18; Wed, 5 Sep 2012 05:41:29 +0000 (UTC) Received: from rwpc15.mby.riverwillow.net.au (rwpc15.mby.riverwillow.net.au [172.25.24.201]) (authenticated bits=56) by mail1.riverwillow.net.au (8.14.5/8.14.5) with ESMTP id q855fNw1023045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Sep 2012 15:41:24 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=m1001; t=1346823684; bh=HJ70qmC39kLXTNa/zkv4DH9YtP4+ZWzYLnRlRGJQpKA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YJ65V/d75h8W6VXtg6tKL5kcIJcqkZNFvGZQfNK6MiRgbaRdY2tnx3cS/7KMKRhFq TmQU8g2r4DK9M20onmFdDWmXsyOp0bGXha/yYHgxNxmo4KGaInjZTV9xPc+BSelWDt ggIUdayx2ySP1Zmr8vfq6aOjQvXPs769FoKnb1iM= Date: Wed, 5 Sep 2012 15:41:23 +1000 From: John Marshall To: Olli Hauer Message-ID: <20120905054123.GD43255@rwpc15.mby.riverwillow.net.au> References: <20120905044640.GC43255@rwpc15.mby.riverwillow.net.au> <5046E2A7.2000204@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <5046E2A7.2000204@FreeBSD.org> OpenPGP: id=A29A84A2; url=http://pki.riverwillow.com.au/pgp/johnmarshall.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: apache@freebsd.org, freebsd-ports@freebsd.org Subject: Re: www/apache22 2.2.22_8 broken on IPv4-only system X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 05:41:30 -0000 --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > >=20 > > config.c: In function 'init_server_config': > > config.c:1984: error: 'APR_INET6' undeclared (first use in this functio= n) > > config.c:1984: error: (Each undeclared identifier is reported only once > > config.c:1984: error: for each function it appears in.) >=20 > Please enable IPV4_MAPPED. >=20 > The IPv6 parameter had no effect for apache since it was a APR (devele/ap= r) parameter. >=20 > Unluckily there is no way for the Makefiles to check if APR was build wit= hout 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=3Don: Allow IPv6 socket to handle IPv4 --=20 John Marshall --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBG5gMACgkQw/tAaKKahKJYtACgx2f0AHt6DIGGGzNSqRrcSVac V18An2wm7cJ3drqZO3luh5PbBvF7vIGO =cdkG -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz--