Hi Folks I am working on a solaris system SunOS solokomadm01 5.11 11.2 sun4v sparc sun4v that has perl installed but I want my own separate installation of perl. I was trying for 5.22.0 but have bounced around even back to 5.8.8 in an effort to resolve this problem that I have. The problem is installing the Proc::ProcessTable module. I really need this module because it is used on other platforms I have and want to be consistant with my coding. The steps I am using for building and installing perl are these...

sudo mkdir /usr/local/perl5220 sudo chown $USER:$USER /usr/local/perl5220 cd /usr/local/perl5220/ mkdir build cpan cd build/ wget http://www.cpan.org/src/5.0/perl-5.22.0.tar.gz tar xzvf perl-5.22.0.tar.gz cd perl-5.22.0 rm -f config.sh Policy.sh /usr/bin/bash Configure -de -Dprefix=/var/opt/OV/bin/OpC/perl5 make make test make install /var/opt/OV/bin/OpC/perl5/bin/perl -MCPAN -e 'install App::cpanminus'

When I try to install cpanm Proc::ProcessTable, I get the following

$ ./cpanm -v Proc::ProcessTable cpanm (App::cpanminus) 1.7039 on perl 5.022000 built for sun4-solaris Work directory is /root/.cpanm/work/1437484334.28101 You have make /usr/bin/make You have /usr/bin/wget You have /usr/sbin/tar, /usr/bin/gzip and /usr/bin/bzip2 You have /usr/bin/unzip Searching Proc::ProcessTable () on cpanmetadb ... --2015-07-21 09:12:14-- http://cpanmetadb.plackperl.org/v1.0/package/ +Proc::ProcessTable Resolving cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)... 23.23 +5.40.129, 23.235.40.192 Connecting to cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)|23.2 +35.40.129|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 67 [text/yaml] Saving to: ‘STDOUT’ - 100%[================================ +============================>] 67 --.-KB/s in 0s 2015-07-21 09:12:14 (5.26 MB/s) - written to stdout [67/67] --> Working on Proc::ProcessTable Fetching http://www.cpan.org/authors/id/J/JW/JWB/Proc-ProcessTable-0.5 +1.tar.gz ... --2015-07-21 09:12:14-- http://www.cpan.org/authors/id/ +J/JW/JWB/Proc-ProcessTable-0.51.tar.gz Resolving www.cpan.org (www.cpan.org)... 207.171.7.91, 2607:f238:3::91 +:1 Connecting to www.cpan.org (www.cpan.org)|207.171.7.91|:80... connecte +d. HTTP request sent, awaiting response... 200 OK Length: 71133 (69K) [application/x-gzip] Saving to: ‘Proc-ProcessTable-0.51.tar.gz’ Proc-ProcessTable-0.51.tar.gz 100%[================================ +============================>] 69.47K 251KB/s in 0.3s 2015-07-21 09:12:14 (251 KB/s) - ‘Proc-ProcessTable-0.51.tar.gz’ s +aved [71133/71133] OK Unpacking Proc-ProcessTable-0.51.tar.gz x Proc-ProcessTable-0.51, 0 bytes, 0 tape blocks x Proc-ProcessTable-0.51/PORTING, 3836 bytes, 8 tape blocks x Proc-ProcessTable-0.51/README.dec_osf, 1191 bytes, 3 tape blocks x Proc-ProcessTable-0.51/Killfam.pm, 1338 bytes, 3 tape blocks x Proc-ProcessTable-0.51/ProcessTable.pm, 6230 bytes, 13 tape blocks x Proc-ProcessTable-0.51/contrib, 0 bytes, 0 tape blocks x Proc-ProcessTable-0.51/contrib/pswait, 2742 bytes, 6 tape blocks x Proc-ProcessTable-0.51/ProcessTable.xs, 10382 bytes, 21 tape blocks x Proc-ProcessTable-0.51/META.yml, 618 bytes, 2 tape blocks x Proc-ProcessTable-0.51/Process, 0 bytes, 0 tape blocks x Proc-ProcessTable-0.51/Process/Process.pm, 5000 bytes, 10 tape block +s x Proc-ProcessTable-0.51/Process/Makefile.PL, 253 bytes, 1 tape blocks x Proc-ProcessTable-0.51/META.json, 1060 bytes, 3 tape blocks x Proc-ProcessTable-0.51/README, 4932 bytes, 10 tape blocks x Proc-ProcessTable-0.51/t, 0 bytes, 0 tape blocks x Proc-ProcessTable-0.51/t/process.t, 1585 bytes, 4 tape blocks x Proc-ProcessTable-0.51/hints, 0 bytes, 0 tape blocks x Proc-ProcessTable-0.51/hints/openbsd.pl, 109 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/svr4.pl, 365 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/aix.pl, 106 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/freebsd.pl, 401 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/bsdi.pl, 76 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/cygwin.pl, 80 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/gnukfreebsd.pl, 330 bytes, 1 tape block +s x Proc-ProcessTable-0.51/hints/darwin.pl, 80 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/aix_5.pl, 124 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/irix.pl, 401 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/sunos.pl, 103 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/solaris.pl, 1369 bytes, 3 tape blocks x Proc-ProcessTable-0.51/hints/aix_4_2.pl, 124 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/linux.pl, 330 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/netbsd.pl, 80 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/aix_4_3.pl, 124 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/svr5.pl, 365 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/dec_osf.pl, 77 bytes, 1 tape blocks x Proc-ProcessTable-0.51/hints/midnightbsd.pl, 172 bytes, 1 tape block +s x Proc-ProcessTable-0.51/hints/hpux.pl, 76 bytes, 1 tape blocks x Proc-ProcessTable-0.51/README.linux, 1837 bytes, 4 tape blocks x Proc-ProcessTable-0.51/README.unixware, 969 bytes, 2 tape blocks x Proc-ProcessTable-0.51/README.bsdi, 641 bytes, 2 tape blocks x Proc-ProcessTable-0.51/README.freebsd-kvm, 1841 bytes, 4 tape blocks x Proc-ProcessTable-0.51/README.sunos, 870 bytes, 2 tape blocks x Proc-ProcessTable-0.51/README.hpux, 454 bytes, 1 tape blocks x Proc-ProcessTable-0.51/os, 0 bytes, 0 tape blocks x Proc-ProcessTable-0.51/os/Solaris.h, 1391 bytes, 3 tape blocks x Proc-ProcessTable-0.51/os/Solaris.c, 4631 bytes, 10 tape blocks x Proc-ProcessTable-0.51/os/UnixWare.h, 1045 bytes, 3 tape blocks x Proc-ProcessTable-0.51/os/bsdi.c, 5847 bytes, 12 tape blocks x Proc-ProcessTable-0.51/os/IRIX.c, 3965 bytes, 8 tape blocks x Proc-ProcessTable-0.51/os/UnixWare.c, 2590 bytes, 6 tape blocks x Proc-ProcessTable-0.51/os/aix.h, 2951 bytes, 6 tape blocks x Proc-ProcessTable-0.51/os/bsdi.h, 3345 bytes, 7 tape blocks x Proc-ProcessTable-0.51/os/OpenBSD.c, 3472 bytes, 7 tape blocks x Proc-ProcessTable-0.51/os/SunOS.h, 2609 bytes, 6 tape blocks x Proc-ProcessTable-0.51/os/Linux.c, 21761 bytes, 43 tape blocks x Proc-ProcessTable-0.51/os/FreeBSD.h, 1671 bytes, 4 tape blocks x Proc-ProcessTable-0.51/os/aix_getprocs.c, 7463 bytes, 15 tape blocks x Proc-ProcessTable-0.51/os/NetBSD.c, 3270 bytes, 7 tape blocks x Proc-ProcessTable-0.51/os/DecOSF.c, 4476 bytes, 9 tape blocks x Proc-ProcessTable-0.51/os/Linux.h, 5393 bytes, 11 tape blocks x Proc-ProcessTable-0.51/os/DecOSF.h, 1253 bytes, 3 tape blocks x Proc-ProcessTable-0.51/os/NetBSD.h, 1460 bytes, 3 tape blocks x Proc-ProcessTable-0.51/os/aix.c, 6647 bytes, 13 tape blocks x Proc-ProcessTable-0.51/os/FreeBSD-kvm.h, 2292 bytes, 5 tape blocks x Proc-ProcessTable-0.51/os/darwin.h, 6568 bytes, 13 tape blocks x Proc-ProcessTable-0.51/os/FreeBSD.c, 3856 bytes, 8 tape blocks x Proc-ProcessTable-0.51/os/IRIX.h, 1226 bytes, 3 tape blocks x Proc-ProcessTable-0.51/os/FreeBSD-kvm.c, 5684 bytes, 12 tape blocks x Proc-ProcessTable-0.51/os/darwin.c, 26352 bytes, 52 tape blocks x Proc-ProcessTable-0.51/os/cygwin.h, 115 bytes, 1 tape blocks x Proc-ProcessTable-0.51/os/cygwin.c, 6742 bytes, 14 tape blocks x Proc-ProcessTable-0.51/os/SunOS.c, 2324 bytes, 5 tape blocks x Proc-ProcessTable-0.51/os/aix_getprocs.h, 2933 bytes, 6 tape blocks x Proc-ProcessTable-0.51/os/HPUX.c, 4374 bytes, 9 tape blocks x Proc-ProcessTable-0.51/README.openbsd, 653 bytes, 2 tape blocks x Proc-ProcessTable-0.51/README.freebsd-procfs, 782 bytes, 2 tape bloc +ks x Proc-ProcessTable-0.51/TODO, 0 bytes, 0 tape blocks x Proc-ProcessTable-0.51/README.solaris, 1401 bytes, 3 tape blocks x Proc-ProcessTable-0.51/example.pl, 308 bytes, 1 tape blocks x Proc-ProcessTable-0.51/README.netbsd, 706 bytes, 2 tape blocks x Proc-ProcessTable-0.51/README.cygwin, 283 bytes, 1 tape blocks x Proc-ProcessTable-0.51/README.aix, 2499 bytes, 5 tape blocks x Proc-ProcessTable-0.51/README.darwin, 2558 bytes, 5 tape blocks x Proc-ProcessTable-0.51/Changes, 14709 bytes, 29 tape blocks x Proc-ProcessTable-0.51/Killall.pm, 2729 bytes, 6 tape blocks x Proc-ProcessTable-0.51/Makefile.PL, 1114 bytes, 3 tape blocks x Proc-ProcessTable-0.51/MANIFEST, 1239 bytes, 3 tape blocks Entering Proc-ProcessTable-0.51 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04_01) Running Makefile.PL Configuring Proc-ProcessTable-0.51 ... Checking if your kit is complet +e... Looks good Processing hints file hints/solaris.pl Generating a Unix-style Makefile Writing Makefile for Proc::ProcessTable::Process Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Proc::ProcessTable Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04_01) Checking if you have File::Find 0 ... Yes (1.29) Checking if you have Storable 0 ... Yes (2.53) Building and testing Proc-ProcessTable-0.51 ... cp Killall.pm blib/lib +/Proc/Killall.pm cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm cp Killfam.pm blib/lib/Proc/Killfam.pm cp example.pl blib/lib/Proc/example.pl cp Process.pm ../blib/lib/Proc/ProcessTable/Process.pm AutoSplitting ../blib/lib/Proc/ProcessTable/Process.pm (../blib/lib/au +to/Proc/ProcessTable/Process) Manifying 1 pod document Running Mkbootstrap for Proc::ProcessTable () chmod 644 "ProcessTable.bs" "/var/opt/OV/bin/OpC/perl5/bin/perl" "/var/opt/OV/bin/OpC/perl5/lib/5. +22.0/ExtUtils/xsubpp" -typemap "/var/opt/OV/bin/OpC/perl5/lib/5.22.0 +/ExtUtils/typemap" ProcessTable.xs > ProcessTable.xsc && mv ProcessT +able.xsc ProcessTable.c /opt/solstudio12.2/bin/cc -c -I/usr/gnu/include -DPERL_USE_SAFE_PU +TENV -O -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -KPIC "-I/var/op +t/OV/bin/OpC/perl5/lib/5.22.0/sun4-solaris/CORE" -DPROC_FS ProcessTa +ble.c /opt/solstudio12.2/bin/cc -c -I/usr/gnu/include -DPERL_USE_SAFE_PU +TENV -O -DVERSION=\"0.51\" -DXS_VERSION=\"0.51\" -KPIC "-I/var/op +t/OV/bin/OpC/perl5/lib/5.22.0/sun4-solaris/CORE" -DPROC_FS OS.c "OS.c", line 120: warning: implicit function declaration: bless_into_p +roc rm -f blib/arch/auto/Proc/ProcessTable/ProcessTable.so /opt/solstudio12.2/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/solstud +io12.2/prod/lib/sparc -L/opt/solstudio12.2/prod/lib -L/lib -L/usr/gnu +/lib OS.o ProcessTable.o -o blib/arch/auto/Proc/ProcessTable/Proces +sTable.so \ \ chmod 755 blib/arch/auto/Proc/ProcessTable/ProcessTable.so "/var/opt/OV/bin/OpC/perl5/bin/perl" -MExtUtils::Command::MM -e 'cp_no +nempty' -- ProcessTable.bs blib/arch/auto/Proc/ProcessTable/ProcessTa +ble.bs 644 Manifying 3 pod documents Manifying 1 pod document Running Mkbootstrap for Proc::ProcessTable () chmod 644 "ProcessTable.bs" PERL_DL_NONLAZY=1 "/var/opt/OV/bin/OpC/perl5/bin/perl" "-MExtUtils::Co +mmand::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; te +st_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/process.t .. ProcessTable.c: loadable library and perl binaries are +mismatched (got handshake key 7d00000, needed 7f00000) t/process.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 3/3 subtests Test Summary Report ------------------- t/process.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 3 tests but ran 0. Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.04 cusr + 0.01 csys = 0.09 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. *** Error code 1 make: Fatal error: Command failed for target `test_dynamic' FAIL ! Installing Proc::ProcessTable failed. See /root/.cpanm/work/14374843 +34.28101/build.log for details. Retry with --force to force install i +t.

In reply to Proc::ProcessTable help please by polarbear125

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.