Perl module IO::File problems...
I currently have Perl 5.80 and am trying to install the IO::File module, but am getting the following error(s):
Executing /usr/bin/perl Makefile.PL && make ..
Checking for Socket...ok
Checking if your kit is complete...
Looks good
Writing Makefile for IO
cp IO/Handle.pm blib/lib/IO/Handle.pm
cp IO/Dir.pm blib/lib/IO/Dir.pm
cp IO/Socket/INET.pm blib/lib/IO/Socket/INET.pm
cp IO/Poll.pm blib/lib/IO/Poll.pm
cp IO/Seekable.pm blib/lib/IO/Seekable.pm
cp IO/Select.pm blib/lib/IO/Select.pm
cp IO/File.pm blib/lib/IO/File.pm
cp IO/Pipe.pm blib/lib/IO/Pipe.pm
cp IO/Socket/UNIX.pm blib/lib/IO/Socket/UNIX.pm
cp IO.pm blib/lib/IO.pm
cp IO/Socket.pm blib/lib/IO/Socket.pm
/usr/bin/perl5.8.0 /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/type
map IO.xs > IO.xsc && mv IO.xsc IO.c
cc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"1.20\" -DX
S_VERSION=\"1.20\" -fPIC "-I/usr/lib/perl5/5.8.0/i486-linux/CORE" -DI_POLL IO.c
In file included from /usr/lib/perl5/5.8.0/i486-linux/CORE/perl.h:36,
from IO.xs:9:
/usr/lib/perl5/5.8.0/i486-linux/CORE/config.h:2820:1: warning: "I_POLL" redefined
IO.c:1:1: warning: this is the location of the previous definition
IO.xs: In function `XS_IO__Seekable_getpos':
IO.xs:201: warning: passing arg 2 of `PerlIO_getpos' from incompatible pointer type
IO.xs:208: `sv_undef' undeclared (first use in this function)
IO.xs:208: (Each undeclared identifier is reported only once
IO.xs:208: for each function it appears in.)
IO.xs: In function `XS_IO__Seekable_setpos':
IO.xs:219: warning: passing arg 2 of `PerlIO_setpos' from incompatible pointer type
IO.xs: In function `XS_IO__File_new_tmpfile':
IO.xs:252: `sv_undef' undeclared (first use in this function)
make: *** [IO.o] Error 1
I'm running Slackware 9. Can anyone shed any light on what I need to do to get this installed properly?
|