From owner-freebsd-ports@FreeBSD.ORG Thu Nov 17 04:25:51 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E316916A41F for ; Thu, 17 Nov 2005 04:25:51 +0000 (GMT) (envelope-from xxjack12xx@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A87F43D45 for ; Thu, 17 Nov 2005 04:25:51 +0000 (GMT) (envelope-from xxjack12xx@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so366477wxc for ; Wed, 16 Nov 2005 20:25:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WhvCE8B9wE2Z4PQ+LHax60qxSRRhiJPlKAj0iZmpf584kuOkaffrTppuCvFlxfFjuDnLvw3qW1RN4t3v9+C7iexIf68GxkTdVHUtlZAqWgUUqBS/QVJa4m5hegOBZ+MesLRPaMcvXjpgLumuxBwnMl41z1+iKqxIc6LfK3cPwkU= Received: by 10.70.38.9 with SMTP id l9mr4401211wxl; Wed, 16 Nov 2005 20:19:16 -0800 (PST) Received: by 10.70.32.7 with HTTP; Wed, 16 Nov 2005 20:19:16 -0800 (PST) Message-ID: Date: Wed, 16 Nov 2005 20:19:16 -0800 From: "Jack L." To: Brandon Fosdick In-Reply-To: <437C0278.6080906@bfoz.net> MIME-Version: 1.0 References: <437C0278.6080906@bfoz.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: www/apache2 build error on 6.0-S 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: Thu, 17 Nov 2005 04:25:52 -0000 Hmm... It compiled just fine on my 6.0 Intel 3.2ghz i386. On 11/16/05, Brandon Fosdick wrote: > > I originally send this to apache@ but didn't get a reply. Since then I've > rebuilt the box in question and I'm still getting the same build error. H= as > anyone else seen this? > > BTW, the box is 6.0-S on a Sempron 3100+. > > -------- Original Message -------- > Subject: www/apache20 on 6.0-S > Date: Sun, 06 Nov 2005 17:18:10 -0800 > From: Brandon Fosdick > To: apache@FreeBSD.org > > I'm trying to build www/apache20 on a 6.0 box (updated from 5.4) and the > build is failing with the errors below. Anybody else seeing this? > > # make clean -DWITHOUT_IPV6 install clean > ... > Making all in prefork > /usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/srclib/apr/libtool > --silent --mode=3Dcompile cc -O2 -fno-strict-aliasing -pipe -march=3Dathl= on-xp > -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER > -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/srclib/apr/include > -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/srclib/apr-util/includ= e > -I/usr/local/include -I. -I/usr/tmp/usr/ports/www/apache2/work/httpd- > 2.0.55/os/unix -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/server/= mpm/prefork > -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/modules/http > -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/modules/filters > -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/modules/proxy > -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/include > -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55/modules/generators > -I/usr/include/openssl -I/usr/tmp/usr/ports/www/apache2/work/httpd-2.0.55= /modules/dav/main > -prefer-non-pic -static -c prefork.c && touch prefork.lo > prefork.c:1332: error: initializer element is not constant > prefork.c:1332: error: (near initialization for `prefork_cmds[3].name') > prefork.c:1332: warning: initialization from incompatible pointer type > prefork.c:1332: error: extra brace group at end of initializer > prefork.c:1332: error: (near initialization for `prefork_cmds[3].func') > prefork.c:1332: warning: excess elements in union initializer > prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') > prefork.c:1332: warning: excess elements in union initializer > prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') > prefork.c:1332: warning: excess elements in union initializer > prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') > prefork.c:1332: warning: excess elements in union initializer > prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') > prefork.c:1332: warning: excess elements in union initializer > prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') > prefork.c:1332: error: initializer element is not constant > prefork.c:1332: error: (near initialization for `prefork_cmds[3].func') > prefork.c:1332: warning: braces around scalar initializer > prefork.c:1332: warning: (near initialization for > `prefork_cmds[3].cmd_data') > prefork.c:1332: warning: braces around scalar initializer > ... > > the same errors are repeated for the next 11 lines of prefork.c > > Here are the relevant lines of prefork.c. I don't see anything that jumps > out. > > static const command_rec prefork_cmds[] =3D { > UNIX_DAEMON_COMMANDS, > LISTEN_COMMANDS, > AP_INIT_TAKE1("StartServers", set_daemons_to_start, NULL, RSRC_CONF, > "Number of child processes launched at server startup"), > AP_INIT_TAKE1("MinSpareServers", set_min_free_servers, NULL, RSRC_CONF, > "Minimum number of idle children, to handle request spikes"), > AP_INIT_TAKE1("MaxSpareServers", set_max_free_servers, NULL, RSRC_CONF, > "Maximum number of idle children"), > AP_INIT_TAKE1("MaxClients", set_max_clients, NULL, RSRC_CONF, > "Maximum number of children alive at the same time"), > AP_INIT_TAKE1("ServerLimit", set_server_limit, NULL, RSRC_CONF, > "Maximum value of MaxClients for this run of Apache"), > { NULL } > }; > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >