Click to See Complete Forum and Search --> : add/change version of Perl RH 9


edpatterson
08-21-2003, 01:24 PM
Greetings,

I am trying to replace or at least change the default version of Perl from 5.8x to 5.6 on my Red hat box.

I installed 5.6 via RPM and now I need to know which file(s) to edit to switch the path/lib path and what ever else needs to be changed.

Thanks,
Ed

mdwatts
08-21-2003, 01:29 PM
Moving to the Software forum since this is not a Linux installation question.

mdwatts
08-21-2003, 02:22 PM
Does anything really need to be changed since the one version of Perl should have just replaced the previous?

edpatterson
08-21-2003, 04:12 PM
I would assume so, perl -v still returns the 5.8.x string.

Ed

mdwatts
08-21-2003, 04:21 PM
Anything in the Perl documentation on where the path variables are set?

Do a grep for perl in the users home directory and in /etc.

o0zi
08-22-2003, 03:31 AM
Perhaps you should uninstall 5.8 by RPM (with the -e switch) and then install 5.6. Then all the paths should be taken care of.

Can I just ask, why are you downgrading your version of Perl?:confused:

edpatterson
08-22-2003, 02:22 PM
Yes you may ask.

It all started with this idea of playing with MySQL and the purchase of a 'few' books. In a nutshell (pun intended) all of my books reference Apache 1.3 with mod_perl. RH is preconfigured with Apache 2.x and downgrading that was a pain but I finally go it done and working fine.

Now I am trying to get mod_perl installed.

I used MCPAN to locate and install mod_perl. It seemed to work and as part of the process it recompiled apache (httpd). Or it claimed to. The build date of the one I am using didn't change and httpd -l bombs out at suexec: disabled; invalid wrapper /path/to/suexec

I thought maybe it bombed because everything I have read says I need 1.3 and 5.6. <hugh sigh>

Configuring httpd to make use of mod_perl proves that it did not get compiled in.

Is there a graphicle RPM out there that lists which version of a package it is going to install? MCPAN is smoking my poor little brain.

I hate to say it but getting Apache/mod_perl/mysql running under XP was a snap. Too bad I don't want to use XP.