Can't install Term::ReadKey

From: Chris Mattern (matternc_at_comcast.net)
Date: 12/16/04

  • Next message: Chris Mattern: "Re: Can't install Term::ReadKey"
    Date: Thu, 16 Dec 2004 14:47:07 -0500
    
    

    I'm having trouble installing Term::ReadKey, and its making
    problems with modules that depend on it. Here's what the
    installation attempt produces:

    # perl -MCPAN -e shell;

    cpan shell -- CPAN exploration and modules installation (v1.7601)
    ReadLine support enabled

    Can't ioctl TIOCGETP: Illegal seek
    Consider installing Term::ReadKey from CPAN site nearby
            at http://www.perl.com/CPAN
    Or use
            perl -MCPAN -e shell
    to reach CPAN. Falling back to 'stty'.
            If you do not want to see this warning, set PERL_READLINE_NOWARN
    in your environment.
    cpan> install Term::ReadKey
    CPAN: Storable loaded ok
    Going to read /export/home/syscjm/.cpan/Metadata
      Database was generated on Thu, 16 Dec 2004 08:03:34 GMT
    Running install for module Term::ReadKey
    Running make for J/JS/JSTOWE/TermReadKey-2.21.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum
    for /export/home/syscjm/.cpan/sources/authors/id/J/JS/JSTOWE/TermReadKey-2.21.tar.gz
    ok
    Scanning cache /export/home/syscjm/.cpan/build for sizes
    x TermReadKey-2.21, 0 bytes, 0 tape blocks
    x TermReadKey-2.21/genchars.pl, 10688 bytes, 21 tape blocks
    x TermReadKey-2.21/README, 6346 bytes, 13 tape blocks
    x TermReadKey-2.21/MANIFEST, 92 bytes, 1 tape blocks
    x TermReadKey-2.21/test.pl, 6871 bytes, 14 tape blocks
    x TermReadKey-2.21/ReadKey.pm, 15489 bytes, 31 tape blocks
    x TermReadKey-2.21/Makefile.PL, 1222 bytes, 3 tape blocks
    x TermReadKey-2.21/Configure.pm, 27633 bytes, 54 tape blocks
    x TermReadKey-2.21/ppport.h, 11683 bytes, 23 tape blocks
    x TermReadKey-2.21/ReadKey.xs, 41600 bytes, 82 tape blocks
    Removing previously used /export/home/syscjm/.cpan/build/TermReadKey-2.21

      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 /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -noprototypes
    -typemap /usr/local/lib/perl5/5.8.5/ExtUtils/typemap ReadKey.xs >
    ReadKey.xsc && mv ReadKey.xsc ReadKey.c
    gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -pipe -I/usr/local/include
    -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
    -DVERSION=\"2.21\" -DXS_VERSION=\"2.21\" -fPIC
    "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" ReadKey.c
    ReadKey.xs:368:20: cchars.h: No such file or directory
    ReadKey.xs: In function `boot_Term__ReadKey':
    ReadKey.xs:1821: error: `XS_Term__ReadKey_GetControlChars' undeclared (first
    use in this function)
    ReadKey.xs:1821: error: (Each undeclared identifier is reported only once
    ReadKey.xs:1821: error: for each function it appears in.)
    ReadKey.xs:1822: error: `XS_Term__ReadKey_SetControlChars' undeclared (first
    use in this function)
    *** Error code 1
    make: Fatal error: Command failed for target `ReadKey.o'
      /usr/xpg4/bin/make -- NOT OK
    Running make test
      Can't test without successful make
    Running make install
      make had returned bad status, install seems impossible

    cpan>

    The problem obviously centers on cchars.h but I can't figure out
    what to do about it. There's no file cchars.h anywhere on my
    system. Googling on cchars.h doesn't seem to produce anything
    really relevant, and googling on the whole error message draws a
    blank. I'm running SPARC Solaris 9, perl 5.8.5, and gcc 3.4.1.
    Help!

    -- 
                 Christopher Mattern
    "Which one you figure tracked us?"
    "The ugly one, sir."
    "...Could you be more specific?"
    

  • Next message: Chris Mattern: "Re: Can't install Term::ReadKey"

    Relevant Pages

    • Re: LWP install MacOS X
      ... >> Anyway, I fired up the CPAN shell this morning, having loaded the developer ... I foolishly took its suggestion to update and restart CPAN ... shell started downloading a newer version of perl is that I mulishly failed ... shell that helps get and install stuff from that large collection. ...
      (comp.lang.perl.misc)
    • force install Bundle::CPAN failing
      ... This is on an ubuntu machine an force install Bundle::CPAN is failing. ... CPAN: File::HomeDir loaded ok ... Checking if your kit is complete... ... CPAN: checksum security checks disabled because Digest::SHA not installed. ...
      (Ubuntu)
    • Re: problems building perl modules, path question
      ... usingsudofor make install, it would be better to take advantage of it. ... CPAN: File::HomeDir loaded ok ... I need to install a module that required root access. ... I used sudo perl -MCPAN -e shell to intall it. ...
      (comp.lang.perl.misc)
    • Re: Out of memory! - from CPAN
      ... As I am new here and had not received many replies, I was merely asking for a "better suggested place" to ask my odd error messages question. ... > 1) Download the Bundle::CPAN tarball from CPAN and install it manually ... The cpan until is being pahased out anyway, ... This works fine on modules with no to just a few dependencies. ...
      (perl.beginners)
    • Error installing Net::SSH2
      ... Installing via cpan. ... Running install for module Net::SSH2 ... Scanning cache /.cpan/build for sizes ... x Net-SSH2-0.09/META.yml, 411 bytes, 1 tape blocks ...
      (comp.lang.perl.modules)