Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Proc::ProcessTable won't install

by roperl (Beadle)
on Jul 25, 2017 at 18:18 UTC ( [id://1196030]=perlquestion: print w/replies, xml ) Need Help??

roperl has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to use Proc::ProcessTable on Solaris 10
I downloaded and compiled Perl 5.26.0 and installed to /opt/perl-5.26.0, which I symlink to /opt/perl
I'm trying to install Proc::Process 0.53 to /opt/perl
#/opt/perl/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Proc::ProcessTable Writing MYMETA.yml and MYMETA.json #make cp Killfam.pm blib/lib/Proc/Killfam.pm cp Killall.pm blib/lib/Proc/Killall.pm cp ProcessTable.pm blib/lib/Proc/ProcessTable.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 ProcessTable () chmod 644 "ProcessTable.bs" "/opt/perl-5.26.0/bin/perl5.26.0" -MExtUtils::Command::MM -e 'cp_nonem +pty' -- ProcessTable.bs blib/arch/auto/Proc/ProcessTable/ProcessTable +.bs 644 "/opt/perl-5.26.0/bin/perl5.26.0" "/opt/perl-5.26.0/lib/5.26.0/ExtUtil +s/xsubpp" -typemap '/opt/perl-5.26.0/lib/5.26.0/ExtUtils/typemap' P +rocessTable.xs > ProcessTable.xsc mv ProcessTable.xsc ProcessTable.c /opt/solarisstudio12.3/bin/cc -c -D_REENTRANT -I/usr/local/include + -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"0.53\" -DXS_VERSION=\"0.53 +\" -KPIC "-I/opt/perl-5.26.0/lib/5.26.0/sun4-solaris-thread-multi/COR +E" -DPROC_FS -D_POSIX_PTHREAD_SEMANTICS ProcessTable.c /opt/solarisstudio12.3/bin/cc -c -D_REENTRANT -I/usr/local/include + -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"0.53\" -DXS_VERSION=\"0.53 +\" -KPIC "-I/opt/perl-5.26.0/lib/5.26.0/sun4-solaris-thread-multi/COR +E" -DPROC_FS -D_POSIX_PTHREAD_SEMANTICS OS.c "OS.c", line 121: warning: implicit function declaration: bless_into_p +roc rm -f blib/arch/auto/Proc/ProcessTable/ProcessTable.so /opt/solarisstudio12.3/bin/cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/sol +arisstudio12.3/prod/lib/sparc -L/opt/solarisstudio12.3/prod/lib -L/li +b -L/usr/local/lib OS.o ProcessTable.o -o blib/arch/auto/Proc/Proce +ssTable/ProcessTable.so \ \ chmod 755 blib/arch/auto/Proc/ProcessTable/ProcessTable.so Manifying 3 pod documents # make test "/opt/perl-5.26.0/bin/perl5.26.0" -MExtUtils::Command::MM -e 'cp_nonem +pty' -- ProcessTable.bs blib/arch/auto/Proc/ProcessTable/ProcessTable +.bs 644 Manifying 1 pod document No tests defined for Proc::ProcessTable::Process extension. PERL_DL_NONLAZY=1 "/opt/perl-5.26.0/bin/perl5.26.0" "-MExtUtils::Comma +nd::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_ +harness(0, 'blib/lib', 'blib/arch')" t/*.t t/process.t .. ProcessTable.c: loadable library and perl binaries are +mismatched (got handshake key 7f80080, needed 8180080) 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.04 usr 0.01 sys + 0.05 cusr + 0.01 csys = 0.11 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. *** Error code 1 make: Fatal error: Command failed for target `test_dynamic'
So look like somewhere is picking up the already installed perl at /bin/perl
ProcessTable.c: loadable library and perl binaries are mismatched (got handshake key 7f80080, needed 8180080)

How can I fix this?

Replies are listed 'Best First'.
Re: Proc::ProcessTable won't install
by beech (Parson) on Jul 25, 2017 at 23:23 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1196030]
Approved by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found