[Module-build-general] Module::Build tests failing on new perl 5.8.1
Status: Beta
Brought to you by:
kwilliams
|
From: Bart P. <ba...@la...> - 2003-09-29 19:50:42
|
I'm having trouble running Module::Build 0.20 tests on a newly
built version of perl 5.8.1 on AIX 4.3. I'm seeing this during a
"Build test" ...
<everything ok up to this point>
t/versions......ok
t/xs............ok 3/11ld: 0706-003 Cannot find or read import
file: $(PERL_INC)/perl.exp
ld:accessx(): A file or directory in the path name does
not exist.
ld: 0706-004 Cannot find or read export file: $(BASEEXT).exp
ld:accessx(): A file or directory in the path name does
not exist.
# Test 4 got: 'error building lib/XSTest.o from 'lib/XSTest.so'
at /usr/local/src/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797.
' (t/xs.t at line 33)
# Expected: ''
# t/xs.t line 33 is: ok $@, '';
t/xs............ok 6/11ld: 0706-003 Cannot find or read import
file: $(PERL_INC)/perl.exp
ld:accessx(): A file or directory in the path name does
not exist.
ld: 0706-004 Cannot find or read export file: $(BASEEXT).exp
ld:accessx(): A file or directory in the path name does
not exist.
error building lib/XSTest.o from 'lib/XSTest.so' at
/usr/local/src/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797.
t/xs............ok 7/11ld: 0706-003 Cannot find or read import
file: $(PERL_INC)/perl.exp
ld:accessx(): A file or directory in the path name does
not exist.
ld: 0706-004 Cannot find or read export file: $(BASEEXT).exp
ld:accessx(): A file or directory in the path name does
not exist.
# Test 8 got: 'error building lib/XSTest.o from 'lib/XSTest.so'
at /usr/local/src/Module-Build-0.20/blib/lib/Module/Build/Base.pm
line 1797.
' (t/xs.t at line 50)
# Expected: ''
# t/xs.t line 50 is: ok $@, '';
t/xs............FAILED tests 4, 8
<...>
I noticed that it's using the literal "$(PERL_INC)/perl.exp" and
"$(BASEEXT).exp" strings during the 'ld' rather than
interpolating them.
At first I thought that I had built perl incorrectly, since these
literal values are in the "perl -V" output for lddlflags (see
below). After looking at the vendor's built-in perl on a
different machine (5.6.0), it appears that 'lddlflags' has these
two values in there as well.
Thanks,
Bart
ba...@la...
=====
Here's the perl -V output...
Summary of my perl5 (revision 5.0 version 8 subversion 1)
configuration:
Platform:
osname=aix, osvers=4.3.3.0, archname=aix-64int
uname='aix foof 3 4 0000f04f4c00 '
config_args='-Dprefix=/usr/local/perl -de -Uinstallusrbinperl
-Ui_db -Dpager=/usr/bin/more -Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN
-q32 -D_LARGE_FILES -qlonglong',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN'
ccversion='5.0.2.0', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=8
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -brtl -L/usr/local/lib -b32'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/usr/local/perl/lib/5.8.1/aix-64int/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE
-bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Built under aix
Compiled at Sep 25 2003 15:55:24
@INC:
/usr/local/perl/lib/5.8.1/aix-64int
/usr/local/perl/lib/5.8.1
/usr/local/perl/lib/site_perl/5.8.1/aix-64int
/usr/local/perl/lib/site_perl/5.8.1
/usr/local/perl/lib/site_perl
.
|