[tcltk-perl] Re: FAIL Tcl-Tk-0.81 ppc-linux 2.4.19-4a
Brought to you by:
hobbs
From: Vadim K. <va...@vk...> - 2004-05-10 08:07:28
|
All errors below are due to Tcl/Tk installation to be not fully complete. Tour Tcl/Tk installation can not find Tk package from within tclsh. Namely, inside that installation directory .../tk8.4/ should contain a file named 'pkgIndex.tcl' If you'll feed "package require Tk" to "tclsh" you'll see this error. We did not fully decided on what solution must be - either just warn user in Makefile.PL and refuse to go forward, or trying to mimic that file during procesing... CTCa> Below is the error stack during 'make test': CTCa> PERL_DL_NONLAZY=1 /usr/local/perl-5.8.4/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t CTCa> t/after.........can't find package Tk at /home/alian/.cpanplus/5.8.4/build/Tcl-Tk-0.81/blib/lib/Tcl/Tk.pm line 704. CTCa> dubious CTCa> Test returned status 255 (wstat 65280, 0xff00) CTCa> DIED. FAILED tests 1-6 CTCa> Failed 6/6 tests, 0.00% okay CTCa> t/geomgr........can't find package Tk at /home/alian/.cpanplus/5.8.4/build/Tcl-Tk-0.81/blib/lib/Tcl/Tk.pm line 704. CTCa> dubious CTCa> Test returned status 255 (wstat 65280, 0xff00) CTCa> DIED. FAILED tests 1-14 CTCa> Failed 14/14 tests, 0.00% okay CTCa> t/optmenu.......# Test 1 got: 'can't find package Tk at /home/alian/.cpanplus/5.8.4/build/Tcl-Tk-0.81/blib/lib/Tcl/Tk.pm line 704. CTCa> ' (t/optmenu.t at line 15) CTCa> # Expected: '' (can't create MainWindow) CTCa> # t/optmenu.t line 15 is: ok($@, "", "can't create MainWindow"); CTCa> # Test 2 got: '0' (t/optmenu.t at line 16) CTCa> # Expected: '1' (MainWindow creation failed) CTCa> # t/optmenu.t line 16 is: ok(Tcl::Tk::Exists($mw), 1, "MainWindow creation failed"); CTCa> Can't call method "Optionmenu" on an undefined value at t/optmenu.t line 22. CTCa> dubious CTCa> Test returned status 255 (wstat 65280, 0xff00) CTCa> DIED. FAILED tests 1-20 CTCa> Failed 20/20 tests, 0.00% okay CTCa> t/photo.........can't find package Tk at /home/alian/.cpanplus/5.8.4/build/Tcl-Tk-0.81/blib/lib/Tcl/Tk.pm line 704. CTCa> dubious CTCa> Test returned status 255 (wstat 65280, 0xff00) CTCa> t/ptk-compat....# Test 1 got: 'can't find package Tk at /home/alian/.cpanplus/5.8.4/build/Tcl-Tk-0.81/blib/lib/Tcl/Tk.pm line 704. CTCa> ' (t/ptk-compat.t at line 15) CTCa> # Expected: '' (can't create MainWindow) CTCa> # t/ptk-compat.t line 15 is: ok($@, "", "can't create MainWindow"); CTCa> # Test 2 got: '0' (t/ptk-compat.t at line 16) CTCa> # Expected: '1' (MainWindow creation failed) CTCa> # t/ptk-compat.t line 16 is: ok(Tcl::Tk::Exists($mw), 1, "MainWindow creation failed"); CTCa> Can't call method "Frame" on an undefined value at t/ptk-compat.t line 19. CTCa> dubious CTCa> Test returned status 255 (wstat 65280, 0xff00) CTCa> DIED. FAILED tests 1-5 CTCa> Failed 5/5 tests, 0.00% okay CTCa> t/text..........can't find package Tk at /home/alian/.cpanplus/5.8.4/build/Tcl-Tk-0.81/blib/lib/Tcl/Tk.pm line 704. CTCa> dubious CTCa> Test returned status 255 (wstat 65280, 0xff00) CTCa> DIED. FAILED test 1 CTCa> Failed 1/1 tests, 0.00% okay CTCa> t/zzPhoto.......can't find package Tk at /home/alian/.cpanplus/5.8.4/build/Tcl-Tk-0.81/blib/lib/Tcl/Tk.pm line 704. CTCa> dubious CTCa> Test returned status 255 (wstat 65280, 0xff00) CTCa> DIED. FAILED tests 1-13 CTCa> Failed 13/13 tests, 0.00% okay CTCa> Failed Test Stat Wstat Total Fail Failed List of Failed CTCa> ------------------------------------------------------------------------------- CTCa> t/after.t 255 65280 6 12 200.00% 1-6 CTCa> t/geomgr.t 255 65280 14 28 200.00% 1-14 CTCa> t/optmenu.t 255 65280 20 38 190.00% 1-20 CTCa> t/photo.t 255 65280 ?? ?? % ?? CTCa> t/ptk-compat.t 255 65280 5 8 160.00% 1-5 CTCa> t/text.t 255 65280 1 2 200.00% 1 CTCa> t/zzPhoto.t 255 65280 13 26 200.00% 1-13 CTCa> Failed 7/7 test scripts, 0.00% okay. 59/59 subtests failed, 0.00% okay. CTCa> make: *** [test_dynamic] Error 2 CTCa> Additional comments: CTCa> -- CTCa> Summary of my perl5 (revision 5 version 8 subversion 4) configuration: CTCa> Platform: CTCa> osname=linux, osvers=2.4.19-4a, archname=ppc-linux CTCa> uname='linux triton.alianet 2.4.19-4a #1 wed jun 5 01:34:59 edt 2002 ppc unknown ' CTCa> config_args='-des -Dprefix=/usr/local/perl-5.8.4/' CTCa> hint=recommended, useposix=true, d_sigaction=define CTCa> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef CTCa> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef CTCa> use64bitint=undef use64bitall=undef uselongdouble=undef CTCa> usemymalloc=n, bincompat5005=undef CTCa> Compiler: CTCa> cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', CTCa> optimize='-O1', CTCa> cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' CTCa> ccversion='', gccversion='2.95.4 20010319 (prerelease/franzo/20011204)', gccosandvers='' CTCa> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 CTCa> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 CTCa> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 CTCa> alignbytes=8, prototype=define CTCa> Linker and Libraries: CTCa> ld='cc', ldflags =' -L/usr/local/lib' CTCa> libpth=/usr/local/lib /lib /usr/lib CTCa> libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc CTCa> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc CTCa> libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a CTCa> gnulibc_version='2.2.5' CTCa> Dynamic Linking: CTCa> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' CTCa> cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' -- Best regards, Vadim mailto:vko...@pe... |