From owner-freebsd-apache@FreeBSD.ORG Mon Nov 7 01:23:55 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C33A16A41F for ; Mon, 7 Nov 2005 01:23:55 +0000 (GMT) (envelope-from bfoz@bfoz.net) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [63.240.77.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 147AD43D46 for ; Mon, 7 Nov 2005 01:23:54 +0000 (GMT) (envelope-from bfoz@bfoz.net) Received: from [192.168.0.5] (c-24-6-134-233.hsd1.ca.comcast.net[24.6.134.233]) by comcast.net (sccrmhc14) with ESMTP id <20051107011811014006vilbe>; Mon, 7 Nov 2005 01:18:12 +0000 Message-ID: <436EAB52.9060605@bfoz.net> Date: Sun, 06 Nov 2005 17:18:10 -0800 From: Brandon Fosdick User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051007) X-Accept-Language: en-us, en MIME-Version: 1.0 To: apache@FreeBSD.org X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: www/apache20 on 6.0-S X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 01:23:55 -0000 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=compile cc -O2 -fno-strict-aliasing -pipe -march=athlon-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/include -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[] = { 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 } }; From owner-freebsd-apache@FreeBSD.ORG Mon Nov 7 10:00:33 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13A5B16A434 for ; Mon, 7 Nov 2005 10:00:33 +0000 (GMT) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D6D343D4C for ; Mon, 7 Nov 2005 10:00:31 +0000 (GMT) (envelope-from fenner+portsurvey@FreeBSD.org) Received: from freefall.freebsd.org (fenner@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA7A0U4u037768 for ; Mon, 7 Nov 2005 10:00:30 GMT (envelope-from fenner+portsurvey@freefall.freebsd.org) Received: (from fenner@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA7A0U5r037767; Mon, 7 Nov 2005 10:00:30 GMT (envelope-from fenner+portsurvey) Date: Mon, 7 Nov 2005 10:00:30 GMT Message-Id: <200511071000.jA7A0U5r037767@freefall.freebsd.org> From: fenner@freebsd.org (Bill "distfiles" Fenner) To: apache@freebsd.org Cc: Subject: FreeBSD ports: 4 unfetchable distfiles: www/mod_accesscookie, www/mod_v2h, www/mod_vdbh, www/mod_webapp X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@freebsd.org List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 10:00:33 -0000 Dear apache@freebsd.org, You are listed as the FreeBSD port maintainer for 4 ports whose distfiles are not fetchable from their MASTER_SITES. Could you please visit http://people.freebsd.org/~fenner/portsurvey/apache@freebsd.org.html and correct the problems listed there? The individual ports with problems are www/mod_accesscookie,www/mod_v2h,www/mod_vdbh,www/mod_webapp. If you have already corrected the problems and submitted a PR, please accept my thanks and apologies for the delay in getting the fixes into the tree. This reminder is created automatically and does not (yet) have a way to know if a PR fixing the problem has been submitted. Please do *NOT* send your response to me directly; I do not necessarily have time to commit your fix; please instead submit a PR via 'send-pr' so it doesn't get lost. Problems are usually of two types: 1. The software package has been upgraded and the version in the port has been removed. The best solution to this problem is to upgrade the port to the most current version of the software package. If you are a FreeBSD committer, then you can just upgrade the port directly. If not, you should create the updated port on your own machine, test it (and maybe even run "portlint" on it), and then use "send-pr" to submit a "diff -uNr old-port updated-port". If you added or deleted any files, please make an explicit note of it. 2. The mirror site being used no longer contains the software package in question, or no longer exists. Solutions include: a) If there are other mirror sites, just remove the bad site from the list. (Make sure that what appears to be a bad site isn't actually a problem of type 1, upgrade) b) If the README or other support files in the software documentation mention where to get the software package, use one of those sites. c) Use a search engine to find another place to get the original DISTFILES. Make sure that you don't pick a FreeBSD distfiles mirror -- if you can't find any other places where the file exists, it can be a LOCAL_PORT or you can simply comment out the MASTER_SITES= line, with a comment explaining why. Once you have a solution, use "send-pr" to submit a "diff -u" of the Makefile. Note that this isn't an urgent issue, as people who try to build the port now will just fall back to the FreeBSD distfiles mirror. Please just put it on your list to do and get to it when you have time. These messages will continue to arrive twice a month until the fix is committed, as a reminder. Thanks, Bill "distfiles" Fenner. From owner-freebsd-apache@FreeBSD.ORG Mon Nov 7 11:00:50 2005 Return-Path: X-Original-To: apache@freebsd.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60ADC16A41F for ; Mon, 7 Nov 2005 11:00:50 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B05943D45 for ; Mon, 7 Nov 2005 11:00:50 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA7B0nov048891 for ; Mon, 7 Nov 2005 11:00:49 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA7B0nWF048884 for apache@freebsd.org; Mon, 7 Nov 2005 11:00:49 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 7 Nov 2005 11:00:49 GMT Message-Id: <200511071100.jA7B0nWF048884@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 11:00:50 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/12/09] ports/74907 apache [PATCH] www/mod_perl: cleanups o [2005/05/18] ports/81183 apache apache13-modperl can not compile with por o [2005/10/21] ports/87773 apache duplicate INDEX entry: www/mod_rpaf* 3 problems total. From owner-freebsd-apache@FreeBSD.ORG Tue Nov 8 21:00:09 2005 Return-Path: X-Original-To: apache@FreeBSD.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEA9C16A41F for ; Tue, 8 Nov 2005 21:00:09 +0000 (GMT) (envelope-from clement@FreeBSD.org) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 8CEF943D69 for ; Tue, 8 Nov 2005 21:00:04 +0000 (GMT) (envelope-from clement@FreeBSD.org) Received: (qmail 96257 invoked by uid 1000); 8 Nov 2005 22:00:02 +0100 Date: Tue, 8 Nov 2005 22:00:01 +0100 From: Clement Laforet To: apache@FreeBSD.org Message-ID: <20051108210001.GA69386@goofy.cultdeadsheep.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline User-Agent: Mutt/1.5.10i Cc: ports@FreeBSD.org Subject: USE_APACHE hints X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 21:00:09 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, As some of you may have noticed, bsd.apache.mk was finally committed,=20 and USE_APACHE knob have be reworked. It's backward compatible but USE_APACHE=3Dyes is now deprecated. What's new in bsd.apache.mk? USE_APACHE can be used for ports of modules but also with apache=20 server ports. * USE_APACHE - if set to 1.3/13/2.0/20/2.1/1.3+/2.0+/2.1+ Installed version is automatically detected, avoiding=20 many build failure if a non-compatible version of=20 apache is installed. ${APACHE_PORT} is also USE_APACHE compliant. e.g if you defined=20 APACHE_PORT=3Dwww/apache13-modssl, apache version (1.3) is detected and= =20 dependencies are still consistant. for apache > 2.0, APACHE_MPM is set to current MPM, if apache is=20 installed. AP_GENPLIST and such knobs are still present. =20 - if set to common13/common2/common21, we consider current port as=20 an apache server port. It offers the same flexibility apache2 has for any version of=20 apache. Please refer to www/apache2/Makefile.modules to know how=20 ${ALL_MODULES_CATEGORIES} ${DEFAULT_MODULES_CATEGORIES} work to=20 use those facilities in your apache port. I'll try update to apache@ ports this week-end, if you want to=20 contribute, patches are welcome. Thanks, clem --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFDcRHRsRhfjwcjuh0RAi4eAKC/rd97LDheZZ06hKtwpDQfgz9hjwCeJ4Pt o4ZliLZm6/OHOsJrTe0/DhI= =RJMO -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3-- From owner-freebsd-apache@FreeBSD.ORG Sat Nov 12 15:17:05 2005 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDC6C16A41F for ; Sat, 12 Nov 2005 15:17:05 +0000 (GMT) (envelope-from malcolm@asauthors.org) Received: from mailhost.catholic.org (mailhost.catholic.org [66.122.14.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC44343D46 for ; Sat, 12 Nov 2005 15:17:05 +0000 (GMT) (envelope-from malcolm@asauthors.org) Received: from webmail.catholic.org (webmail.catholic.org [66.122.14.27]) by mailhost.catholic.org (8.12.11/8.12.11) with SMTP id jACFH40V022946 for ; Sat, 12 Nov 2005 07:17:04 -0800 Received: from 220.233.101.28 (SquirrelMail authenticated user scrpt) by webmail.catholic.org with HTTP; Sat, 12 Nov 2005 15:17:04 -0000 (GMT) Message-ID: <53877.220.233.101.28.1131808624.squirrel@webmail.catholic.org> Date: Sat, 12 Nov 2005 15:17:04 -0000 (GMT) From: "M Fitzgerald" To: freebsd-apache@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: virtual hosts take an age to resolve X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2005 15:17:06 -0000 I'm new to freeBSD and I want to be using it as a test server for web development. Apache is running but I am having trouble with virtual hosts. Requesting a static page from a virtual host address takes a long time. It seems as though the request for virtual.host.name is being sent to the internet DNS, where (of course) it can't be found before it tries locally. I have tried to treat it as a problem with httpd.conf. I've been on irc #apache but they ran out of advice without finding a solution. Now I'm treating it as a BSD network configuration problem. I looked at resolv.conf and named.conf but they appear to be correct. I'm too new to be sure. This is what I'm sure of. I have this line in hosts. 127.0.0.1 dummy.ccccnsw.org.au cccc typing cccc in the location bar of a web browser does two things: 1. the nickname immediately switches to http://dummy.ccccnsw.org.au 2. after a minute or two the page is displayed Where should I be looking to fix this problem? ---------------------------------------------------- Catholic Financial Services Send and Receive all online Payments and Donations No Merchant Account Required! https://www.catholicfs.org/