[csw-maintainers] Perl module Compress::Raw:Zlib

Dagobert Michelsen dam at opencsw.org
Mon Oct 18 15:01:24 CEST 2010


Hi Peter,

one more issue about the Perl modules: I tried updating pm_iocompress
which needs pm_compressrawzlib 2.030. Although CSWpmcompressrawzlib is
installed the "perl Makefile.PL" bails out. Look at the installed files:

> current9s% grep Compress/Raw /var/sadm/install/contents
> /opt/csw/lib/perl/5.10.1/Compress/Raw d none 0755 root bin CSWperl
> /opt/csw/lib/perl/5.10.1/Compress/Raw/Bzip2.pm f none 0444 root bin  
> 10079 63743 1281517873 CSWperl
> /opt/csw/lib/perl/5.10.1/Compress/Raw/Zlib.pm f none 0444 root bin  
> 42467 27447 1281517873 CSWperl
> ...
> /opt/csw/lib/perl/csw/Compress/Raw d none 0755 root bin  
> CSWpmcompressrawzlib CSWpmcompressrawbz2
> /opt/csw/lib/perl/csw/Compress/Raw/Bzip2.pm f none 0444 root bin  
> 10252 12884 1285096397 CSWpmcompressrawbz2
> /opt/csw/lib/perl/csw/Compress/Raw/Zlib.pm f none 0444 root bin  
> 42585 36736 1279972153 CSWpmcompressrawzlib
> ...

However, as you see from perl -V this path /opt/csw/lib/perl/5.10.1 is
preferred over /opt/csw/lib/perl/csw:

> current9s% /opt/csw/bin/perl -V
> Summary of my perl5 (revision 5 version 10 subversion 1)  
> configuration:
>   Commit id: c7506a7a9dfb58c2663eeaa29d2d48343d8d93f3
>   Platform:
>     osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi
>     uname='sunos current9s 5.9 generic_virtual sun4u sparc  
> sunw,sparc-enterprise-t5220'
>     config_args=''
>     hint=recommended, useposix=true, d_sigaction=define
>     useithreads=define, usemultiplicity=define
>     useperlio=define, d_sfio=undef, uselargefiles=define,  
> usesocks=undef
>     use64bitint=undef, use64bitall=undef, uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT -xO3 -m32 - 
> xarch=v8 -xnorunpath -I/opt/csw/include -D_LARGEFILE_SOURCE - 
> D_FILE_OFFSET_BITS=64',
>     optimize='-xO3 -m32 -xarch=v8 -xnorunpath',
>     cppflags='-D_REENTRANT -xO3 -m32 -xarch=v8 -xnorunpath -I/opt/ 
> csw/include'
>     ccversion='Sun C 5.9 SunOS_sparc Patch 124867-15 2010/07/20',  
> gccversion='', gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>     d_longlong=define, longlongsize=8, d_longdbl=define,  
> longdblsize=16
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8,  
> Off_t='off_t', lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='/opt/SUNWspro/bin/cc', ldflags ='-m32 -xarch=v8 -norunpath - 
> L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib - 
> L/usr/ccs/lib -L/lib'
>     libpth=/usr/lib /usr/ccs/lib /lib /opt/csw/lib
>     libs=-lsocket -lnsl -lgdbm -ldb-4.8 -ldl -lm -lpthread -lc -lperl
>     perllibs=-lsocket -lnsl -ldb-4.8 -ldl -lm -lpthread -lc -lperl
>     libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so. 
> 5.10.1
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R / 
> opt/csw/lib'
>     cccdlflags='-KPIC', lddlflags='-G -L/opt/csw/lib -L/opt/csw/ 
> bdb48/lib -L/usr/lib -L/usr/ccs/lib -L/lib'
>
>
> Characteristics of this binary (from libperl):
>   Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
>                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP  
> USE_ITHREADS
>                         USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
>                         USE_SITECUSTOMIZE
>   Built under solaris
>   Compiled at Aug 11 2010 10:53:04
>   @INC:
>     /opt/csw/lib/perl/5.10.1
>     /opt/csw/share/perl/5.10.1
>     /opt/csw/lib/perl/site_perl
>     /opt/csw/share/perl/site_perl
>     /opt/csw/share/perl/site_perl
>     /opt/csw/lib/perl/csw
>     /opt/csw/share/perl/csw
>     /opt/csw/share/perl/csw
>     .


That basically means we need to replace the module from CSWperl or  
reorder
build pathes in CSWperl somehow.


Best regards

   -- Dago




More information about the maintainers mailing list