Subject: Re: apache, ap-perl and pthread
To: None <firstname.lastname@example.org>
From: Geert Hendrickx <email@example.com>
Date: 03/15/2006 12:00:05
On Thu, Mar 09, 2006 at 06:04:37PM +0100, Manuel Bouyer wrote:
> since perl is compiled with threads by default, ap-perl doesn't work
> anymore with apache-1.3. This is because ap-perl is linked with threads
> and httpd isn't. Adding -lpthreads when linking httpd fixes this. For now
> I've done this by hand when building apache for the few servers where I
> still use apache-1.3 + mod_perl.
> What is the best way to fix this in pkgsrc (if we really want to fix it) ?
Until a proper fix is found, we should at least *document* this: e.g.
adding something like "to use mod_perl, you must compile apache with
APACHE_CUSTOM_CFLAGS=-pthread in /etc/mk.conf" to www/ap-perl/MESSAGE.