Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Conflict Between RPM and CPAN Shell Installation Method?

by Hrunting (Pilgrim)
on Feb 08, 2001 at 01:23 UTC ( #57067=note: print w/replies, xml ) Need Help??

in reply to Conflict Between RPM and CPAN Shell Installation Method?

Yes, if you have your policy set to follow and your package requires a core module with a version newer than your current system, then the new version of perl will be downloaded and compiled for you. I doubt that anything in the Slash code actually requires 5.6.0, but you never know. This is one of the worst parts of using CPAN, and one of the reason I don't use it anymore.

Well, by default, the perl RPM installs into /usr on RedHat systems, while perl's build process installs into /usr/local by default. I recently reinstalled RH7 from CD, and I wanted to compile my own version of perl for some other software I was using. I uninstalled the Perl RPM using --nodeps, then compiled my own. If you flip them around, then your /usr/bin/perl gets erased (although technically, you should just be able to copy /usr/local/bin/perl to /usr/bin/perl or symlink them). If you do that, of course, you simply have to install packages that required perl with --nodeps. There might be a way to add an entry to the RPM database without actually installing that file, but I don't know what it is. what I do is try to install the package normally first and if it fails because of a perl dependency, I install it with --nodeps. That way I can still catch dependency failures.

BTW, if you upgrade to RH7, make sure that you compile perl with kgcc and not gcc. Perl's installer has problems with the gcc libs provided by RH7, and they can cause socket problems (among other things, I discovered).

  • Comment on Re: Conflict Between RPM and CPAN Shell Installation Method?

Replies are listed 'Best First'.
(tye)Re: Conflict Between RPM and CPAN Shell Installation Method?
by tye (Sage) on Feb 08, 2001 at 01:36 UTC

    This is reportedly fixed in the latest

            - tye (but my friends call me "Tye")
      This has actually been fixed since last spring.

      There have been several versions of CPAN since then.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://57067]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-09-26 19:35 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (118 votes). Check out past polls.