Date: Thu, 12 May 2005 11:10:57 +0200 From: Lars Eggert <lars.eggert@netlab.nec.de> Cc: Sergey Matveychuk <sem@FreeBSD.org> Subject: Re: HEADS UP: mod_perl2 API changes Message-ID: <DF086210-1162-4A20-BC11-6BA75B789039@netlab.nec.de> In-Reply-To: <5F1C5895-75C7-49AF-8BE8-949B18A933E5@netlab.nec.de> References: <55B5C129-1BD5-4389-9B37-97913017D52A@netlab.nec.de> <428315C9.9090500@FreeBSD.org> <390642D6-0728-4485-8F62-4A18310A74CD@netlab.nec.de> <42831BEC.6090507@FreeBSD.org> <5F1C5895-75C7-49AF-8BE8-949B18A933E5@netlab.nec.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-79-142904284 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On May 12, 2005, at 11:08 , Lars Eggert wrote: > On May 12, 2005, at 11:03 , Sergey Matveychuk wrote: >> Lars Eggert wrote: >> >>> Thanks for the list! Note that some other ports that do not >>> explicitly list mod_perl2 as a dependency include code that uses >>> it if installed. These will also break. Based on my own >>> experience, this includes at least www/twiki and devel/cvsweb3. >>> I'm sure there are others, but I have no clue how to identify >>> them all. >> >> I'm not sure it's right. The ports will not work if they use >> mod_perl2 but have no depends on it. > > They do, it's perl. These ports contain code that says "if > mod_perl2 installed, use it, otherwise, just use perl." (Remember > that mod_perl2 at a very basic level is a performance improvement > that reuses spawned perl interpreters in apache. Perl CGIs run fine > without it, just slower.) > > The problem is that while the mod_perl guys changed the API to > *use* mod_perl2, they did not change the API to *test for it*. > Hence we're in a nice pickle: The test for mod_perl2 succeeds, but > then the calls to it fail. Forgot to add: The maintainers of these other ports may not even be aware that their port contains code that will call mod_perl2 when it is installed. Lars -- Lars Eggert NEC Network Laboratories --Apple-Mail-79-142904284--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF086210-1162-4A20-BC11-6BA75B789039>