Waaaa.. I just wrote what is a major piece of coding for my limited
skills, partially based on `use PerlIO::gzip'

Its a log search tool that I'm enjoying using.  I figured I could use it
on any of my machines (4 homeboy machines) But when I went to run it
on the main machine I wanted to use it on I discovered PerlIO::gzip
was not installed... so jumped into cpan shell

install PerlIO::gzip

But it fails with error messages I can't interpret enough to see a
fix. I'm going to blast in a bunch of make output only because I'm
not sure if any of these warning are meaningfull.

perl Makefile.PL goes without a hitch.

But make fails like this:

 cp gzip.pm blib/lib/PerlIO/gzip.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap  gzip.xs > gzip.xsc && mv gzip.xsc gzip.c
cc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -O2   -DVERSION=\"0.14\" -DXS_VERSION=\"0.14\" -fpic 
"-I/usr/local/lib/perl5/5.8.0/i686-linux/CORE"  -DLAYERGZIP_DEFAULT_OS_TYPE=3 gzip.c
gzip.xs: In function `PerlIOGzip_pushed':
gzip.xs:692: too many arguments to function `PerlIOBuf_pushed'
gzip.xs: At top level:


Then a mess of warnings culminating in a failure:

gzip.xs:1220: warning: initialization makes integer from pointer without a cast
gzip.xs:1222: warning: initialization makes pointer from integer without a cast
gzip.xs:1223: warning: initialization from incompatible pointer type
gzip.xs:1224: warning: initialization from incompatible pointer type
gzip.xs:1225: warning: initialization from incompatible pointer type
gzip.xs:1225: warning: initialization from incompatible pointer type
gzip.xs:1226: `PerlIOBase_binmode' undeclared here (not in a function)
gzip.xs:1226: initializer element is not constant
gzip.xs:1226: (near initialization for `PerlIO_gzip.Fileno')
gzip.xs:1227: warning: initialization from incompatible pointer type
gzip.xs:1228: warning: initialization from incompatible pointer type
gzip.xs:1229: warning: initialization from incompatible pointer type
gzip.xs:1230: warning: initialization from incompatible pointer type
gzip.xs:1231: warning: initialization from incompatible pointer type
gzip.xs:1232: warning: initialization from incompatible pointer type
gzip.xs:1233: warning: initialization from incompatible pointer type
gzip.xs:1234: warning: initialization from incompatible pointer type
gzip.xs:1238: warning: initialization from incompatible pointer type
gzip.xs:1239: warning: initialization from incompatible pointer type
gzip.xs:1240: warning: initialization from incompatible pointer type
gzip.xs:1241: warning: initialization from incompatible pointer type
gzip.xs:1243: warning: initialization from incompatible pointer type
gzip.xs:1244: warning: initialization from incompatible pointer type
gzip.xs:1245: warning: excess elements in struct initializer
gzip.xs:1245: warning: (near initialization for `PerlIO_gzip')
gzip.xs:1246: warning: excess elements in struct initializer
gzip.xs:1246: warning: (near initialization for `PerlIO_gzip')
make: *** [gzip.o] Error 1

Anyone here recognize the problem?



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to