Re: [Persistentperl-users] Problem with getting PersistentPerl 2.21 working on HP/UX using GCC
Brought to you by:
samh
From: <Jes...@va...> - 2003-02-20 10:21:29
|
> Martin Houston <mho...@de...> > 20.02.2003 10:45 > Please respond to mhouston > >Are you using the HP Ansi C compiler (cc) to build PersistentPerl - and does >it pass 'make test' for you with the linker flags reinstated? I'm using the default 'cc', which I assume is what you mean.. I just tried using aCC, which we also have, but that produces a lot of errors when doing 'make': aCC -c -I../src -I. -D_HPUX_SOURCE -I/usr/local/include +DAportable -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"2.21\" -DXS_VERSION=\"2.21\" +z -I/usr/local/packages/perl-5.6.1/lib/5.6.1/PA-RISC2.0/CORE -DPERPERL_PROGNAME=\"perperl_backend\" -DPERPERL_VERSION=\"2.21\" -DPERPERL_BACKEND perperl_perl.c aCC: warning 901: unknown option: `-Ae': use +help for online documentation. Error 212: "perperl_perl.c", line 397 # Argument type 'void *' does not match expected parameter type 'sv *'. my_call_sv(get_perlvar(&PERLVAR_RUN_SHUTDOWN)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error 212: "perperl_perl.c", line 544 # Argument type 'void *' does not match expected parameter type 'const char *'. sv_catpvn(sv, mi->addr, mi->maplen); ^^^^^^^^ etc. pp. No, make test still doesnt work after the change (tho I can now get rid of my 'crt0.o' patch in the HP-UX version..) Maybe I'm just missing some permissions or something? Like I said, it seems to start the backend, but somehow cant connect to it? (Im just a normal user, not root ,) While running make test, ps -aef | grep -i perl says this: jer 16386 16385 0 11:18:53 pts/tc 0:00 /usr/local/new/bin/perl -I../blib/arch -I../blib/lib -I/usr/ jer 16436 16294 1 11:19:18 pts/td 0:00 grep -i perl jer 16428 16410 0 11:19:15 pts/tc 0:00 sh -c /home/mis/jer/perl/src/PersistentPerl-2.21/perperl/per jer 16378 16377 0 11:18:53 pts/tc 0:00 make test LIB= LIBPERL_A=libperl.a LINKTYPE= PREFIX=/home/mi jer 16377 16331 0 11:18:53 pts/tc 0:00 /bin/sh -c cd perperl && test -f Makefile && make test LIB=" jer 16385 16378 0 11:18:53 pts/tc 0:00 /bin/sh -c PERL_DL_NONLAZY=1 PERPERL=/home/mis/jer/perl/src/ jer 16429 16428 0 11:19:15 pts/tc 0:00 /home/mis/jer/perl/src/PersistentPerl-2.21/perperl/perperl t jer 16431 1 100 11:19:15 ? 0:01 /home/mis/jer/perl/src/PersistentPerl-2.21/perperl_backend/p jer 16410 16386 0 11:19:07 pts/tc 0:00 /usr/local/new/bin/perl -w t/argv.t >ALso what perl version are you linking against (just do a perl -v command on >the perl that you did perl Makefile.PL with.) > jer@volvo: ~ > perl -v This is perl, v5.6.1 built for PA-RISC2.0 Copyright 1987-2001, 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 kit. 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.com/, the Perl Home Page. Any other ideas? *sigh* -- Martin Houston Linux Consultant mho...@de... Phone: 07970 850961 |