# running Build.PL /Users/cpanrun/build/5.10.0/bin/perl Build.PL Creating custom builder _build/lib/My/Builder.pm in _build/lib/My Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'GCJ-Cni' version '0.03' /Users/cpanrun/build/5.10.0/bin/perl Build --makefile_env_macros 1 Copying lib/GCJ/Cni.pm -> blib/lib/GCJ/Cni.pm lib/GCJ/Cni.xs -> lib/GCJ/Cni.c Didn't find a 'MODULE ... PACKAGE ... PREFIX' line /Users/cpanrun/build/5.10.0/bin/perl Build --makefile_env_macros 1 test gcc -I/Users/cpanrun/build/5.10.0/lib/CORE -DXS_VERSION="0.03" -DVERSION="0.03" -x c++ -include gcj/cni.h -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -o lib/GCJ/Cni.o lib/GCJ/Cni.c cc1plus: error: gcj/cni.h: No such file or directory cc1plus: error: gcj/cni.h: No such file or directory lib/GCJ/Cni.xs:1033:30: error: java/lang/Thread.h: No such file or directory lib/GCJ/Cni.xs:1034:35: error: java/lang/ThreadGroup.h: No such file or directory lib/GCJ/Cni.xs:1033:30: error: java/lang/Thread.h: No such file or directory lib/GCJ/Cni.xs:1034:35: error: java/lang/ThreadGroup.h: No such file or directory lib/GCJ/Cni.xs:879: error: expected unqualified-id before string constant lib/GCJ/Cni.xs:880: error: expected initializer before '*' token lib/GCJ/Cni.xs:885: error: 'SwigPerlWrapperPtr' does not name a type lib/GCJ/Cni.xs: In function 'void _wrap_JvCreateJavaVM(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1060: error: 'JvVMInitArgs' was not declared in this scope lib/GCJ/Cni.xs:1060: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1060: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1060: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1061: error: 'jint' was not declared in this scope lib/GCJ/Cni.xs:1061: error: expected `;' before 'result' lib/GCJ/Cni.xs:1073: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1073: error: expected `;' before 'JvCreateJavaVM' lib/GCJ/Cni.xs: In function 'void _wrap_JvNewStringLatin1__SWIG_0(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1088: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1088: error: expected `;' before 'result' lib/GCJ/Cni.xs:879: error: expected unqualified-id before string constant lib/GCJ/Cni.xs:880: error: expected initializer before '*' token lib/GCJ/Cni.xs:885: error: 'SwigPerlWrapperPtr' does not name a type lib/GCJ/Cni.xs:1097: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1097: error: 'JvNewStringLatin1' was not declared in this scope lib/GCJ/Cni.xs:1100: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1100: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1100: error: expected `;' before 'jstring' lib/GCJ/Cni.xs: In function 'void _wrap_JvCreateJavaVM(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1060: error: 'JvVMInitArgs' was not declared in this scope lib/GCJ/Cni.xs:1060: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1060: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1060: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1061: error: 'jint' was not declared in this scope lib/GCJ/Cni.xs:1061: error: expected `;' before 'result' lib/GCJ/Cni.xs:1073: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1073: error: expected `;' before 'JvCreateJavaVM' lib/GCJ/Cni.xs: In function 'void _wrap_JvNewStringLatin1__SWIG_1(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1115: error: 'jsize' was not declared in this scope lib/GCJ/Cni.xs:1115: error: expected `;' before 'arg2' lib/GCJ/Cni.xs:1116: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1116: error: expected `;' before 'result' lib/GCJ/Cni.xs: In function 'void _wrap_JvNewStringLatin1__SWIG_0(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1088: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1088: error: expected `;' before 'result' lib/GCJ/Cni.xs:1125: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs:1126: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1126: error: 'JvNewStringLatin1' was not declared in this scope lib/GCJ/Cni.xs:1129: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1129: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1129: error: expected `;' before 'jstring' lib/GCJ/Cni.xs:1097: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1097: error: 'JvNewStringLatin1' was not declared in this scope lib/GCJ/Cni.xs:1100: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1100: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1100: error: expected `;' before 'jstring' lib/GCJ/Cni.xs: In function 'void _wrap_JvNewStringLatin1__SWIG_1(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1115: error: 'jsize' was not declared in this scope lib/GCJ/Cni.xs:1115: error: expected `;' before 'arg2' lib/GCJ/Cni.xs:1116: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1116: error: expected `;' before 'result' lib/GCJ/Cni.xs:1125: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs: In function 'void _wrap_JvAllocString(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1175: error: 'jsize' was not declared in this scope lib/GCJ/Cni.xs:1175: error: expected `;' before 'arg1' lib/GCJ/Cni.xs:1176: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1176: error: expected `;' before 'result' lib/GCJ/Cni.xs:1126: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1126: error: 'JvNewStringLatin1' was not declared in this scope lib/GCJ/Cni.xs:1129: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1129: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1129: error: expected `;' before 'jstring' lib/GCJ/Cni.xs:1183: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1184: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1184: error: 'JvAllocString' was not declared in this scope lib/GCJ/Cni.xs:1187: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1187: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1187: error: expected `;' before 'jstring' lib/GCJ/Cni.xs: In function 'void _wrap_JvNewString(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1201: error: 'jchar' was not declared in this scope lib/GCJ/Cni.xs:1201: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1201: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1201: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1202: error: 'jsize' was not declared in this scope lib/GCJ/Cni.xs:1202: error: expected `;' before 'arg2' lib/GCJ/Cni.xs:1203: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1203: error: expected `;' before 'result' lib/GCJ/Cni.xs:1215: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs:1216: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1216: error: expected `)' before 'const' lib/GCJ/Cni.xs:1216: error: expected `)' before ';' token lib/GCJ/Cni.xs:1219: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1219: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1219: error: expected `;' before 'jstring' lib/GCJ/Cni.xs: In function 'void _wrap_JvAllocString(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1175: error: 'jsize' was not declared in this scope lib/GCJ/Cni.xs:1175: error: expected `;' before 'arg1' lib/GCJ/Cni.xs:1176: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1176: error: expected `;' before 'result' lib/GCJ/Cni.xs:1183: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs: In function 'void _wrap_JvNewStringUTF(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1234: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1234: error: expected `;' before 'result' lib/GCJ/Cni.xs:1184: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1184: error: 'JvAllocString' was not declared in this scope lib/GCJ/Cni.xs:1187: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1187: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1187: error: expected `;' before 'jstring' lib/GCJ/Cni.xs:1243: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1243: error: 'JvNewStringUTF' was not declared in this scope lib/GCJ/Cni.xs:1246: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1246: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1246: error: expected `;' before 'jstring' lib/GCJ/Cni.xs: In function 'void _wrap_JvNewString(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1201: error: 'jchar' was not declared in this scope lib/GCJ/Cni.xs:1201: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1201: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1201: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1202: error: 'jsize' was not declared in this scope lib/GCJ/Cni.xs:1202: error: expected `;' before 'arg2' lib/GCJ/Cni.xs:1203: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1203: error: expected `;' before 'result' lib/GCJ/Cni.xs:1215: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs:1216: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1216: error: expected `)' before 'const' lib/GCJ/Cni.xs:1216: error: expected `)' before ';' token lib/GCJ/Cni.xs:1219: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1219: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1219: error: expected `;' before 'jstring' lib/GCJ/Cni.xs: In function 'void _wrap_JvAttachCurrentThread(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1260: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1260: error: expected `;' before 'arg1' lib/GCJ/Cni.xs:1261: error: 'java' has not been declared lib/GCJ/Cni.xs:1261: error: 'ThreadGroup' was not declared in this scope lib/GCJ/Cni.xs:1261: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs:1261: error: 'java' has not been declared lib/GCJ/Cni.xs:1261: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1261: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1262: error: 'java' has not been declared lib/GCJ/Cni.xs:1262: error: 'Thread' was not declared in this scope lib/GCJ/Cni.xs:1262: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1273: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs: In function 'void _wrap_JvNewStringUTF(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1234: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1234: error: expected `;' before 'result' lib/GCJ/Cni.xs:1276: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1276: error: 'JvNewStringLatin1' was not declared in this scope lib/GCJ/Cni.xs:1286: error: 'java' has not been declared lib/GCJ/Cni.xs:1286: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1286: error: expected `;' before 'JvAttachCurrentThread' lib/GCJ/Cni.xs:1243: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1243: error: 'JvNewStringUTF' was not declared in this scope lib/GCJ/Cni.xs:1246: error: 'resultobj' was not declared in this scope lib/GCJ/Cni.xs:1246: error: expected type-specifier before 'jstring' lib/GCJ/Cni.xs:1246: error: expected `;' before 'jstring' lib/GCJ/Cni.xs: In function 'void _wrap_JvAttachCurrentThreadAsDaemon(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1300: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1300: error: expected `;' before 'arg1' lib/GCJ/Cni.xs:1301: error: 'java' has not been declared lib/GCJ/Cni.xs:1301: error: 'ThreadGroup' was not declared in this scope lib/GCJ/Cni.xs:1301: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs:1301: error: 'java' has not been declared lib/GCJ/Cni.xs:1301: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1301: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1302: error: 'java' has not been declared lib/GCJ/Cni.xs:1302: error: 'Thread' was not declared in this scope lib/GCJ/Cni.xs:1302: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1313: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1316: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs: In function 'void _wrap_JvAttachCurrentThread(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1260: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1260: error: expected `;' before 'arg1' lib/GCJ/Cni.xs:1261: error: 'java' has not been declared lib/GCJ/Cni.xs:1261: error: 'ThreadGroup' was not declared in this scope lib/GCJ/Cni.xs:1261: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs:1261: error: 'java' has not been declared lib/GCJ/Cni.xs:1261: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1261: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1262: error: 'java' has not been declared lib/GCJ/Cni.xs:1262: error: 'Thread' was not declared in this scope lib/GCJ/Cni.xs:1262: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1316: error: 'JvNewStringLatin1' was not declared in this scope lib/GCJ/Cni.xs:1326: error: 'java' has not been declared lib/GCJ/Cni.xs:1326: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1326: error: expected `;' before 'JvAttachCurrentThreadAsDaemon' lib/GCJ/Cni.xs:1273: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1276: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1276: error: 'JvNewStringLatin1' was not declared in this scope lib/GCJ/Cni.xs:1286: error: 'java' has not been declared lib/GCJ/Cni.xs:1286: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1286: error: expected `;' before 'JvAttachCurrentThread' lib/GCJ/Cni.xs: In function 'void _wrap_JvDetachCurrentThread(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1340: error: 'jint' was not declared in this scope lib/GCJ/Cni.xs:1340: error: expected `;' before 'result' lib/GCJ/Cni.xs:1347: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1347: error: expected `;' before 'JvDetachCurrentThread' lib/GCJ/Cni.xs: In function 'void _wrap_JvAttachCurrentThreadAsDaemon(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1300: error: 'jstring' was not declared in this scope lib/GCJ/Cni.xs:1300: error: expected `;' before 'arg1' lib/GCJ/Cni.xs:1301: error: 'java' has not been declared lib/GCJ/Cni.xs:1301: error: 'ThreadGroup' was not declared in this scope lib/GCJ/Cni.xs:1301: error: 'arg2' was not declared in this scope lib/GCJ/Cni.xs:1301: error: 'java' has not been declared lib/GCJ/Cni.xs:1301: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1301: error: expected `;' before numeric constant lib/GCJ/Cni.xs:1302: error: 'java' has not been declared lib/GCJ/Cni.xs:1302: error: 'Thread' was not declared in this scope lib/GCJ/Cni.xs:1302: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1313: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs:1316: error: 'arg1' was not declared in this scope lib/GCJ/Cni.xs: At global scope: lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1316: error: 'JvNewStringLatin1' was not declared in this scopelib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1326: error: 'java' has not been declared lib/GCJ/Cni.xs:1326: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1326: error: expected `;' before 'JvAttachCurrentThreadAsDaemon' lib/GCJ/Cni.xs: In function 'void boot_GCJ__Cni(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1446: error: 'struct swig_command_info' has no member named 'wrapper' lib/GCJ/Cni.xs: In function 'void _wrap_JvDetachCurrentThread(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1340: error: 'jint' was not declared in this scope lib/GCJ/Cni.xs:1340: error: expected `;' before 'result' lib/GCJ/Cni.xs:1347: error: 'result' was not declared in this scope lib/GCJ/Cni.xs:1347: error: expected `;' before 'JvDetachCurrentThread' lib/GCJ/Cni.xs: At global scope: lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs:1401: error: too many initializers for 'swig_command_info' lib/GCJ/Cni.xs: In function 'void boot_GCJ__Cni(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1446: error: 'struct swig_command_info' has no member named 'wrapper' lipo: can't open input file: /var/tmp//ccOHgzJM.out (No such file or directory) error building lib/GCJ/Cni.o from 'lib/GCJ/Cni.c' at /Users/cpanrun/build/5.10.0/lib/ExtUtils/CBuilder/Base.pm line 109. make: *** [test] Error 2