Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache perl module problems

Status
Not open for further replies.

tamray

IS-IT--Management
Feb 8, 2005
43
US
I am trying to install webgui on a new centos install, Apache is httpd-2.0.52-19.ent.centos4, and mod_perl is
mod_perl-1.99_16-4.centos4
Apache starts fine, without errors, until I edit perl.conf, by adding the following:

<Files ~ "\.(pl)$">
SetHandler perl-script
PerlHandler ModPerl::Registry
PerlOptions +ParseHeaders
</Files>
PerlRequire /data/WebGUI/sbin/preload.perl


This causes the following error from CGI.pm:

Can't locate object method "register_cleanup" via package "Apache::RequestRec" at /usr/lib/perl5/5.8.5/CGI.pm line 356.

Apache::Request looks to come from libapreq-1.33. When I attempt to install it I get the following:

perl Makefile.PL && make && make test && make install
mod_perl 1.x ( < 1.99) is required at Makefile.PL line 34.
BEGIN failed--compilation aborted at Makefile.PL line 36

Another forum recomended using Apache::Cookie, but It complains about the same thing.

Any ideas how to fix this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top