in the libapreq2 source folder:
./configure
make
make install
(or sudo make install...)
then (using the same perl you used with mod_perl) build the perl libs in the same folder:
/path/to/perl Makefile.PL
make
make install
(or sudo make install...)
watch for errors, and check that the module was installed in your path (the apache error log should tell you where it looked.)
c
a
On Jul 26, 2006, at 9:22 AM, philge philip wrote:
Dear colleague
I am a bioinformatics programmer from India.I am interested to use mod_perl to improve the performance of our cgi scripts.I need a guidance for configuring mod_perl 2.0 in my server.
I have Apache.2.0.5.2 and Perl 5.8.5 installed in Fedora 3 operating system.
I downloaded mod_perl2.0 version and installed it with the following commands:
Perl MakeFfile.PL MP_AP_PREFIX=/apxs path
Make
Make install
Next I added the lines:
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
to httpd.conf
when I tried restarting the server I got an error like ' cant locate perl module Apache2.pm module in @INC'
Though I corrected this error once and when I tried to load Apache2::Request module in the script I got an error like 'cant locate perl module Apache2::Request.pm in @INC'.
I tried installing the libapreq2-2.07 module to include Apache2::Request module but I am unable to load it.
Please guide me how to load the Apache2.pm module and load Apache2::request module when such an error come.I have a doubt whether I have to upgrade our Perl version and whether Fedora3 will support higher versions of perl?Kindly guide me…
Philge Philip
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.