|
Posted by Chris Mattern on December 16, 2004, 3:47 pm
Please log in for more thread options
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?"
|
|
Posted by Chris Mattern on December 16, 2004, 4:08 pm
Please log in for more thread options
Chris Mattern wrote:
> 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!
OK, I solved the problem. I found a copy cchars.h at
http://www.arix.com/ftp/c2r/BUILD/TermReadKey-2.21/,
downloaded it, stuck it in Term::ReadKey's build directory,
and then it installed fine. Why is CPAN not retrieving
that file?
--
Christopher Mattern
"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
|
|
Posted by Steven N. Hirsch on December 16, 2004, 10:07 pm
Please log in for more thread options Chris Mattern wrote:
> Chris Mattern wrote:
>>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!
>
> OK, I solved the problem. I found a copy cchars.h at
> http://www.arix.com/ftp/c2r/BUILD/TermReadKey-2.21/,
> downloaded it, stuck it in Term::ReadKey's build directory,
> and then it installed fine. Why is CPAN not retrieving
> that file?
By my read of Makefile.PL, it is supposed to be created when you do:
$ perl Makefile.PL
(that's what genchars.pl is for)
Try starting with a clean build directory and run it manually. If you
still see a failure there may be some odd interaction with your environment.
Steve
|
| Similar Threads | Posted | | Term::ReadKey for VMS platform | July 25, 2008, 11:45 am |
| Term::Clui in modlist/User_Interfaces/Term ? | October 5, 2007, 1:52 am |
| Question about Term::ANSIMenu | November 2, 2004, 2:55 am |
| Term::ReadLine and ActivePerl | June 9, 2006, 5:01 pm |
| ANNOUNCE: Zoidberg 0.90 && Term::ReadLine::Zoid 0.05 | September 6, 2004, 7:03 pm |
| Term-Size make fails on debian | September 6, 2005, 4:28 pm |
| Term::ProgressBar problems with multiple calls | November 16, 2004, 4:46 pm |
| Term::ReadLine - Terminal does not support AddHistory | June 14, 2005, 12:54 pm |
| Term::Cap -- Setting terminal type under Windows XP | May 24, 2006, 1:46 pm |
| Term::Cap -- Setting terminal type under Windows XP | May 29, 2006, 9:22 pm |
|