Subject: Re: mod_perl (ap-perl) issues
To: Hiramatsu Yoshifumi <hiramatu@boreas.dti.ne.jp>
From: Phil Pereira <phil@bsdnexus.com>
List: tech-pkg
Date: 10/31/2004 22:54:14
Tested with success!!!!!

on apache-1.3.33

Thanks a lot!!!

Phil.

Hiramatsu Yoshifumi wrote:

>Hello,
>
>Can you please try this? 
>
>--- apache.orig/Makefile        2004-11-01 00:33:31.000000000 +0900
>+++ apache/Makefile     2004-11-01 00:35:52.000000000 +0900
>@@ -156,9 +156,13 @@
> MAKE_ENV+=             CHMOD="${CHMOD}" CHOWN="${CHOWN}" XARGS="${XARGS}"
> MAKE_ENV+=             FIND="${FIND}" CHGRP="${CHGRP}"
>
>+CFLAGS+=               ${PTHREAD_CFLAGS}
>+LDFLAGS+=              ${PTHREAD_LDFLAGS}
>+
> .include "../../devel/libmm/buildlink3.mk"
> .include "../../textproc/expat/buildlink3.mk"
> .include "../../mk/bdb.buildlink3.mk"
>+.include "../../mk/pthread.buildlink3.mk"
>
> post-extract:
>        @${CP} ${FILESDIR}/ap_include_extern.h ${WRKSRC}/src/include
>
>
>At Sat, 30 Oct 2004 19:44:22 +0100,
>"Phil Pereira" <phil@bsdnexus.com> wrote:
>  
>
>>Hello fellow NetBSD users,
>>
>>I recently installed NetBSD 2.0 RC4 and installed Apache and also mod-perl
>>(ap-perl-1.29nb1) from pkgsrc. I then added the appropriate line to my
>>httpd.conf file:
>>
>>LoadModule perl_module lib/httpd/modperl.so
>>
>>However, this resulted in Apache core dumping each time I tried to start it.
>>If I remove the line, apache starts fine.
>>
>>Is it just me and my setup? I googled but found nothing helpful or recent on
>>the issue. My system is running the following:
>>
>>Kernel	: 	Generic
>>Arch		:	i386
>>Perl		:	perl-5.8.4nb1
>>Apache	:	apache-1.3.31nb7
>>Mod_perl	:	ap-perl-1.29nb1
>>
>>Many thanks
>>
>>Phil.
>>    
>>
>
>  
>