This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
libperl.dll.a seems to be missing for cygwin in t/basic.1
please apply the following patch:
$ diff -bu ExtUtils-ParseXS-2.02/t/basic.t~ ExtUtils-ParseXS-2.02/t/basic.t
--- ExtUtils-ParseXS-2.02/t/basic.t~ 2003-02-23 23:26:15.000000000 +0100
+++ ExtUtils-ParseXS-2.02/t/basic.t 2003-08-16 20:53:13.000000000 +0200
@@ -20,6 +20,7 @@
my $BCC = $Is_MSWin32 && $Config{cc} =~ /bcc32(\.exe)?$/;
my $MSVC = $Is_MSWin32 && $Config{cc} =~ /cl(\.exe)?$/;
my $MinGW = $Is_MSWin32 && $Config{cc} =~ /gcc(\.exe)?$/;
+my $Cygwin = $^O eq 'cygwin';
#########################
@@ -98,10 +99,10 @@
my $lddlflags = $Config{lddlflags};
my $ld_out = '-o ';
- if ( $Is_MSWin32 ) {
+ if ( $Is_MSWin32 or $Cygwin ) {
require ExtUtils::Mksymlists;
ExtUtils::Mksymlists::Mksymlists(
- 'NAME' => $module, 'DLBASE' => $module, 'IMPORTS' => {} );
+ 'NAME' => $module, 'DLBASE' => $module, 'IMPORTS' => {} ) unless $Cygwin;
if ( $MSVC ) { # Microsoft
$ld_out = '-out:';
@@ -120,6 +121,10 @@
do_system("$Config{ld} $lddlflags -Wl,--base-file -Wl,$module.base $objs
$ld_out$module_lib $libs
$module.exp");
do_system("dlltool --def $module.def --output-exp $module.exp --base-file
$module.base");
$module_def = "$module.exp";
+ } elsif ( $Cygwin ) {
+ (my $libperl = $Config{libperl}) =~ s/^(?:lib)?([^.]+).*$/$1/;
+ $libs = "-L$Config{archlibexp}/CORE -l$libperl $libs";
+ do_system("$Config{shrpenv} $Config{ld} $lddlflags -Wl,--base-file
-Wl,$module.base $objs
$ld_out$module_lib $lib
s");
}
}
test:
Writing Makefile for ExtUtils::ParseXS
cp lib/ExtUtils/ParseXS.pm blib/lib/ExtUtils/ParseXS.pm
cp lib/ExtUtils/xsubpp blib/lib/ExtUtils/xsubpp
/usr/bin/make -- OK
Running make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/basic....ok 5/9Creating library file: libXSTest.dll.a
XSTest.o(.text+0x2d):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x37):XSTest.c: undefined reference to `_Perl_Tstack_sp_ptr'
XSTest.o(.text+0x48):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x52):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x60):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x6a):XSTest.c: undefined reference to `_Perl_Tmarkstack_ptr_ptr'
XSTest.o(.text+0x87):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x91):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0xbb):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0xcd):XSTest.c: undefined reference to `_Perl_croak'
XSTest.o(.text+0xd9):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0xe3):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x10c):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x116):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x13d):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x14b):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x155):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x174):XSTest.c: undefined reference to `_Perl_sv_2iv'
XSTest.o(.text+0x189):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x193):XSTest.c: undefined reference to `_Perl_Top_ptr'
XSTest.o(.text+0x1ab):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x1b5):XSTest.c: undefined reference to `_Perl_Tcurpad_ptr'
XSTest.o(.text+0x1c3):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x1cd):XSTest.c: undefined reference to `_Perl_Top_ptr'
XSTest.o(.text+0x1ef):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x1f9):XSTest.c: undefined reference to `_Perl_sv_newmortal'
XSTest.o(.text+0x21f):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x229):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x248):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x265):XSTest.c: undefined reference to `_Perl_sv_setiv'
XSTest.o(.text+0x280):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x291):XSTest.c: undefined reference to `_Perl_mg_set'
XSTest.o(.text+0x2a9):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x2b3):XSTest.c: undefined reference to `_Perl_Tstack_sp_ptr'
XSTest.o(.text+0x2c1):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x2cb):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x30a):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x314):XSTest.c: undefined reference to `_Perl_Tstack_sp_ptr'
XSTest.o(.text+0x322):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x32c):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x33a):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x344):XSTest.c: undefined reference to `_Perl_Tmarkstack_ptr_ptr'
XSTest.o(.text+0x361):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x36b):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x395):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x3b6):XSTest.c: undefined reference to `_Perl_newXS'
XSTest.o(.text+0x3c2):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x3cc):XSTest.c: undefined reference to `_Perl_Isv_yes_ptr'
XSTest.o(.text+0x3da):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x3e4):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
XSTest.o(.text+0x401):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x40b):XSTest.c: undefined reference to `_Perl_Tstack_sp_ptr'
XSTest.o(.text+0x419):XSTest.c: undefined reference to `_Perl_Gcurinterp_ptr'
XSTest.o(.text+0x423):XSTest.c: undefined reference to `_Perl_Tstack_base_ptr'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o XSTest.dll -Wl,--out-implib=libXSTest.dll.a -Wl,--export-all-symbols
-Wl,--enable-auto-import
-Wl,--stack,8388608 \
-s -L/usr/local/lib XSTest.o -lgdbm -ldb -lcrypt -lutil -lgdbm_compat
# Failed test 6 in t/basic.t at line 42
t/basic....NOK 6# Test 7 got: 'Can't locate loadable object for module XSTest in @INC
(@INC contains:
/usr/src/perl/.cpan/build/ExtUtils-ParseXS-2.02/blib/lib
/usr/src/perl/.cpan/build/ExtUtils-ParseXS-2.02/blib/arch
/usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0/cygwin-multi-64int
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.8.0/
cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .
/usr/lib/perl5/5.8.0/cygwin-multi-64int /us
r/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_p
erl .) at t/basic.t line 44
Compilation failed in require at t/basic.t line 44, <File0000> line 28.
' (t/basic.t at line 45)
t/basic....NOK 7# Expected: ''
Can't locate auto/XSTest/is_even.al in @INC (@INC contains:
/usr/src/perl/.cpan/build/ExtUtils-ParseXS-2.02/blib/lib
/usr/src/perl/.cpan/build/ExtUtils-ParseXS-2.02/blib/arch
/usr/lib/perl5/5.8.0/cygwin-multi-64int
/usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .
/usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl .) at t/basic.t line 46
t/basic....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 6-9
Failed 4/9 tests, 55.56% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/basic.t 2 512 9 4 44.44% 6-9
Failed 1/1 test scripts, 0.00% okay. 4/9 subtests failed, 55.56% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
--
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=cygwin, osvers=1.3.22(0.7832), archname=cygwin-multi-64int
uname='cygwin_nt-4.0 iokaste 1.3.22(0.7832) 2003-03-18 09:20 i686 unknown unknown
cygwin '
config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O3
-Dman3ext=3pm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing'
ccversion='', gccversion='3.2.3 (home grown)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -lcrypt -lutil -lgdbm_compat
perllibs=-lcrypt -lutil -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'