Hi all, Since upgrading to perl 5.8.5-36.el4_5.2 I have had no end of problems, starting with needing compress::zlib which I got from rpmforge, then I had to reinstall scalar::util to get mailscanner working but now I can't install or upgrade any perl modules. Has anyone else had problems or can someone tell me what I've done wrong please? regards tom
On 11/14/07, Tom <admin at homemachine.net> wrote:> > Hi all, > > Since upgrading to perl 5.8.5-36.el4_5.2 I have had no end of problems, > starting with needing compress::zlib which I got from rpmforge, then I > had to reinstall scalar::util to get mailscanner working but now I can't > install or upgrade any perl modules. > Has anyone else had problems or can someone tell me what I've done wrong > please? > > regards > tomtom ... try to trouble shoot ... shell> perl -MCPAN -e shell cpan> install DBI cpan> install DBD::mysql what the error message ? --- shibu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071114/f8067279/attachment.html>
Shibu C Varughese wrote:> > > On 11/14/07, *Tom* <admin at homemachine.net > <mailto:admin at homemachine.net>> wrote: > > Hi all, > > Since upgrading to perl 5.8.5-36.el4_5.2 I have had no end of problems, > starting with needing compress::zlib which I got from rpmforge, then I > had to reinstall scalar::util to get mailscanner working but now I > can't > install or upgrade any perl modules. > Has anyone else had problems or can someone tell me what I've done wrong > please? > > regards > tom > > > > tom ... > > try to trouble shoot ... > > shell> perl -MCPAN -e shell cpan> install DBI > cpan> install DBD::mysql > > what the error message ? > > --- > shibuThanks for replying shibu. [root at tom razor-agents-2.84]# perl -MCPAN -e shell There seems to be running another CPAN process (pid 23858). Contacting... Other job not responding. Shall I overwrite the lockfile? (Y/N) [y] y cpan shell -- CPAN exploration and modules installation (v1.7602) ReadLine support enabled cpan> install DBI CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sat, 10 Nov 2007 22:36:34 GMT Running install for module DBI Running make for T/TI/TIMB/DBI-1.601.tar.gz CPAN: Digest::MD5 loaded ok perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Compress/Raw/Zlib/Zlib.so: undefined symbol: Perl_Gthr_key_ptr [root at tom razor-agents-2.84]# I can't find any other cpan shell running either but I get that msg each time it exits like this.
Tom wrote:> Hi all, > > Since upgrading to perl 5.8.5-36.el4_5.2 I have had no end of problems, > starting with needing compress::zlib which I got from rpmforge, then I had > to reinstall scalar::util to get mailscanner working but now I can't > install or upgrade any perl modules. > Has anyone else had problems or can someone tell me what I've done wrong > please?The Compress::Zlib problem has been fixed in rpmforge, but yes, the package was broken. What do you mean exactly with "cannot install or upgrade any perl modules"? Can you give us an error message? Cheers, Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20071114/0b052cb1/attachment.sig>
Ralph Angenendt wrote:> Tom wrote: >> Hi all, >> >> Since upgrading to perl 5.8.5-36.el4_5.2 I have had no end of problems, >> starting with needing compress::zlib which I got from rpmforge, then I had >> to reinstall scalar::util to get mailscanner working but now I can't >> install or upgrade any perl modules. >> Has anyone else had problems or can someone tell me what I've done wrong >> please? > > The Compress::Zlib problem has been fixed in rpmforge, but yes, the > package was broken. > > What do you mean exactly with "cannot install or upgrade any perl > modules"? Can you give us an error message? > > Cheers, > > RalphYes... below The most recent version "3.24" of the module "Text::ParseWords" is part of the perl-5.8.8 distribution. To install that, you need to run force install Text::ParseWords --or-- install N/NW/NWCLARK/perl-5.8.8.tar.gz The most recent version "3.24" of the module "Text::ParseWords" is part of the perl-5.8.8 distribution. To install that, you need to run force install Text::ParseWords --or-- install N/NW/NWCLARK/perl-5.8.8.tar.gz
Tom wrote:> Hi all, > > Since upgrading to perl 5.8.5-36.el4_5.2 I have had no end of problems, > starting with needing compress::zlib which I got from rpmforge, then I > had to reinstall scalar::util to get mailscanner working but now I can't > install or upgrade any perl modules. > Has anyone else had problems or can someone tell me what I've done wrong > please? > > regards > tomOK ... I want to make something PERFECTLY CLEAR ... Using CPAN installed modules is NOT supported while using a Package Management system like RPM. You should NOT use CPAN to install perl modules, nor should you use pear to install pear modules. That is because when you reinstall php-pear or perl, you will loose these items that are updated/installed in any way other than via RPMS. If you are using CentOS. then you need to get all your perl modules and pear modules via RPM. If you need something, it should probably exist either at RPMForge, at KBS-Centos-Extras, at EPEL or in the worst case condition, take one of the other modules that does exist and use it to create the module. Also, look in Fedora 6.7.8 and see if you can get an SRPM to make your modules. If you don't ... when perl or php-pear are upgraded, your install will absolutely, positively, beyond any and all shadow of doubt be BROKEN. (BTW, this is not to Tom .. but to the whole list ... DON'T INSTALL CRAP FROM CPAN !!!!!!!!) Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20071114/428f8800/attachment.sig>
Johnny Hughes wrote:> Tom wrote: >> Hi all, >> >> Since upgrading to perl 5.8.5-36.el4_5.2 I have had no end of problems, >> starting with needing compress::zlib which I got from rpmforge, then I >> had to reinstall scalar::util to get mailscanner working but now I can't >> install or upgrade any perl modules. >> Has anyone else had problems or can someone tell me what I've done wrong >> please? >> >> regards >> tom > > OK ... I want to make something PERFECTLY CLEAR ... > > Using CPAN installed modules is NOT supported while using a Package > Management system like RPM. > > You should NOT use CPAN to install perl modules, nor should you use pear > to install pear modules. > > That is because when you reinstall php-pear or perl, you will loose > these items that are updated/installed in any way other than via RPMS. > > If you are using CentOS. then you need to get all your perl modules and > pear modules via RPM. If you need something, it should probably exist > either at RPMForge, at KBS-Centos-Extras, at EPEL or in the worst case > condition, take one of the other modules that does exist and use it to > create the module. > > Also, look in Fedora 6.7.8 and see if you can get an SRPM to make your > modules. > > If you don't ... when perl or php-pear are upgraded, your install will > absolutely, positively, beyond any and all shadow of doubt be BROKEN. > > (BTW, this is not to Tom .. but to the whole list ... DON'T INSTALL CRAP > FROM CPAN !!!!!!!!) > > Thanks, > Johnny HughesOk, loud and clear. What's the best way to revert back if a mess has been created. I tried to install bugzilla on a Centos4.5 server but did not succeed. I now run bugzilla on a Fedora installation instead. The bugzilla installation suggested to install all kind of needed perl modules using CPAN. So what's the best procedure to revert back the perl installation and maintain it with yum? I checked with rpm -V perl-5.8.5-36.el4_5.2.i386 and see a lot of modified files. An uninstall is going to remove 266 packages, so re-install is not a good option I guess. Yum upgrade/install will not work, since the package is already installed of course. Thanks for your help, and I shall never use CPAN again, never I promise..... Cheers, Theo