Re: How to upgrade perl standard module?



Tanel Kokk <tanel.kokk.remove.it@xxxxxxx> writes:

> Situation is as follows: module MIME::Base64 is perl standard module
> in SuSE Enterprise Server. Module version is 2.21. Now I would like to
> use program, which requires the latest version of MIME::Base64,
> version of 3.05.
>
> What is the correct way to upgrade the module?
>
>
> 1) perl -MCPAN -e shell
> At first I thought that this method should be most correct way, but
> what about rpm dependecies, when there will be perl rpm package
> upgrade in the future?
>
> 2) standard method: perl Makefile.PL && make && make test && make install
>
> What do you think?

I tend to look at package managers as an all-or-nothing affair - either I let
them manage everything, or nothing at all.

So, I'd leave the SuSE-managed copy of Perl strictly alone - there might be
other packages that depend on it in ways I'm not aware of. Then I'd install
my own Perl somewhere else, like /usr/local or /opt/perl, where I could do
as I please without fear of breaking or being broken by RPM.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
.



Relevant Pages

  • Re: sharing printer with samba in FC4 (update)
    ... Right now now I am trying to install the new rpm ... package with upgrade version but it doesn't like. ... my rpm query only shows the samba packages. ...
    (Fedora)
  • Re: yum upgrade FC5->FC6 issues
    ... FC6 using yum upgrade and and having some minor issues. ... rpm -ivh http://rpm.livna.org/livna-release-6.rpm ... Error: Missing Dependency: libsepol - 1.12.27-1 is needed by package libsepol-devel ...
    (Fedora)
  • Re: [opensuse] Zypper Dup Failed : unpacking of archive failed: cpio: Bad magic
    ... I tried to upgrade my openSUSE 10.3 into 11.0 factory but it seems to ... In order to install this package, you must agree to terms of the above ... removed yast ... zypper in rpm before the zypper dup. ...
    (SuSE)
  • Re: Perl command
    ... > Can anyone tell me how I could get an RPM package installed using Perl? ... etc. and forcing things to install (though I suggest ...
    (perl.beginners)
  • Re: Removal of RPM after installing update
    ... was installed by RPM. ... You are discovering the problem with package managers. ... that may want perl. ... The O.P. could try installing his present 5.8.8. ...
    (comp.os.linux.setup)