On 9/4/07, Leroy van Logchem <[EMAIL PROTECTED]> wrote:
> I'am using cpan to install HTTP::Request but it fails at message.t on
> standard CentOS 5 64bit installation. I really need this module, thanks
> for any help.
snip

CentOS is an RPM/YUM based distro, you should be installing binary
versions of the modules using yum, not using CPAN*.  Try this**

yum install perl-libwww-perl

In general it appears as if CentOS uses the format perl-foo-bar for
the package name for Foo::Bar.

* that is unless you really need to.  CPAN is great, but using the
versions created by your distro have the following benefits:
1. the ability to cleanly install and uninstall modules
2. the ability to install a module and all of its non-Perl dependencies
3. security tracking (if a flaw is found in a given module, your
distro can automatically provide a fix and notify you).
4. all of the programs/libraries are guaranteed to work well together
(if the interface for a module changes, then things dependent on that
interface can be upgraded at the same time).

** I cannot guarantee this is the correct package name, I use Debian
based distros, but it is the base name I saw in the CentOS repository
here:
http://mirror.centos.org/centos/5/os/x86_64/CentOS/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to