I'm running CentOS 4.4.
I'm trying to install swatch (a log watcher) using CPAN.
It's getting hung up on trying to install a dependency, Pod::Simple
So before I get too wrapped up in this, I have the following questions:
1. Is there an alternative way to install swatch? I didn't get a hit when I tried yum.
2. I'm not wedded to swatch. Is there another log checker out there that will work with CentOS?
3. Lastly, here's the error I get when I attempt to install Pod::Simple through CPAN:
Test Summary Report ------------------- t/xhtml01 (Wstat: 512 Tests: 26 Failed: 2) Failed tests: 24, 26 Non-zero exit status: 2 Files=53, Tests=1095, 9 wallclock secs ( 1.30 usr 0.10 sys + 7.22 cusr 0.78 csys = 9.40 CPU) Result: FAIL Failed 1/53 test programs. 2/1095 subtests failed. make: *** [test_dynamic] Error 255 ARANDAL/Pod-Simple-3.07.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports ARANDAL/Pod-Simple-3.07.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: ARANDAL/Pod-Simple-3.07.tar.gz : make_test NO
Hi,
On Mon, Sep 22, 2008 at 18:36, Al Sparks data345@yahoo.com wrote:
I'm trying to install [...whatever...] using CPAN.
DON'T!
http://wiki.centos.org/PackageManagement/SourceInstalls#head-cfd9f0e0d2b93af...
- Is there an alternative way to install swatch? I didn't get a hit when I tried yum.
Look at RPMforge, they have swatch 3.1 here: http://dag.wieers.com/rpm/packages/swatch/
- I'm not wedded to swatch. Is there another log checker out there that will work with CentOS?
logwatch comes with CentOS and is installed by default.
- Lastly, here's the error I get when I attempt to install Pod::Simple through CPAN:
That's why you should never use CPAN on a RHEL/CentOS box.
HTH, Filipe
On Mon, Sep 22, 2008 at 3:47 PM, Filipe Brandenburger filbranden@gmail.com wrote:
On Mon, Sep 22, 2008 at 18:36, Al Sparks data345@yahoo.com wrote:
I'm trying to install [...whatever...] using CPAN.
DON'T!
- Lastly, here's the error I get when I attempt to install Pod::Simple through CPAN:
That's why you should never use CPAN on a RHEL/CentOS box.
Famous quote by Jim Perrin:
"CPAN on rpm based machines is EVIL in so many ways it's not even funny.
To start, nothing installed via cpan identifies itself to the rpm database, so anything you install which depends on a perl (CPAN) module will fail because of missing dependencies. If you install something via CPAN and upgrade the perl rpm for some reason (a perl upgrade is released which translates regex into plain understandable english perhaps) it's entirely possible that it will overwrite things installed via cpan. This will cause you headaches down the road. In addition, if a cpan module gets overly greedy with its dependency build, you can end up with a broken or otherwise non-working perl install.
It's much better to use the perl modules in the rpmforge and c.k.o repositories, or cpan2rpm, or cpanflute. These will not interfere in such a manner."
( http://lists.centos.org/pipermail/centos/2007-February/033001.html )
on 9-22-2008 3:56 PM Akemi Yagi spake the following:
On Mon, Sep 22, 2008 at 3:47 PM, Filipe Brandenburger filbranden@gmail.com wrote:
On Mon, Sep 22, 2008 at 18:36, Al Sparks data345-/E1597aS9LQAvxtiuMwx3w@public.gmane.org wrote:
I'm trying to install [...whatever...] using CPAN.
DON'T!
- Lastly, here's the error I get when I attempt to install Pod::Simple through CPAN:
That's why you should never use CPAN on a RHEL/CentOS box.
Famous quote by Jim Perrin:
"CPAN on rpm based machines is EVIL in so many ways it's not even funny.
To start, nothing installed via cpan identifies itself to the rpm database, so anything you install which depends on a perl (CPAN) module will fail because of missing dependencies. If you install something via CPAN and upgrade the perl rpm for some reason (a perl upgrade is released which translates regex into plain understandable english perhaps) it's entirely possible that it will overwrite things installed via cpan. This will cause you headaches down the road. In addition, if a cpan module gets overly greedy with its dependency build, you can end up with a broken or otherwise non-working perl install.
It's much better to use the perl modules in the rpmforge and c.k.o repositories, or cpan2rpm, or cpanflute. These will not interfere in such a manner."
( http://lists.centos.org/pipermail/centos/2007-February/033001.html )
I really wish upstream would break or otherwise disable the CPAN shell and access mechanisms and keep this from happening.
--- On Tue, 9/23/08, Josh Donovan josh.dvan@yahoo.co.uk wrote:
From: Josh Donovan josh.dvan@yahoo.co.uk Subject: Re: [CentOS] install of Pod::Simple through CPAN To: "CentOS mailing list" centos@centos.org Date: Tuesday, September 23, 2008, 5:46 AM Al Sparks wrote:
I'm running CentOS 4.4.
CentOS 4.4? Any reason to be using something so old?
I wondered if someone would call me on that. I'm about to migrate off of it tonight. I was using it as a semi-test platform. We're moving to a 5.2 64b.
I'm trying to install swatch (a log watcher) using
CPAN. There are "friendly" repositories with swatch.
Thanks, Josh.