Hi
I wanted to update my apache and mod-perl install.
I stated to do it and found that I needed the LWP module which requires some other modules first.
I got all of them on untill I needed the libnet module.
ALl of the other modules I installed by hand and having no problems until I needed the libnet module. I could only find it in the Bundle::libnet module and that has to be run from the CPAN module.  In an attempt to install Bundle::libnet which you have to do through CPAN it seems that CPAN installed another version of perl on my server in
usr/local/lib/perl5/5.6.1
I already have a version in
usr/lib/perl5/5.6.0
 
Did it automatically try to update my version?
 
When I run
perl -MCPAN -e shell
it is being run from the 5.6.1 version at usr/local and therefore does not find any of the other modules I already have installed.
I know this because it uses the cpan config file in that location and also the dependencies that it is showing are already installed in the other location.
 
Can I just delete the 5.6.1 version off of my server?
 
How do I get the 5.6.0 version of cpan to run and the server to recognize this?
 
Also, I am running a mod-perl server and have many scripts running under it.
How does the server know which version to use?
 
Am I going to have some problems?
 
I'm not sure what to do at this point and don't know where to look.
 
I now have to versions of perl on my server.  I assume there is a file somewhere that tells the computer which one to use when you type perl from the command line.  What should I do?
 
Thanks
John Michel
 

Reply via email to