bash-4.1$ perl Makefile.PL Parsing config.in... Building Zlib enabled Auto Detect Gzip OS Code.. Setting Gzip OS Code to 3 [Unix/Default] Looks Good. Up/Downgrade not needed. Checking if your kit is complete... Looks good Writing Makefile for Compress::Raw::Zlib #### bash-4.1$ make cp lib/Compress/Raw/Zlib.pm blib/lib/Compress/Raw/Zlib.pm AutoSplitting blib/lib/Compress/Raw/Zlib.pm (blib/lib/auto/Compress/Raw/Zlib) /opt/openpkg/current/bin/perl /opt/openpkg/current/lib/perl/site_perl/5.12.1/ExtUtils/xsubpp -typemap /opt/openpkg/current/lib/perl/5.12.1/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H adler32.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H crc32.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H infback.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H inflate.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H uncompr.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H compress.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H deflate.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H inffast.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H inftrees.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H trees.c /opt/openpkg/current/bin/gcc -c -I./zlib-src -fno-strict-aliasing -pipe -I/opt/openpkg/current/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -pipe -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/CORE" -DNO_VIZ -DGZIP_OS_CODE=3 -DUSE_PPPORT_H zutil.c Running Mkbootstrap for Compress::Raw::Zlib () chmod 644 Zlib.bs rm -f blib/arch/auto/Compress/Raw/Zlib/Zlib.so /opt/openpkg/current/bin/gcc -Wl,-E -G -L/opt/openpkg/current/lib Zlib.o adler32.o crc32.o infback.o inflate.o uncompr.o compress.o deflate.o inffast.o inftrees.o trees.o zutil.o -o blib/arch/auto/Compress/Raw/Zlib/Zlib.so \ \ chmod 755 blib/arch/auto/Compress/Raw/Zlib/Zlib.so cp Zlib.bs blib/arch/auto/Compress/Raw/Zlib/Zlib.bs chmod 644 blib/arch/auto/Compress/Raw/Zlib/Zlib.bs Manifying blib/man3/Compress::Raw::Zlib.3 #### make test PERL_DL_NONLAZY=1 /opt/openpkg/current/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/000prereq.t ...... ok t/01version.t ...... ok t/02zlib.t ......... ok t/07bufsize.t ...... ok t/09limitoutput.t .. ok t/18lvalue.t ....... ok t/99pod.t .......... ok All tests successful. Files=7, Tests=706, 12 wallclock secs ( 0.53 usr 0.09 sys + 11.33 cusr 0.37 csys = 12.32 CPU) Result: PASS #### bash-4.1$ make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Appending installation info to /opt/openpkg/current/lib/perl/5.12.1/sun4-solaris/perllocal.pod #### bash-4.1$ perl use Compress::Raw::Zlib 2.037; Compress::Raw::Zlib version 2.037 required--this is only version 2.023 at - line 1. BEGIN failed--compilation aborted at - line 1. #### bash-4.1$ env HZ= TERM=vt100 SHELL=/bin/bash TMPDIR=/opt/openpkg/tmp OLDPWD=/tmp/perl LD_LIBRARY_PATH=/opt/openpkg/current/oracle/product/10.2.0/Db_1/lib32:/opt/openpkg/current/lib:/usr/local/lib ORACLE_BASE=/opt/openpkg/current/oracle/ PATH=/opt/openpkg/current/oracle/product/10.2.0/Db_1/bin:/opt/openpkg/current/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/bin: MAIL=/usr/mail/openpkg PWD=/tmp/perl/Compress-Raw-Zlib-2.037 TZ=Asia/Riyadh HOME=/export/home/openpkg SHLVL=2 LOGNAME=openpkg ORACLE_HOME=/opt/openpkg/current/oracle/product/10.2.0/Db_1 _=/usr/bin/env bash-4.1$ bash-4.1$ bash-4.1$ which perl /opt/openpkg/current/bin/perl