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?