From owner-freebsd-apache@FreeBSD.ORG Mon Oct 31 04:14:51 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 1F04816A41F; Mon, 31 Oct 2005 04:14:51 +0000 (GMT) (envelope-from bfoz@bfoz.net) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C4443D45; Mon, 31 Oct 2005 04:14:48 +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 (sccrmhc11) with ESMTP id <200510310414420110033ne7e>; Mon, 31 Oct 2005 04:14:47 +0000 Message-ID: <43659A24.2060804@bfoz.net> Date: Sun, 30 Oct 2005 20:14:28 -0800 From: Brandon Fosdick User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051007) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Clement Laforet References: <436442E5.4090508@bfoz.net> <20051030210955.GB49025@goofy.cultdeadsheep.org> In-Reply-To: <20051030210955.GB49025@goofy.cultdeadsheep.org> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: apache@FreeBSD.org Subject: Re: www/apache21 update? 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, 31 Oct 2005 04:14:51 -0000 Clement Laforet wrote: > I updated it few minutes ago. When I compile mod_dav_userdir I get the folowing errors: src/mod_dav_userdir.cc:86: error: expected primary-expression before '.' token src/mod_dav_userdir.cc:87: error: expected primary-expression before '.' token src/mod_dav_userdir.cc:88: error: expected primary-expression before '.' token src/mod_dav_userdir.cc:89: error: expected primary-expression before '.' token which refer to: 84: const command_rec dav_userdir_cmds[] = 85: { 86: AP_INIT_TAKE1("DavUserDirHost", CAST_HANDLER(handle_config_host), NULL, RSRC_CONF, "the RDBMS host address"), 87: AP_INIT_TAKE1("DavUserDirHostUser", CAST_HANDLER(handle_config_host_user), NULL, RSRC_CONF, "the RDBMS user name"), 88: AP_INIT_TAKE1("DavUserDirHostPass", CAST_HANDLER(handle_config_host_pass), NULL, RSRC_CONF, "the RDBMS user password"), 89: AP_INIT_TAKE1("DavUserDirDbName", CAST_HANDLER(handle_config_db_name), NULL, RSRC_CONF, "the name of database to store user tables in"), 90: {NULL} 91: }; It appears that the problem lies in the definition of AP_INIT_TAKE1 in http_config.h. There are two different definitions selected by an #ifdef AP_HAVE_DESIGNATED_INITIALIZER, only one of them has any '.' characters. I don't see any way to change this at compile time, although I didn't look very hard. Did I miss something?