I have an HP-UX box running HP-UX 10.20 (as well as a few 11.00 and 11.i/11.11 machines). I have received a fair number of installation errors across a variety of modules during make. Most recently, I attempted to install Term::ReadKey (version 2.21) and I got the following output/errors:

cp ReadKey.pm blib/lib/Term/ReadKey.pm AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey) /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.1 genchars.pl Writing termio/termios section of cchars.h... Done. Checking for sgtty... Sgtty found. Checking sgtty... Checking symbols Writing sgtty section of cchars.h... Done. /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC1.1 -I/opt/p +erl5/lib/5.6.1 /opt/perl5/lib/5.6.1/ExtUtils/xsubpp -noprototypes -ty +pemap /opt/perl5/lib/5.6.1/ExtUtils/typemap ReadKey.xs > ReadKey.xsc +&& mv ReadKey.xsc ReadKey.c cc -c -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onol +imit -DVERSION=\"2.21\" -DXS_VERSION=\"2.21\" +z -I/opt/perl5/lib +/5.6.1/PA-RISC1.1/CORE ReadKey.c (Bundled) cc: warning 480: The -A option is available only with the C/ +ANSI C product; ignored. (Bundled) cc: warning 480: The -O option is available only with the C/ +ANSI C product; ignored. (Bundled) cc: warning 480: The +Onolimit option is available only with + the C/ANSI C product; ignored. (Bundled) cc: warning 480: The +z option is available only with the C/ +ANSI C product; ignored. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: + error 1000: Unexpected symbol: "nbytes". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: + error 1000: Unexpected symbol: "elements". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: + error 1000: Unexpected symbol: "size_t". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 538: + error 1506: Parameters allowed in function definition only. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: + error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 539: + error 1573: Type of "size" is undefined due to an illegal declaratio +n. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: + error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 540: + error 1573: Type of "nbytes" is undefined due to an illegal declarat +ion. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 543: + error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 1940 +: error 1000: Unexpected symbol: "SV". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/iperlsys.h", line +417: warning 5: "const" will become a keyword. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/iperlsys.h", line +417: error 1000: Unexpected symbol: "const". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/regexp.h", line 13 +: error 1000: Unexpected symbol: "U8". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 339: e +rror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 340: e +rror 1000: Unexpected symbol: "ANY". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/sv.h", line 341: e +rror 1000: Unexpected symbol: "GV". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 25: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 26: er +ror 1000: Unexpected symbol: "ANY". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/cv.h", line 27: er +ror 1000: Unexpected symbol: "GV". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 14: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 14: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 15: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 15: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 16: er +ror 1000: Unexpected symbol: "U32". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 16: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 17: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 17: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 18: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 18: er +ror 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/mg.h", line 23: er +ror 1000: Unexpected symbol: "MAGIC". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/utf8.h", line 25: +warning 5: "const" will become a keyword. (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/utf8.h", line 25: +error 1000: Unexpected symbol: "unsigned". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 1976 +: error 1000: Unexpected symbol: "CURCUR". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 2187 +: error 1000: Unexpected symbol: "*". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 2188 +: error 1000: Unexpected symbol: "I32". (Bundled) cc: "/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE/perl.h", line 2188 +: error 1000: Unexpected symbol: "SV". (Bundled) cc: error 2017: Cannot recover from earlier errors, terminat +ing. *** Error exit code 1 Stop

(My apologies for the size of the errors.) I downloaded the module sources through cpan using

get Term::ReadKey
. Root ran perl makefile.pl, make, and make install. Are there any command line configuration options that can be used to compile on HP-UX, or is this a problem to direct towards HP?

I tried using

If you make something idiot-proof, eventually someone will make a better idiot.
I am that better idiot.


In reply to HP-UX 10.20 Module installation by peschkaj

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.