[csw-users] Perl 5.10.1 zlib error

chirag.parikh at thomsonreuters.com chirag.parikh at thomsonreuters.com
Thu May 31 19:36:49 CEST 2012


I'm getting below output...Please advise how to fix this the correct way. Renaming site_perl (/opt/csw/lib/perl/site_perl) directory results in a working perl with few missing modules (which I can install again via pkgutil) and putting directory back in place breaks perl.

> pkgutil -Uc CSWperl CSWpm
=> Fetching new catalog and descriptions (http://mirror.opencsw.org/opencsw/unstable/sparc/5.10) if available ...
==> 3486 packages loaded from /var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_unstable_sparc_5.10
package                   installed                 catalog
CSWperl                   5.10.1,REV=2011.01.15     SAME                     
CSWperldoc                5.10.1,REV=2011.01.15     SAME                     
CSWpm-compress-bzip2      2.09,REV=2012.04.18       SAME                     
CSWpm-compress-raw-bzip2  2.033,REV=2011.03.07      SAME                     
CSWpm-compress-raw-zlib   2.033,REV=2011.03.11      SAME                     
CSWpm-dbd-sqlite          1.31,REV=2011.03.07       SAME                     
CSWpm-dbd-sybase-freetds  1.11,REV=2010.11.23       SAME                     
CSWpm-dbd-sybase-ocs      1.11,REV=2010.11.23       SAME                     
CSWpm-dbi                 1.616,REV=2011.03.09      SAME                     
CSWpm-html-parser         3.68,REV=2011.03.10       SAME                     
CSWpm-html-tagset         3.20,REV=2011.03.10       SAME                     
CSWpm-io-compress         2.033,REV=2011.03.07      SAME                     
CSWpm-libwww-perl         5.837,REV=2011.03.07      SAME                     
CSWpm-mime-base64         3.13,REV=2011.03.07       SAME                     
CSWpm-module-implementation 0.06,REV=2012.04.18       SAME                     
CSWpm-module-runtime      0.013,REV=2012.04.18      SAME                     
CSWpm-params-validate     1.06,REV=2012.04.19       SAME                     
CSWpm-try-tiny            0.11,REV=2012.03.16       SAME                     
CSWpm-uri                 1.59,REV=2011.12.14       SAME                     
CSWpmclassfactutil        1.7,REV=2010.06.08        SAME                     
CSWpmclasssingleton       1.4,REV=2010.03.20        SAME                     
CSWpmcompressrawzlib      2.033,REV=2011.03.11      SAME                     
CSWpmcompresszlib         2.020,REV=2009.08.07      SAME                     
CSWpmdatetime             0.55,REV=2010.04.09       SAME                     
CSWpmdatetimelocale       0.45,REV=2010.04.09       SAME                     
CSWpmdatetimetz           1.16,REV=2010.04.09       SAME                     
CSWpmdbdmysql             4.013,REV=2010.02.11      SAME                     
CSWpmdbdoracle            1.23,REV=2010.02.16       SAME                     
CSWpmdbdsqlite            1.31,REV=2011.03.07       SAME                     
CSWpmdbi                  1.616,REV=2011.03.07      SAME                     
CSWpmdigestsha            stub,REV=2010.03.08       SAME                     
CSWpmdigestsha1           2.12,REV=2010.02.01       SAME                     
CSWpmfcgi                 0.73,REV=2011.06.25       SAME                     
CSWpmfontafm              1.20,REV=2011.01.09       SAME                     
CSWpmhtmlfmt              2.04,REV=2010.09.02       SAME                     
CSWpmhtmlformat           2.04,REV=2010.09.02       SAME                     
CSWpmhtmlparser           3.68,REV=2011.03.10       SAME                     
CSWpmhtmltagset           3.20,REV=2011.03.10       SAME                     
CSWpmhtmltree             4.1,REV=2011.01.20        SAME                     
CSWpmiocompress           2.033,REV=2011.03.07      SAME                     
CSWpmiocompressbase       2.020,REV=2009.08.07      SAME                     
CSWpmiodigest             0.10,REV=2011.01.10       SAME                     
CSWpmiozlib               1.10,REV=2011.01.07       SAME                     
CSWpmlibwww               5.837,REV=2011.03.07      SAME                     
CSWpmmimebase64           3.13,REV=2011.03.07       SAME                     
CSWpmparamsvalidate       1.06,REV=2012.04.19       SAME                     
CSWpmtermreadkey          2.30,REV=2010.02.01       SAME                     
CSWpmuri                  1.59,REV=2011.12.14       SAME                     
CSWpmyaml                 0.72,REV=2010.09.02       SAME



-----Original Message-----
From: users-bounces+chirag.parikh=thomsonreuters.com at lists.opencsw.org [mailto:users-bounces+chirag.parikh=thomsonreuters.com at lists.opencsw.org] On Behalf Of Peter Bonivart
Sent: Thursday, May 31, 2012 1:28 PM
To: Questions and discussions
Subject: Re: [csw-users] Perl 5.10.1 zlib error

On Thu, May 31, 2012 at 7:09 PM,  <chirag.parikh at thomsonreuters.com> wrote:
> Thanks Peter. I found the problem. It is indeed the mixed env. of modules. As indicated by the error, it was looking for in site_perl/auto, where CSW packages are in csw/auto. I have moved/renamed site_perl directory and everything works. But what this means that it's missing all my modules that I had in site_perl originally. Now I want to install those corresponding modules via CSW packages so that its using one standard and not mixed as earlier. What I need to know is how to obtain list of all available modules from which I can pick the ones needed and install them. Would below work to obtain list?
>
> pkgutil -a |grep pm_

I would not manually manipulate the perl paths, please do not do this.
What do you think will happen when you install the packages you're now
"missing" because you moved them? The package system will say they are
already there and they are, you just messed with the actual files.
Trust the package system and you will be happier.

We have changed the Perl paths so they will work better (priority
wise). Just upgrade and you will get matching main Perl och modules in
the correct paths.

My guess is you had 5.8.8 Perl and modules and now you have 5.10.1
Perl but still 5.8.8 modules. If you post the output of "pkgutil -Uc
CSWperl pm_" we can see what your situation looks like.

/peter
_______________________________________________
users mailing list
users at lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/users


More information about the users mailing list