Subject: pkg/25100: www/ap-perl 1.25 (mod_perl) does not work with apache-1.3.29 and/or perl-5.8.3
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <pierre.bourgin@pcotech.fr>
List: pkgsrc-bugs
Date: 04/08/2004 07:47:52
>Number:         25100
>Category:       pkg
>Synopsis:       www/ap-perl 1.25 (mod_perl) does not work with apache-1.3.29 and/or perl-5.8.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 08 07:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Pierre Bourgin
>Release:        NetBSD-1.6ZL/i386  and Solaris/sparc 8
>Organization:
PCO Technolgies
>Environment:
- NetBSD lyrics 1.6ZL NetBSD 1.6ZL (GENERIC) #0: Sun Mar 28 04:14:56 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC i386

- SunOS tequila 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V250


>Description:
Once perl-5.8.3 is built with pkgsrc from 14th, february 2004, I also 
built apache-1.3.29 and ap-perl-1.25nb1.

I'm unable to make work the mod_perl module (ap-perl) under Apache: 

- on NetBSD-1.6ZL, httpd attempts to start but fails without noticing anything,

- on Solaris 8/sparc, httpd starts but mod_perl is unusable: perl script produces nothing else than logs in apache error_log file.

>How-To-Repeat:

on NetBSD-1.6ZL/i386: 
build/install apache-1.3.29, perl-5.8.3, ap-perl-1.25nb1 packages, 
adds the following lines in the apache config. file (httpd.conf), 
then try to start Apache: it will fail.

  ... [httpd.conf content]
  LoadModule perl_module /usr/pkg/lib/httpd/mod_perl.so
  PerlModule Apache::Registry

On Solaris 8/sparc: 
the apache serveur starts but no HTML output is produced while using 
mod_perl on perl scripts.


>Fix:
I've upgraded my www/ap-perl to version 1.29, and everything seems to 
be OK on my both env (NetBSD-1.6ZL, Solaris 8).

about the package definition, just Makefile and distinfo files must be changed, other files of the package definitions comes from the 1.25nb1 (even patch files).

>Release-Note:
>Audit-Trail:
>Unformatted: