in reply to Re: Proc::ProcessTable help please
in thread Proc::ProcessTable help please
First thank you for helping with my issue
I might of had the system perl first in path, I have updated the PATH after the 'make install' of the perl 5.22.0 build. I still see an issue with Proc::ProcessTable though.
$ cpanm --look Proc::ProcessTable --> Working on Proc::ProcessTable Fetching http://www.cpan.org/authors/id/J/JW/JWB/Proc-ProcessTable-0.5 +1.tar.gz ... OK Entering /root/.cpanm/work/1437499460.7433/Proc-ProcessTable-0.51 with + /usr/bin/bash root@solokomadm01 [/root/.cpanm/work/1437499460.7433/Proc-ProcessTable +-0.51] $ perl -v This is perl 5, version 22, subversion 0 (v5.22.0) built for sun4-sola +ris Copyright 1987-2015, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. root@solokomadm01 [/root/.cpanm/work/1437499460.7433/Proc-ProcessTable +-0.51] $ which perl /var/opt/OV/bin/OpC/perl5/bin/perl root@solokomadm01 [/root/.cpanm/work/1437499460.7433/Proc-ProcessTable +-0.51] $ perl Makefile.PL Checking if your kit is complete... 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 root@solokomadm01 [/root/.cpanm/work/1437499460.7433/Proc-ProcessTable +-0.51] $ make test cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm cp Killall.pm blib/lib/Proc/Killall.pm cp example.pl blib/lib/Proc/example.pl cp Killfam.pm blib/lib/Proc/Killfam.pm 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 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.02 sys + 0.04 cusr + 0.01 csys = 0.10 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. *** Error code 1 make: Fatal error: Command failed for target `test_dynamic'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Proc::ProcessTable help please
by polarbear125 (Initiate) on Jul 22, 2015 at 12:17 UTC |