Hi,

while I'm installing GCJ-Cni-0.03 module, I got the following error. Please
reply me if there is any way to solve this.

Running install for module 'GCJ::Cni'
Running Build for R/RU/RUSEKD/GCJ-Cni-0.03.tar.gz
  Has already been unwrapped into directory
/home/vmplanet/.local/share/.cpan/build/GCJ-Cni-0.03-la_ipz
  Has already been made
Running Build test
cc -I/usr/lib/perl/5.10/CORE -DXS_VERSION="0.03" -DVERSION="0.03" -fPIC -x
c++ -include gcj/cni.h -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -o lib/GCJ/Cni.o lib/GCJ/Cni.c
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: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: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: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: 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: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_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: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_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: ‘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: ‘result’ was not declared in this scope
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_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: ‘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: ‘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: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: 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’
error building lib/GCJ/Cni.o from 'lib/GCJ/Cni.c' at
/usr/local/share/perl/5.10.0/ExtUtils/CBuilder/Base.pm line 175.
  RUSEKD/GCJ-Cni-0.03.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports RUSEKD/GCJ-Cni-0.03.tar.gz
Running Build install
  make test had returned bad status, won't install without force
Failed during this command:
 RUSEKD/GCJ-Cni-0.03.tar.gz                   : make_test NO

-- 
The single finger which wipes out tears during our failure is much better
than the 10 fingers which comes together to clap our victory...

--Nag

Reply via email to