"Can't locate mod_perl2.pm in @INC", suse 9.3, rt 3.2.0

That’s the error message I’m getting in error_log when I try to start
apache. Suse 9.3 has something called ‘apache2-mod_perl - embedded perl
for apache’. There doesn’t seem to be a ‘mod_perl2.pm’ anywhere. I’m
upgrading from rt 2.0.15, so I have to use rt 3.2.0 first, right? Suse
9.3 is covered in the wiki, so I’m suprised this hasn’t come up.

Joe

Joe,

Check out:

http://wiki.bestpractical.com/index.cgi?TroubleShooting

Is the mod-perl2 package loaded on the server?

Michael Eraña, CISSP
CTO
PC Network, Inc.
eranam@lanusa.com

The only package for mod_perl in suse linux 9.3 is called
‘apache2-mod_perl’, which I have installed. It includes the file

/usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi/mod_perl.pm

and its version number seems to be ‘1.99’.

Joe Szabo
CCF Netops
Rutgers UniversityOn Tue, 28 Mar 2006, Michael Erana wrote:

Joe,

Check out:

Request Tracker Wiki

Is the mod-perl2 package loaded on the server?

Michael Eraña, CISSP
CTO
PC Network, Inc.
eranam@lanusa.com

You’ll need to install the mod_perl2 module then. Not sure if Suse sets up to load from CPAN or from their own repositories…

Michael Eraña
CTO
PC Network, Inc.
eranam@lanusa.comFrom: joe [mailto:jszabo@dilligaff.rutgers.edu]
Sent: Tuesday, March 28, 2006 1:52 PM
To: Michael Erana
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] “Can’t locate mod_perl2.pm in @INC”, suse 9.3, rt 3.2.0

The only package for mod_perl in suse linux 9.3 is called ‘apache2-mod_perl’, which I have installed. It includes the file

/usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi/mod_perl.pm

and its version number seems to be ‘1.99’.

Joe Szabo
CCF Netops
Rutgers University

Whoops. Meant to send that to the list instead.From: Shuying Wang wang.shuying.lists@gmail.com
Date: Mar 30, 2006 9:14 AM
Subject: Re: [rt-users] “Can’t locate mod_perl2.pm in @INC”, suse 9.3, rt 3.2.0
To: joe jszabo@dilligaff.rutgers.edu

You might want to have a look at Mason/ApacheHandler.pm and see what
version of that you’re using. It appears that the newer version of
that file checks that the version of mod_perl installed is > 1.99,
even though in other cases, mod_perl1.99x is considered mod_perl2,
bizzarely enough.

–Shuying