David,
I am having a similar issue building this on cygwin... This will be a
very valuable resource if I can get it to build. Any suggestions? Thanks.
/usr/bin/perl -I_build/lib Build.PL
Creating custom builder _build/lib/My/Builder.pm in _build/lib/My
Checking whether your kit is complete...
Looks good
Creating new 'Build' script for 'GCJ-Cni' version '0.03'
CPAN: YAML loaded ok
/usr/bin/perl Build --makefile_env_macros 1
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
/usr/bin/make -- OK
Running make test
/usr/bin/perl Build --makefile_env_macros 1 test
gcc -I/usr/lib/perl5/5.8/cygwin/CORE -x c++ -include gcj/cni.h -c
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include
-O3 -o lib/GCJ/Cni.o lib/GCJ/Cni.c
lib/GCJ/Cni.xs: In function `int SWIG_Perl_ConvertPtr(SV*, void**,
swig_type_info*, int)':
lib/GCJ/Cni.xs:754: warning: cast to pointer from integer of different size
lib/GCJ/Cni.xs: In function `void _wrap_JvCreateJavaVM(PerlInterpreter*,
CV*)':
lib/GCJ/Cni.xs:1060: error: `JvVMInitArgs' undeclared (first use this
function)
lib/GCJ/Cni.xs:1060: error: (Each undeclared identifier is reported only
once for each function it appears in.)
lib/GCJ/Cni.xs:1060: error: `arg1' undeclared (first use this function)
lib/GCJ/Cni.xs:1060: error: expected primary-expression before ')' token
lib/GCJ/Cni.xs:1060: error: expected `;' before numeric constant
error building .o file from 'lib/GCJ/Cni.c' at
/usr/lib/perl5/site_perl/5.8/Module/Build/Base.pm line 2533.
make: *** [test] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
$ perl -v
This is perl, v5.8.7 built for cygwin-thread-multi-64int
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2005, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at
http://www.perl.org/, the Perl Home Page.
$ gcj --version
gcj (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.