RH7.2 and Perl Installation

They have: 99 posts

Joined: May 1999

I have just installed a new RH7.2 package.

I need some guidance with how to manage the packages installed on the server. I am unclear as to how to coordinate the Redhat up2date and RPM Manager when installing additional packages. What I currently need is to have the perl-CGI-Lite package installed. I would like to do this using the rpm package. What I get when I try to do "rpm -i url_to_package" is a message indicating dependency failure: missing Perl Modules.

I gues my question is two-fold. One, what is the best way to manage my perl packagaes and ideally keeping the rpm manager current so it will monitor for upgrades etc. Two, what is the perl modules package. Is this a general term or is it referring to a specific rpm package.

Any help would be greatly appreciated. I am getting NO help from Redhat as this is apparently beyond the scope of their SLA agreement.

Tazman

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Taz, I really don't know about an update policy. I generally install the modules on a per need basis. Their are probably several thousand modules out there so you most of which aren't needed.

So getting back to the install of the CGI-lite module. What dependency problems are you having. Generally it will give some clue with your error message. You might post that here. Also have you tried installing a non-RPM module using the source code. I generally prefer doing things this way.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

They have: 99 posts

Joined: May 1999

mairving:

Thanks for the feedback. The rpm manager's message was as succinct as I indicated "dependency failure: missing Perl Modules".

That was my problem, I had zero clue as to whether it was referring to a "Master Perl Modules" package used by redhat, or if it was referring to discrete unnamed packages.

My whole reason for wishing to use the rpm manager was simply to allow the up2date utility to track any modules and dependencies created by installing the perl packages.

I ended up using the perl -e MCPAN method (perl cpan module). I have used it before, but have never configured it. It appears that I managed to configure it correctly, as I installed the CGI-Lite package and the CGI routines were able to see it.

If anyone can give me a pointer to any good documentation on configuring this module (and preferably some real examples) I would just like to make sure that I have it set up correctly.

Thanks.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.