Apache DSO compile issue

I’m installing RT for the first time. 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 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/Interface/Web/Handler.pm line 146.\nCompilation failed in
require at (eval 7) line 1.\n
Syntax error on line 2396 of /usr/local/apache/conf/httpd.conf:
unknown field
passed to constructor for class HTML::Mason::ExceptionCompilation failed
in require at /opt/rt3/lib/RT/Interface/Web/Handler.pm line 146.
Compilation failed in require at (eval 7) line 1.

I verified I am compiling mod_perl with EVERYTHING=1
System is RH Linux Enterprise 2.1 apache 1.3.33. Everything else is the
latest available release except for some mysql related material which the
installed required an earlier than current release of.

Pointers appreciated!

John

john> I’m installing RT for the first time. As part of that effort, I’ve
john> compiled in mod_perl and loaded a bunch of Perl modules onto the
john> machine. I’ve reach an impasse when after compiling in mod_perl, I get
john> following error when performing an apache configtest:
(…)
john> I verified I am compiling mod_perl with EVERYTHING=1
john> System is RH Linux Enterprise 2.1 apache 1.3.33. Everything else is the
john> latest available release except for some mysql related material which the
john> installed required an earlier than current release of.

  1. If you’re using apache 1.3 => mod_perl1, so I would suggest you check
    HTML::Mason Changelog, to get the right version. The latest versions have
    been modified to support modperl >= 2.0.0, and might have broken or drop
    support for mod_perl1.

  2. Another way could be upgrade apache 1.3.x to 2.0.y + modperl 2.0.1
    (and CGI.pm >= 3.11).

  3. If you fail 1) and can’t do 2) you should consider use mod_fastcgi
    instead of mod_perl.

    Paulo Matos


|Sys & Net Admin | Centro de Inform�tica |
|Faculdade de Ci�ncias e Tecnologia | Tel: +351-21-2948596 |
|Universidade Nova de Lisboa | Fax: +351-21-2948548 |
|P-2829-516 Caparica | e-Mail: pjsm@fct.unl.pt |