On Wed, Jan 05, 2005 at 11:18:40AM +0530, isha b wrote: > Hi, > > Further to my earlier mail if I run force install from cpan prompt , I > will end up with following error , > > cpan> force install Term::ReadKey > Running install for module Term::ReadKey > Running make for J/JS/JSTOWE/TermReadKey-2.21.tar.gz > Checksum for /root/.cpan/sources/authors/id/J/JS/JSTOWE/TermReadKey-2.21.tar.gz > ok > TermReadKey-2.21/ > TermReadKey-2.21/genchars.pl > TermReadKey-2.21/README > TermReadKey-2.21/MANIFEST > TermReadKey-2.21/test.pl > TermReadKey-2.21/ReadKey.pm > TermReadKey-2.21/Makefile.PL > TermReadKey-2.21/Configure.pm > TermReadKey-2.21/ppport.h > TermReadKey-2.21/ReadKey.xs > Removing previously used /root/.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/bin/perl -I/usr/lib/perl5/5.8.5 genchars.pl > > Writing termio/termios section of cchars.h... Done. > Checking for sgtty... > Sgtty NOT found. > Writing sgtty section of cchars.h... Done. > /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -noprototypes > -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap ReadKey.xs > > ReadKey.xsc && mv ReadKey.xsc ReadKey.c > gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 > -march=i386 -mtune=pentium4 -DVERSION=\"2.21\" -DXS_VERSION=\"2.21\" > -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" > ReadKey.c > In file included from ReadKey.xs:4: > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/perl.h:380:24: > sys/types.h: No such file or directory > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/perl.h:411:19: > ctype.h: No such file or directory > /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/perl.h:423:23: > locale.h: No such file or directory <snip> It appears that many files under the /usr/include directories were not installed. Please install the appropriate Red Hat rpm to get those files installed. After that, you should be able to install Term::ReadKey without problems. Steve Peters steve@fisharerojo.orgThread Previous | Thread Next