From owner-freebsd-ports@FreeBSD.ORG Wed Sep 5 05:27:11 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D124C106566C; Wed, 5 Sep 2012 05:27:11 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 8A0E48FC08; Wed, 5 Sep 2012 05:27:11 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 47060208AB; Wed, 5 Sep 2012 07:27:06 +0200 (CEST) Message-ID: <5046E2A7.2000204@FreeBSD.org> Date: Wed, 05 Sep 2012 07:27:03 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: John Marshall References: <20120905044640.GC43255@rwpc15.mby.riverwillow.net.au> In-Reply-To: <20120905044640.GC43255@rwpc15.mby.riverwillow.net.au> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:27:11 -0000 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