:-/ I actually tried to use gcc, gnu make, et al., but I get the following insanity:

I've tried to compile and run the following simple program: #include <stdio.h> int main() { printf("Ok\n"); exit(0); } I used the command: gcc -O -D_HPUX_SOURCE -Aa -L/lib/pa1.1 -DUINT32_MAX_BROKEN -fn +o-strict-a liasing -I/usr/local/include -o try -L/usr/local/lib try.c -lnsl -lnm +-lndbm -lm alloc -ldld -lm -lc -lndir -lcrypt -lsec ./try and I got the following output: *Initialization*:1: missing token-sequence in `#assert' I can't compile the test program. (The supplied flags or libraries might be incorrect.) You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure.

The make versions on the two machines appear identical, same for cc et al.; possible that more serious magic was required to compile on the other box, but no one seems to be able to find who did that build.

Addition:

GNU gdb does give a backtrace where the default debugger would not. tye was right (in CB): it's miniperl dying:

(gdb) bt #0 0x2af1c in Perl_malloc () from /usr/perltest/build/perl-5.6.0/./mi +niperl #1 0x9848c in Perl_pregcomp () from /usr/perltest/build/perl-5.6.0/./ +miniperl #2 0x1aa38 in Perl_pmruntime () from /usr/perltest/build/perl-5.6.0/. +/miniperl #3 0x93c24 in ?? () from /usr/perltest/build/perl-5.6.0/./miniperl #4 0x2618c in ?? () from /usr/perltest/build/perl-5.6.0/./miniperl #5 0x255bc in perl_parse () from /usr/perltest/build/perl-5.6.0/./min +iperl #6 0x1492c in main () from /usr/perltest/build/perl-5.6.0/./miniperl

So, I'll try building without perl's malloc and see if that helps.


More amends...

(gdb) bt #0 0xc0180598 in _sigfillset () from /usr/lib/libc.2 #1 0xc017e048 in _memset () from /usr/lib/libc.2 #2 0xc0183750 in malloc () from /usr/lib/libc.2 #3 0x46f80 in Perl_safesysmalloc () from /usr/perltest/build/perl-5.6.0/./miniperl #4 0x1ab74 in Perl_newSVOP () from /usr/perltest/build/perl-5.6.0/./m +iniperl #5 0x31814 in ?? () from /usr/perltest/build/perl-5.6.0/./miniperl #6 0x33000 in Perl_yylex () from /usr/perltest/build/perl-5.6.0/./min +iperl #7 0x908d4 in Perl_yyparse () from /usr/perltest/build/perl-5.6.0/./m +iniperl #8 0x260dc in ?? () from /usr/perltest/build/perl-5.6.0/./miniperl #9 0x25544 in perl_parse () from /usr/perltest/build/perl-5.6.0/./min +iperl #10 0x1490c in main () from /usr/perltest/build/perl-5.6.0/./miniperl

Perl_malloc doesn't seem to be the problem, then.


In reply to Re: Re: Perl 5.6.0 on HPUX/11 won't compile by baku
in thread 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.