Subject: | Syntax error with Perl 5.10.0 |
Hi
ron@zoe:~$ sudo cpan Class::XSAccessor
CPAN: Storable loaded ok (v2.18)
Going to read /home/ron/.cpan/sources/Metadata
Database was generated on Sat, 16 May 2009 15:26:59 GMT
CPAN: YAML loaded ok (v0.66)
Going to read 88 yaml files from /home/ron/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
............................................................................DONE
Restored the state of 88 (in 1.8923 secs)
Running install for module 'Class::XSAccessor'
Running make for S/SM/SMUELLER/Class-XSAccessor-1.01.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.012)
Checksum for
/home/ron/.cpan/sources/authors/id/S/SM/SMUELLER/Class-XSAccessor-1.01.tar.gz
ok
Class-XSAccessor-1.01/
Class-XSAccessor-1.01/README
Class-XSAccessor-1.01/AutoXS.h
Class-XSAccessor-1.01/XSAccessor.xs
Class-XSAccessor-1.01/t/
Class-XSAccessor-1.01/t/04chained.t
Class-XSAccessor-1.01/t/01basic.t
Class-XSAccessor-1.01/t/05replace.t
Class-XSAccessor-1.01/t/03predicate.t
Class-XSAccessor-1.01/t/06constructor.t
Class-XSAccessor-1.01/t/02accessor.t
Class-XSAccessor-1.01/Changes
Class-XSAccessor-1.01/MANIFEST
Class-XSAccessor-1.01/ppport.h
Class-XSAccessor-1.01/Makefile.PL
Class-XSAccessor-1.01/META.yml
Class-XSAccessor-1.01/lib/
Class-XSAccessor-1.01/lib/Class/
Class-XSAccessor-1.01/lib/Class/XSAccessor.pm
CPAN: File::Temp loaded ok (v0.21)
CPAN.pm: Going to build S/SM/SMUELLER/Class-XSAccessor-1.01.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Class::XSAccessor
cp lib/Class/XSAccessor.pm blib/lib/Class/XSAccessor.pm
/usr/bin/perl -MAutoXS::Header -e AutoXS::Header::WriteAutoXSHeader
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap
/usr/share/perl/5.10/ExtUtils/typemap XSAccessor.xs > XSAccessor.xsc &&
mv XSAccessor.xsc XSAccessor.c
cc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O2 -g -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -fPIC
"-I/usr/lib/perl/5.10/CORE" XSAccessor.c
In file included from XSAccessor.xs:7:
AutoXS.h:47: error: conflicting types for ‘_new_hashkey’
AutoXS.h:33: error: previous implicit declaration of ‘_new_hashkey’ was here
make: *** [XSAccessor.o] Error 1
SMUELLER/Class-XSAccessor-1.01.tar.gz
/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
ron@zoe:~$