Subject: | Install of Tk via -MCPAN fails |
On Slackware 10.0 (all slackware patches applied) as root in KDE 3.2.3 desktop environment.
Refuses to install with -MCPAN -e 'install Tk' because of failed tests. Following steps to manually build and install, captured the following output from make test with LANG=us_EN:
cd pTk && make DEFINE=""
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/pTk'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/pTk'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/pTk'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/pTk'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/pod'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/pod'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/demos'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/demos'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Xlib'
make[2]: Entering directory `/root/.cpan/build/Tk-804.027/Xlib/X'
make[2]: Leaving directory `/root/.cpan/build/Tk-804.027/Xlib/X'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Xlib'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/WinPhoto'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/WinPhoto'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Tixish'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Tixish'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TixPixmap'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TixPixmap'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TixGrid'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TixGrid'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TextList'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TextList'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Text'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Text'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TList'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TList'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Scrollbar'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Scrollbar'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Scale'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Scale'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/PNG'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/PNG'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/NBFrame'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/NBFrame'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Mwm'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Mwm'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Menubutton'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Menubutton'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Listbox'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Listbox'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/JPEG'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/JPEG'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/InputO'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/InputO'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/IO'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/IO'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/HList'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/HList'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Event'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Event'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Entry'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Entry'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/DragDrop'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/DragDrop'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Compound'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Compound'
make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Canvas'
make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Canvas'
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.4 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/JP.t t/KR.t t/Require.t t/Trace.t t/X.t t/after.t t/autoload.t t/balloon.t t/browseentry-grabtest.t t/browseentry-subclassing.t t/browseentry.t t/browseentry2.t t/button.t t/create.t t/cursor.t t/dash.t t/dialogbox.t t/entry.t t/fbox.t t/fileevent.t t/fileselect.t t/font.t t/fork.t t/geomgr.t t/iso8859-1.t t/leak.t t/list.t t/listbox.t t/listvar.t t/magic.t t/mega.t t/mwm.t t/optmenu.t t/photo.t t/pixmap.t t/progbar.t t/regexp.t t/slaves.t t/trace1.t t/widget.t t/wm-time.t t/wm.t t/zzHList.t t/zzPhoto.t t/zzScrolled.t t/zzText.t t/zzTixGrid.t
t/after......................ok
t/autoload...................ok
t/balloon....................ok
t/browseentry-grabtest.......ok
t/browseentry-subclassing....ok
t/browseentry................ok
t/browseentry2...............ok
t/button.....................ok
t/create.....................ok
t/cursor.....................ok
t/dash.......................ok
t/dialogbox..................ok
t/entry......................ok
15/336 skipped: various reasons
t/fbox.......................ok
t/fileevent..................ok
t/fileselect.................ok
t/font.......................ok
t/fork.......................ok
t/geomgr.....................ok
t/iso8859-1..................ok
t/JP.........................skipped
all skipped: locale's 'iso-8859-1' cannot represent Japanese.
t/KR.........................skipped
all skipped: locale's 'iso-8859-1' cannot represent Korean.
t/leak.......................ok
t/list.......................ok
t/listbox....................ok
4/437 skipped: various reasons, 3/437 unexpectedly succeeded
t/listvar....................ok
t/magic......................ok
t/mega.......................ok
t/mwm........................ok
t/optmenu....................ok
t/photo......................ok
4/100 skipped: various reasons
t/pixmap.....................ok
t/progbar....................ok
t/regexp.....................ok
t/Require....................ok
t/slaves.....................ok
t/Trace......................ok
t/trace1.....................ok
t/widget.....................ok
t/wm-time....................ok
t/wm.........................ok
t/X..........................ok
t/zzHList....................ok
t/zzPhoto....................ok
t/zzScrolled.................FAILED tests 66, 94
Failed 2/94 tests, 97.87% okay
t/zzText.....................ok
t/zzTixGrid..................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/zzScrolled.t 94 2 2.13% 66 94
(3 subtests UNEXPECTEDLY SUCCEEDED), 2 tests and 23 subtests skipped.
Output from perl -V is:
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=linux, osvers=2.4.26, archname=i486-linux
uname='linux midas 2.4.26 #6 wed apr 14 16:31:11 pdt 2004 i686 unknown unknown gnulinux '
config_args='-de -Dprefix=/usr -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Doptimize=-O2 -march=i486 -mcpu=i686 -Dinc_version_list=5.8.3 5.8.2 5.8.1 5.8.0 -Darchname=i486-linux'
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=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -march=i486 -mcpu=i686',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at May 26 2004 11:50:03
@INC:
/usr/lib/perl5/5.8.4/i486-linux
/usr/lib/perl5/5.8.4
/usr/lib/perl5/site_perl/5.8.4/i486-linux
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl
.
Notes:
/usr/bin/cc is symbolic link to gcc
Perl configuration is as distributed by Slackware.
In CPAN testor report 138074, Tk install is successful so perhaps the problem is somehow related to the way Perl is configured???