Front page | perl.perl5.porters |
Postings from February 2000
[ID 20000224.002] [PATCH 5.5.660] minitest needs Config.pm
From:
Dominic Dunlop
Date:
February 24, 2000 01:51
Subject:
[ID 20000224.002] [PATCH 5.5.660] minitest needs Config.pm
Message ID:
v04220802b4daaa7f56eb@[192.168.1.4]
To: perlbug@perl.com
Subject:
Reply-To: domo@ppp100.free-internet.lu
This is a bug report for perl from domo@computer.org,
generated with the help of perlbug 1.27 running under perl v5.5.660.
-----------------------------------------------------------------
[Please enter your report here]
For better or worse, miniperl now fails a basic test unless
lib/Config.pm exists:
base/term............Can't locate Config.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/5.5.660/powerpc-machten /usr/local/lib/perl5/5.5.660/usr/local/lib/perl5/site_perl/5.00557/powerpc-machten /usr/local/lib/perl5/site_perl/5.00557 /usr/local/lib/perl5/site_perl/5.00556/powerpc-machten /usr/local/lib/perl5/site_perl/5.00556 /usr/local/lib/perl5/site_perl .) at base/term.t line
10.
BEGIN failed--compilation aborted at base/term.t line 10.
FAILED at test 0
Failed a basic test--cannot continue.
The following patch arranges that configpm is run before the tests are
started. I also changed the comment output by the Makefile so that it
covers cases such as
io/openpid...........Can't load module IO, dynamic loading not available in this perl.
(You may need to build a new perl executable which either supports
dynamic loading or has the IO module statically linked into it.)
at ../lib/IO/Handle.pm line 241
...
A better patch would remove dependencies on Config.pm from the basic
tests. But I don't have time to do that just now.
--- perl5.5.660/Makefile.SH-as-received Sun Feb 20 10:45:15 2000
+++ perl5.5.660/Makefile.SH Thu Feb 24 10:27:00 2000
@@ -759,11 +759,11 @@
test-notty: test-prep
cd t && PERL_SKIP_TTY_TEST=1 $(LDLIBPTH) ./perl TEST
-# Can't depend on lib/Config.pm because that might be where miniperl
+# Too bad we must depend on lib/Config.pm because that might be where miniperl
# is crashing.
-minitest: miniperl lib/re.pm
- @echo "You may see some irrelevant test failures if you have been unable"
- @echo "to build lib/Config.pm."
+minitest: miniperl lib/re.pm lib/Config.pm
+ @echo "You may see some irrelevant test failures because miniperl"
+ @echo "cannot load dynamically linked libraries."
- cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
&& $(LDLIBPTH) ./perl TEST base/*.t comp/*.t cmd/*.t io/*.t op/*.t pragma/*.t </dev/tty
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl v5.5.660:
Configured by domo at Wed Feb 23 17:22:21 WET 2000.
Summary of my perl5 (revision 5.0 version 5 subversion 660) configuration:
Platform:
osname=machten, osvers=4.1.4, archname=powerpc-machten
uname='machten ppp100 5 0.5 powerpc '
config_args='-Doptimize=-g -de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usesocks=undef useperlio=undef d_sfio=undef
use64bits=undef uselargefiles=define usemultiplicity=undef
Compiler:
cc='cc', optimize='-g', gccversion=2.8.1
cppflags='-DNOTDEF_MACHTEN -DREG_INFTY=2047 -DDEBUGGING -I/usr/local/include'
ccflags ='-DNOTDEF_MACHTEN -DREG_INFTY=2047 -DDEBUGGING -I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -Xlstack=1048576 -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-lndbm -lgdbm -ldb -lm -lc
libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
cccdlflags='', lddlflags=''
Locally applied patches:
---
@INC for perl v5.5.660:
lib
/usr/local/lib/perl5/5.5.660/powerpc-machten
/usr/local/lib/perl5/5.5.660
/usr/local/lib/perl5/site_perl/5.00557/powerpc-machten
/usr/local/lib/perl5/site_perl/5.00557
/usr/local/lib/perl5/site_perl/5.00556/powerpc-machten
/usr/local/lib/perl5/site_perl/5.00556
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.5.660:
HOME=/home/domo
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH=/usr/lib
LOGDIR (unset)
PATH=/sbin:/usr/sbin:/home/domo/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11/bin:/usr/libexec
PERL_BADLANG (unset)
SHELL=/bin/bash
--
Dominic Dunlop
-
[ID 20000224.002] [PATCH 5.5.660] minitest needs Config.pm
by Dominic Dunlop