1832890 Members
3104 Online
110048 Solutions
New Discussion

Help with mod_perl

 
SOLVED
Go to solution
Christophe MAILHE
Frequent Advisor

Help with mod_perl

Hi everybody.

Could someone help me to install mod_perl for Apache before I shoot myself?

I have been trying to install this module for a few days now without any success.

Here is my config:
?? HP-UX 11.00
?? Apache 1.3.26 from the HP Software centre - binary distribution
?? Perl v5.8.0 for PA-RISC1.1 ??? Built from sources using gcc 3.2 and the following command : ./Configure -d -e -Dcc=gcc -Dprefix=/usr/local -Duseshrplib useposix=true -A append:ccflags=' -fPIC'

I am trying to install mod_perl-1.27.

Many thanks,

Chris
1 REPLY 1
benoit Bruckert
Honored Contributor
Solution

Re: Help with mod_perl

Hi Chris,
To install mod_perl, you will have to compile on your own Apache 1.3.26, which means download it from apache.org and compile it from sources.
I never did it for mod_perl, but I did it with php, I think it is the same concept :
You have to compile mod_perl on one side (./configure ...options... with_apachesource=)
then make and make install the mod_perl
And the second step is the Apache compilation :
./configure ...option... and something --activate-module=.
May be you have to make the apache configure before compilation of mod_perl.... (to create modules directories) ?
Then make make install of Apache.. And play !!!
The best thing is to see INSTALL file from mod_perl sources. As perl is install, you have gcc 3.2 working, then you shouldn't have compiler troubles (keep gcc in your $PATH).

Hope this will help...
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)