Re: [PLUG] Custom perl...

2011-08-01 Thread Dale Snell
On Mon, 01 Aug 2011 01:12:03 -0700
someone  wrote:

> To get spamcannibal to work, I need to replace CentOS 5.6's
> perl-5.8.8 with perl-5.12.1 or better.  How do I get yum update
> to work despite the fact that I'm breaking the perl
> dependencies?  Can I get yum to report the dependencies and
> then ignore them?  I need to know what I thinks is missing so I
> can cpan2rpm install them...
> 
> Michael C. Robinson

The "deplist" command to yum will list the dependencies for a
package.  Note that there are a lot of them for perl.  You'll
probably have to enable the Fedora repositories (fedora.repo,
fedora-updates.repo) so that yum will see the version of perl that
you want.  Then you should be able to do

  yum upgrade perl-5.12.3-143.fc14

That should pull in perl and all of its dependencies.  (I'm
still running F14; I have no idea if F15 has a later release of
perl.)

WARNING:  I THINK this will work, but I've never done it before.
I have no idea what other things might be pulled in if you do
this.  YOU HAVE BEEN WARNED.

Good Luck!

--Dale

--
Ivanova:  Always finding the good in any situation, eh Captain?
Sheridan:  Absolutely.  If I didn't, I might end up like you.
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Custom perl...

2011-08-01 Thread Paul Heinlein
On Mon, 1 Aug 2011, someone wrote:

> To get spamcannibal to work, I need to replace CentOS 5.6's 
> perl-5.8.8 with perl-5.12.1 or better.  How do I get yum update to 
> work despite the fact that I'm breaking the perl dependencies?  Can 
> I get yum to report the dependencies and then ignore them?  I need 
> to know what I thinks is missing so I can cpan2rpm install them...

Michael,

I'm always reluctant to overwrite a core CentOS package like perl. Too 
many other utilities have perl tie-ins to make that an easily 
maintained solution.

My suggestion: create , e.g., /usr/local/spamcannibal. The build your 
own Perl and install it there. The use that perl, 
/usr/local/spamcannibal/bin/perl (or whatever), to build and install 
the other modules spamcannibal needs to operate.

In your mail configs, use that installation, rather than 
/usr/bin/perl, to run things.

Ideally, you'd keep track of everything you did for the build and 
codify it in a shell script so it can be repeated if necessary.

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Custom perl...

2011-08-01 Thread someone
To get spamcannibal to work, I need to replace CentOS 5.6's perl-5.8.8 with
perl-5.12.1 or better.  How do I get yum update to work despite the fact that
I'm breaking the perl dependencies?  Can I get yum to report the dependencies
and then ignore them?  I need to know what I thinks is missing so I  
can cpan2rpm install them...

Michael C. Robinson


This message was sent using IMP, the Internet Messaging Program.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug