Hi, I'd greatly appreciate ideas on getting mod_perl successfully loaded
via DSO into my Apache 1.3.33 installation.
I compile and receive no errors (via Makefile.PL or via direct apache compile).
I am not sure if I do not have my config file properly referencing mod_perl
(I think it's right)
I'm installing RT, a supportware allpication. As part of that effort, I've
compiled in mod_perl and loaded a bunch of Perl modules onto the
machine. I've reach an impasse when after compiling in mod_perl, I get
following error when performing an apache configtest:
Odd number of elements in
AddModule mod_perl.c
.
See
http://perl.apache.org/docs/1.0/guide/install.html#Installing_separate_Apache_and_mod_perl_RPMs
You're missing the LoadModule line.
I swore the order was AddModule then LoadModule, so try both.. or whatever you
have these things in your httpd.conf
.
.
Alia
John.kelley wrote:
LoadModule Mod_perl or libperl?
Is there supposed to be a mod_perl.so or am I supposed to overlay the "old"
libperl.so?
LoadModule perl_modulelibexec/libperl.so
AddModule mod_perl.c
ls libexec/ |grep perl
:-rwxr-xr-x 1 pgollucci wheel - 4.9M Sep 22 19:50:20 2005
John Kelley wrote:
Odd number of elements in hash assignment at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm line 152.
[Fri Sep 23 08:24:55 2005] [error] unknown field \n passed to
constructor for class HTML::Mason::ExceptionCompilation failed in
require at /opt/rt3/lib/RT/Inte
Ihadn't posted it but it's there for mod_perl.
John
-Original Message-
From: "Philip M. Gollucci"<[EMAIL PROTECTED]>
Sent: 9/22/05 6:48:40 PM
To: "John Kelley"<[EMAIL PROTECTED]>
Cc: "modperl@perl.apache
<[EMAIL PROTECTED]>
Cc: "modperl@perl.apache.org"
Subject: Re: Apache DSO compile issue...
>
> AddModule mod_perl.c
>
>
> .
See
http://perl.apache.org/docs/1.0/guide/install.html#Installing_separate_Apache_and_mod_per
Thanks Philip, I'll give it a try...
John
-Original Message-
From: "Philip M. Gollucci"<[EMAIL PROTECTED]>
Sent: 9/22/05 7:54:29 PM
To: "John.kelley"<[EMAIL PROTECTED]>
Cc: "modperl@perl.apache.org"
Subject: Re: Apache
I backed off to Mason version but still get:
Odd number of elements in hash assignment at
/usr/local/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm line 152.
Syntax error on line 2395 of /usr/local/apache/conf/httpd.conf:
unknown field
passed to constructor for class HTML::Mason::ExceptionC
I reset the masonhandler path as follows:
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
and now get:
[Thu Sep 29 09:01:23 2005] [error] unknown field \n passed to constructor
for class HTML::Mason::ExceptionCompilation failed in require at
/opt/rt3/lib/R
10 matches
Mail list logo