pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apache and mod_perl



On 11/21/06 11:35 AM, "Emmanuel Dreyfus" <manu%netbsd.org@localhost> wrote:

> Hello
> 
> A strange problem with apache and mod_perl from pkgsrc:
> I had to add -lpthread in httpd link command, otherwise loading
> mod_perl caused a core dump.
> 
> The idea of adding -lpthread come from a warning message that is
> displayed during www/ap-perl build, where it's said that perl is
> built with -lpthread, check that httpd is build with -lpthread too.
> 
> I don't know how this can be correctly fixed.

In my mk.conf to use ap2 I have:

PKG_OPTIONS.perl = -threads
PKG_OPTIONS.apache = suexec

This works very well for me.

peter




Home | Main Index | Thread Index | Old Index