Trying to compile and install a number of different CPAN modules. Many, of course, compile and install nicely. However a number fail to compile and give a error message like:

CPAN.pm: Going to build J/JS/JSTOWE/TermReadKey-2.21.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Term::ReadKey cp ReadKey.pm blib/lib/Term/ReadKey.pm AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey) /usr/local/bin/perl -I/usr/local/lib/perl5/5.00503 genchars.pl Writing termio/termios section of cchars.h... Done. Checking for sgtty... Sgtty found. Checking sgtty... ltchars structure found. Checking symbols t_rprntc (REPRINT) found in ltchars t_dsuspc (DSUSPEND) found in ltchars t_werasc (ERASEWORD) found in ltchars t_flushc (DISCARD) found in ltchars t_lnextc (QUOTENEXT) found in ltchars t_suspc (SUSPEND) found in ltchars Writing sgtty section of cchars.h... Done. /usr/local/bin/perl /usr/local/lib/perl5/5.00503/ExtUtils/xsubpp -nopr +ototypes -typemap /usr/local/lib/perl5/5.00503/ExtUtils/typemap Read +Key.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c make: *** No rule to make target `/usr/local/lib/perl5/5.00503/sun4-so +laris/CORE/opnames.h', needed by `ReadKey.o'. Stop.

I super searched for this but to no avail. Google gives only two hits each on different platforms. I'm on Solaris 2.8, perl 5.005.03, using GCC 3.2.2 Why do some modules look for opnames.h? Why don't I have this in my perl install?


In reply to Module compile problem by freddo411

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.