Can't install Term::ReadKey
From: Chris Mattern (matternc_at_comcast.net)
Date: 12/16/04
- Previous message: Randal L. Schwartz: "Re: Regarding ISA and Inheritance"
- Next in thread: Chris Mattern: "Re: Can't install Term::ReadKey"
- Reply: Chris Mattern: "Re: Can't install Term::ReadKey"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?"
- Previous message: Randal L. Schwartz: "Re: Regarding ISA and Inheritance"
- Next in thread: Chris Mattern: "Re: Can't install Term::ReadKey"
- Reply: Chris Mattern: "Re: Can't install Term::ReadKey"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|