module install problems with cpan module and gcc? 
Author Message
 module install problems with cpan module and gcc?

I have been having some difficulties installing certain modules
paricularly Term::ReadKey and Archive::Zip.  I have included the output
from perl -MCPAN -e shell below.  Any ideas what is wrong here?  It
appears I am missing files that it is looking for.

I am running Redhat 7.

thanks,

j

AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0
/usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap Zlib.xs >
Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I./libraries/1.1.3 -fno-strict-aliasing -O2 -march=i386
-mcpu=i686     -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fPIC
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  Zlib.c
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:130,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:11,
                 from /usr/include/sys/param.h:22,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:486,
                 from Zlib.xs:22:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or
directoryIn file included from
/usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:486,
                 from Zlib.xs:22:
/usr/include/sys/param.h:23:26: linux/limits.h: No such file or
directory
/usr/include/sys/param.h:24:25: linux/param.h: No such file or directory
In file included from /usr/include/netinet/in.h:27,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:654,
                 from Zlib.xs:22:
/usr/include/bits/socket.h:300:24: asm/socket.h: No such file or
directory
In file included from /usr/include/errno.h:36,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:711,
                 from Zlib.xs:22:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or
directory
In file included from /usr/include/sys/ioctl.h:27,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:772,
                 from Zlib.xs:22:
/usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or
directory
In file included from /usr/include/sys/ioctl.h:30,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:772,
                 from Zlib.xs:22:
/usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or
directoryIn file included from /usr/include/signal.h:309,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/unixish.h:93,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:1568,
                 from Zlib.xs:22:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or
directory
Zlib.xs:25:19: zlib.h: No such file or directory
make: *** [Zlib.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

From the Term::ReadKey install

Checking for sgtty...
        Sgtty NOT found.
Writing sgtty section of cchars.h... Done.
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0
/usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.0/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv
ReadKey.xsc ReadKey.c
Please specify prototyping behavior for ReadKey.xs (see perlxs manual)
gcc -c  -fno-strict-aliasing -O2 -march=i386 -mcpu=i686    
-DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC
-I/usr/lib/perl5/5.6.0/i386-linux/CORE  ReadKey.c
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:130,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:11,
                 from /usr/include/sys/param.h:22,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:486,
                 from ReadKey.xs:4:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or
directory
In file included from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:486,
                 from ReadKey.xs:4:
/usr/include/sys/param.h:23:26: linux/limits.h: No such file or
directory
/usr/include/sys/param.h:24:25: linux/param.h: No such file or directory
In file included from /usr/include/netinet/in.h:27,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:654,
                 from ReadKey.xs:4:
/usr/include/bits/socket.h:300:24: asm/socket.h: No such file or
directory
In file included from /usr/include/errno.h:36,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:711,
                 from ReadKey.xs:4:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or
directory
In file included from /usr/include/sys/ioctl.h:27,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:772,
                 from ReadKey.xs:4:
/usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or
directory
In file included from /usr/include/sys/ioctl.h:30,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:772,
                 from ReadKey.xs:4:
/usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or
directory
In file included from /usr/include/signal.h:309,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/unixish.h:93,
                 from /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h:1568,
                 from ReadKey.xs:4:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or
directory
make: *** [ReadKey.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible



Mon, 14 Jul 2003 00:54:43 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problems with gcc whilst installing DES module ???

2. CPAN module install problems

3. Problem installing CPAN modules

4. Help Installing Modules (CPAN) problems

5. Problem installing CPAN modules

6. problems installing CPAN modules on Win98, using nmake

7. Problem: Installing Modules with CPAN.pm

8. CPAN module Tk::BLT::Table install problem

9. newbie: howto install CPAN module in my home

10. ARCHLIB for CPAN-installed modules

11. how to install perl CPAN module on server

12. CPAN module install?

 

 
Powered by phpBB® Forum Software