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...


In reply to Perl 5.6.0 on HPUX/11 won't compile by baku

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.