Skip to content

Instantly share code, notes, and snippets.

@riywo
Created January 7, 2012 15:49
Show Gist options
  • Save riywo/1575091 to your computer and use it in GitHub Desktop.
Save riywo/1575091 to your computer and use it in GitHub Desktop.
XS失敗
/usr/bin/perl /Users/riywo/llenv/apps/perl-5.8.8/local/lib/perl5/ExtUtils/xsubpp -typemap /System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap XS.xs > XS.xsc && mv XS.xsc XS.c
gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.32\" -DXS_VERSION=\"2.32\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" XS.c
XS.xs: In function ‘json_init’:
XS.xs:109: warning: format not a string literal and no format arguments
XS.xs: In function ‘shrink’:
XS.xs:135: warning: format not a string literal and no format arguments
XS.xs: In function ‘decode_hv’:
XS.xs:1317: warning: comparison is always false due to limited range of data type
XS.xs: In function ‘decode_json’:
XS.xs:1611: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘STRLEN’
XS.xs: In function ‘XS_JSON__XS_incr_parse’:
XS.xs:1977: warning: format not a string literal and no format arguments
XS.xs: In function ‘json_init’:
XS.xs:109: warning: format not a string literal and no format arguments
XS.xs: In function ‘shrink’:
XS.xs:135: warning: format not a string literal and no format arguments
XS.xs: In function ‘encode_sv’:
XS.xs:842: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘U32’
XS.xs: In function ‘decode_hv’:
XS.xs:1317: warning: comparison is always false due to limited range of data type
XS.xs: In function ‘decode_json’:
XS.xs:1611: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘STRLEN’
XS.xs: In function ‘XS_JSON__XS_incr_parse’:
XS.xs:1977: warning: format not a string literal and no format arguments
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
XS.xs: In function ‘json_init’:
XS.xs:109: warning: format not a string literal and no format arguments
XS.xs: In function ‘shrink’:
XS.xs:135: warning: format not a string literal and no format arguments
XS.xs: In function ‘encode_sv’:
XS.xs:842: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘U32’
XS.xs: In function ‘decode_hv’:
XS.xs:1317: warning: comparison is always false due to limited range of data type
XS.xs: In function ‘decode_json’:
XS.xs:1611: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘STRLEN’
XS.xs: In function ‘XS_JSON__XS_incr_parse’:
XS.xs:1977: warning: format not a string literal and no format arguments
lipo: can't open input file: /var/folders/x-/x-pmhOaHEOuHLfS1bQ0nW5ERQfI/-Tmp-//cc4PRPLO.out (No such file or directory)
make: *** [XS.o] Error 2
FAIL
! Installing JSON::XS failed. See /Users/iwanaga.ryosuke/.cpanm/build.log for details.
! Bailing out the installation for JSON-2.53. Retry with --prompt or --force.
! Bailing out the installation for carton-v0.9.3. Retry with --prompt or --force.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment