Subject: | compile error on OS X 10.4.9 |
CPAN.pm: Going to build M/ML/MLEHMANN/JSON-XS-1.21.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for JSON::XS
/usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap
/System/Library/Perl/5.8.6/ExtUtils/typemap XS.xs > XS.xsc && mv XS.xsc
XS.c
Running Mkbootstrap for JSON::XS ()
chmod 644 XS.bs
cp XS.bs blib/arch/auto/JSON/XS/XS.bs
chmod 644 blib/arch/auto/JSON/XS/XS.bs
cp XS.pm blib/lib/JSON/XS.pm
cc -c -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"1.21\"
-DXS_VERSION=\"1.21\"
"-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" XS.c
XS.xs: In function 'encode_str':
XS.xs:173: warning: pointer targets in passing argument 1 of
'decode_utf8' differ in signedness
XS.xs:226: error: 'UTF8_MAXBYTES' undeclared (first use in this function)
XS.xs:226: error: (Each undeclared identifier is reported only once
XS.xs:226: error: for each function it appears in.)
XS.xs:227: warning: pointer targets in passing argument 2 of
'Perl_uvuni_to_utf8_flags' differ in signedness
XS.xs:227: warning: pointer targets in assignment differ in signedness
XS.xs: In function 'decode_str':
XS.xs:611: error: 'UTF8_MAXBYTES' undeclared (first use in this function)
XS.xs:671: warning: pointer targets in passing argument 2 of
'Perl_uvuni_to_utf8_flags' differ in signedness
XS.xs:692: warning: pointer targets in passing argument 1 of
'decode_utf8' differ in signedness
XS.xs: In function 'decode_json':
XS.xs:1031: warning: pointer targets in passing argument 2 of
'Perl_utf8_distance' differ in signedness
XS.xs:1031: warning: pointer targets in passing argument 3 of
'Perl_utf8_distance' differ in signedness
XS.xs:1047: warning: pointer targets in passing argument 3 of
'Perl_pv_uni_display' differ in signedness
make: *** [XS.o] Error 1
/usr/bin/make -j3 -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible