[Persistentperl-users] Using PersistentPerl on AIX and HP-UX
Brought to you by:
samh
|
From: <Jes...@va...> - 2003-02-14 12:58:20
|
Hi Sam and others,
I'm trying to get PersistentPerl running on AIX 4.3.3 and HP-UX 11.0, has
anyone else tried this?
Results so far: Compiling on AIX 4.3.3 works as soon as I add
/usr/lib/crt0.o explicitly to the OBJECT list, (Otherwise ld complains
about there being no __start symbol in the resulting binary)
make test runs ok, the only things that fail are two of the stdio tests,
two of the stdio2 tests and one of the stdio_close tests - should I be
worried about these?
Havent tried actually running anything yet ;)
(Compiler: AIX' 'xlC')
Compiling on HP-UX 11.0 works after I delete the explicit '-Wl,-E'
parameters in the perperl and perperl_backend Makefiles, HP-UX's ld doesnt
like those (why isnt the $CCDLFLAGS variable used there? or is that a
MakeMaker problem?) (the /usr/lib/crt0.o addin from above was also still
active)
make test fails completely unfortunately, lots of error messages like:
PERL_DL_NONLAZY=1
PERPERL=/home/mis/jer/perl/src/PersistentPerl-2.21/perperl/pe
rperl
PERPERL_BACKENDPROG=/home/mis/jer/perl/src/PersistentPerl-2.21/perperl_ba
ckend/perperl_backend
PERPERL_MODULE=/home/mis/jer/perl/src/PersistentPerl-2.21
// PERPERL_TIMEOUT=300 /usr/local/new/bin/perl -I../blib/arch
-I../blib/lib -I/
usr/local/packages/perl-5.6.1/lib/5.6.1/PA-RISC2.0
-I/usr/local/packages/perl-5
.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
runtes
ts @ARGV;' t/*.t
t/alarm.............perperl[20794]: Cannot spawn backend process
perperl[20804]: Cannot spawn backend process
Argument "" isn't numeric in addition (+) at t/alarm.t line 16.
perperl[20813]: Cannot spawn backend process
Argument "" isn't numeric in addition (+) at t/alarm.t line 18.
FAILED test 2
Failed 1/2 tests, 50.00% okay
t/argv..............perperl[20820]: Cannot spawn backend process
... etc. pp.
and a lovely big core-file in /tmp, so I guess the backend dies somewhere..
This was using a cc in /opt/ansic/bin/cc which is what /usr/bin/cc is
pointing to, sorry Ive no idea at the moment which that is, but its not
gcc.
Any tips, ideas before I go looking at the source code?
Thanks,
Jess
PS: Did you know theres a PPerl out there? (Though it fails even worse on
AIX and HP-UX...)
|