baku has asked for the wisdom of the Perl Monks concerning the following question:
I'm pulling out hair, here...
Configure runs cleanly; specified the install directory, otherwise left most everything at defaults for HPUX 11, but (after initial problems) made sure that shared libraries, libperl, multithread, and multiplicity are all "off."
I'm stuck using the HPUX cc, ar, ln, et al. but they seem to work for most things.
The make process runs "just fine" (at least, no visible errors) through miniperl, which I can get to run some simple Perl programs, so it must be linked OK. (Simple, like print "Hello, world\n";.) The next stage causes a segfault in make. Every time. (No backtrace, because HPUX make has no symbols.)
The end of the make reads:
... rm -f opmini.c cc -Wl,+vnocompatwarnings -L/usr/local/lib -o miniperl \ miniperlmain.o opmini.o libperl.a -lnsl -lnm -lndbm -ldld -lm -lc +-lndir -lc rypt -lsec ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest Segmentation fault (core dumped)
Again, that's make dumping core.
ğmake minitest You may see some irrelevant test failures if you have been unable to build lib/Config.pm. cd t && (rm -f perl; /home/bpocock/opt/bin/ln -s ../miniperl perl) \ && ./perl TEST base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma +/*.t </dev /tty base/cond............ok base/if..............ok base/lex.............ok base/pat.............ok base/rs..............ok base/term............Can't locate Config.pm in @INC (@INC contains: .. +/lib /usr/ local/apps/perltest/install/lib/5.6.0/PA-RISC2.0-multi-64all /usr/loca +l/apps/per ltest/install/lib/5.6.0 /usr/local/apps/perltest/install/lib/site_perl +/5.6.0/PA- RISC2.0-multi-64all /usr/local/apps/perltest/install/lib/site_perl/5.6 +.0 /usr/lo cal/apps/perltest/install/lib/site_perl .) at base/term.t line 10. BEGIN failed--compilation aborted at base/term.t line 10. FAILED at test 0 Failed a basic test--cannot continue. make: [minitest] Error 2 (ignored)
Seeing that, I also tried:
ğmake lib/Config.pm make: *** [lib/Config.pm] Segmentation fault (core dumped)
I peeked in, and found that ./configpm is used to make lib/Config.pm, and one of the first things it does is write some static text out to the newly-created file... which, of course, is 0 bytes, so something must be killing it really early on.
Worst is, they've already installed Perl-5.6.0 on the "twin" HPUX box here and it went in "just fine" (as far as anyone can remember, at least.
Suggestions other than castrating the HPUX sales team are sorely needed! In the mean time, I'll keep thwocking this with a hot fork and try some more voodoo...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 5.6.0 on HPUX/11 won't compile
by kschwab (Vicar) on Feb 08, 2001 at 23:55 UTC | |
by baku (Scribe) on Feb 09, 2001 at 00:16 UTC | |
by yakko (Friar) on Feb 09, 2001 at 04:35 UTC | |
by baku (Scribe) on Feb 09, 2001 at 21:19 UTC | |
|
Re: Perl 5.6.0 on HPUX/11 won't compile
by baku (Scribe) on Feb 08, 2001 at 23:32 UTC |