Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Trouble compiling module IO 1.20
- RoseAnn Sibilio
August 6, 2004, 5:25 pm
rate this thread
solution. I am attempting to install the IO module, because I need
the IO::File I only have the IO::Sockets installed by default.
I have downloaded the IO-1.20.tar.gz file, unzipped and extracted the
files. I am able to do a perl Makefile.PL without errors or warnings.
However when I attempt the make I get the following:
cc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 --pipe
-DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fPIC
"-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE" -DI_POLL IO.c
In file included from
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
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
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
Thank you in advance
Re: Trouble compiling module IO 1.20
> I have seen few posts with the same problem, however I did not see the
> solution. I am attempting to install the IO module, because I need
> the IO::File I only have the IO::Sockets installed by default.
I believe that IO::File is part of perl's core, and as such, should also
have been installed by default. One wonders what else is missing.
I would recommend that you build your own perl which will install in
/usr/local/lib, and which you can run as "user", and use that.
Leave the /usr/lib/perl there for the OS to use (which is probably all
it was intended for).
Alternatively, there is possibly some way of upgrading /usr/lib/perl to
a proper perl installation from the OS installation disks. (I know this
can be done on Mandrake linux via some "developer" option, but I don't
know the details - I opted to build my own perl instead.)
To reply by email u have to take out the u in kalinaubears.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum