Skip Menu |

This queue is for tickets about the Tcl CPAN distribution.

Report information
The Basics
Id: 73215
Status: resolved
Priority: 0/
Queue: Tcl

People
Owner: VKON [...] cpan.org
Requestors: crimsonbinome22 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.02
Fixed in: (no value)



Subject: make test fails on ubuntu 10.04
Trying to install tcl on 10.04 ubuntu with cpan gives lots of make test errors, something to do with not being able to find the Tcl dll. build.log attached. That build log was generated under perl 5.10.1, but I've tried installing it under perl 5.14.1 with perlbrew and I get the same errors.
Subject: build.log
CPAN: File::HomeDir loaded ok (v0.98) CPAN: Storable loaded ok (v2.30) Reading '/home/crimson/.cpan/Metadata' Database was generated on Mon, 12 Dec 2011 23:27:16 GMT Running install for module 'Tcl' Running make for V/VK/VKON/Tcl-1.02.tar.gz CPAN: Digest::SHA loaded ok (v5.63) CPAN: Compress::Zlib loaded ok (v2.045) Checksum for /home/crimson/.cpan/sources/authors/id/V/VK/VKON/Tcl-1.02.tar.gz ok CPAN: Archive::Tar loaded ok (v1.82) Tcl-1.02/ Tcl-1.02/tcl-core/ Tcl-1.02/tcl-core/solaris-sparc/ Tcl-1.02/tcl-core/solaris-sparc/libtclstub8.4.a Tcl-1.02/tcl-core/hpux-parisc/ Tcl-1.02/tcl-core/hpux-parisc/libtclstub8.4.a Tcl-1.02/tcl-core/aix/ Tcl-1.02/tcl-core/aix/libtclstub8.4.a Tcl-1.02/tcl-core/linux-x86_64/ Tcl-1.02/tcl-core/linux-x86_64/libtclstub8.4.a Tcl-1.02/tcl-core/include/ Tcl-1.02/tcl-core/include/tcl.h Tcl-1.02/tcl-core/include/tclDecls.h Tcl-1.02/tcl-core/include/tclPlatDecls.h Tcl-1.02/tcl-core/solaris-x86/ Tcl-1.02/tcl-core/solaris-x86/libtclstub8.4.a Tcl-1.02/tcl-core/linux-ia64/ Tcl-1.02/tcl-core/linux-ia64/libtclstub8.4.a Tcl-1.02/tcl-core/hpux-ia64/ Tcl-1.02/tcl-core/hpux-ia64/libtclstub8.4.a Tcl-1.02/tcl-core/darwin-universal/ Tcl-1.02/tcl-core/darwin-universal/libtclstub8.4.a Tcl-1.02/tcl-core/win32-x64/ Tcl-1.02/tcl-core/win32-x64/tclstub84.lib Tcl-1.02/tcl-core/linux-i686/ Tcl-1.02/tcl-core/linux-i686/libtclstub8.4.a Tcl-1.02/tcl-core/win32-x86/ Tcl-1.02/tcl-core/win32-x86/tclstub84.lib Tcl-1.02/tclcfg.tcl Tcl-1.02/README Tcl-1.02/Tcl.xs Tcl-1.02/typemap Tcl-1.02/META.yml Tcl-1.02/Changes Tcl-1.02/Makefile.PL Tcl-1.02/Tcl.pm Tcl-1.02/MANIFEST Tcl-1.02/t/ Tcl-1.02/t/trace.t Tcl-1.02/t/unicode.t Tcl-1.02/t/info.t Tcl-1.02/t/result.t Tcl-1.02/t/createcmd.t Tcl-1.02/t/eval.t Tcl-1.02/t/export_to_tcl.t Tcl-1.02/t/subclass.t Tcl-1.02/t/call.t Tcl-1.02/t/constants.t Tcl-1.02/t/var.t CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.112150) CPAN: Module::CoreList loaded ok (v2.18) CPAN.pm: Building V/VK/VKON/Tcl-1.02.tar.gz LIBS = -Ltcl-core/linux-x86_64 -ltclstub8.4 INC = -Itcl-core/include DEFINE = -DUSE_TCL_STUBS Checking if your kit is complete... Looks good Warning: -Ltcl-core/linux-x86_64 changed to -L/home/crimson/.cpan/build/Tcl-1.02-oKX8B0/tcl-core/linux-x86_64 Writing Makefile for Tcl Writing MYMETA.yml and MYMETA.json cp Tcl.pm blib/lib/Tcl.pm /usr/bin/perl /usr/local/share/perl/5.10.1/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Tcl.xs > Tcl.xsc && mv Tcl.xsc Tcl.c Please specify prototyping behavior for Tcl.xs (see perlxs manual) cc -c -Itcl-core/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" -fPIC "-I/usr/lib/perl/5.10/CORE" -DUSE_TCL_STUBS Tcl.c Tcl.xs: In function ‘NpLoadLibrary’: Tcl.xs:216: warning: format not a string literal and no format arguments Tcl.xs: In function ‘NpInitialize’: Tcl.xs:402: warning: format not a string literal and no format arguments Running Mkbootstrap for Tcl () chmod 644 Tcl.bs rm -f blib/arch/auto/Tcl/Tcl.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector Tcl.o -o blib/arch/auto/Tcl/Tcl.so \ -L/home/crimson/.cpan/build/Tcl-1.02-oKX8B0/tcl-core/linux-x86_64 -ltclstub8.4 \ chmod 755 blib/arch/auto/Tcl/Tcl.so cp Tcl.bs blib/arch/auto/Tcl/Tcl.bs chmod 644 blib/arch/auto/Tcl/Tcl.bs Manifying blib/man3/Tcl.3pm VKON/Tcl-1.02.tar.gz /usr/bin/make -- OK CPAN: YAML loaded ok (v0.77) Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/call.t line 6. BEGIN failed--compilation aborted at t/call.t line 6. t/call.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/constants.t line 8. BEGIN failed--compilation aborted at t/constants.t line 8. t/constants.t ...... Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/createcmd.t line 1. BEGIN failed--compilation aborted at t/createcmd.t line 1. t/createcmd.t ...... Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/eval.t line 1. BEGIN failed--compilation aborted at t/eval.t line 1. t/eval.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/export_to_tcl.t line 5. BEGIN failed--compilation aborted at t/export_to_tcl.t line 5. t/export_to_tcl.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 4/4 subtests NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/info.t line 8. BEGIN failed--compilation aborted at t/info.t line 8. t/info.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/result.t line 1. BEGIN failed--compilation aborted at t/result.t line 1. t/result.t ......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/subclass.t line 10. t/subclass.t ....... Dubious, test returned 2 (wstat 512, 0x200) Failed 4/4 subtests NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/trace.t line 1. BEGIN failed--compilation aborted at t/trace.t line 1. t/trace.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/unicode.t line 14. BEGIN failed--compilation aborted at t/unicode.t line 14. t/unicode.t ........ Dubious, test returned 2 (wstat 512, 0x200) No subtests run NpLoadLibrary: could not find Tcl dll Failed to load Tcl dll! at /usr/lib/perl/5.10/DynaLoader.pm line 216. Unable to initialize Tcl at /usr/lib/perl/5.10/DynaLoader.pm line 216. Compilation failed in require at t/var.t line 1. BEGIN failed--compilation aborted at t/var.t line 1. t/var.t ............ Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/call.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/constants.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/createcmd.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/eval.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/export_to_tcl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 0. t/info.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/result.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/subclass.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 0. t/trace.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/unicode.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/var.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=11, Tests=0, 0 wallclock secs ( 0.07 usr 0.03 sys + 0.21 cusr 0.06 csys = 0.37 CPU) Result: FAIL Failed 11/11 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 2 VKON/Tcl-1.02.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports VKON/Tcl-1.02.tar.gz Running make install make test had returned bad status, won't install without force
On Mon Dec 12 19:06:48 2011, crimsonbinome22 wrote: Show quoted text
> Trying to install tcl on 10.04 ubuntu with cpan gives lots of make test > errors, something to do with not being able to find the Tcl dll. > build.log attached. > > That build log was generated under perl 5.10.1, but I've tried > installing it under perl 5.14.1 with perlbrew and I get the same errors.
is your system has "tcl" installed? i.e. you should have "libtcl8.5.so" somewhere in your LD path. Better yet, you should be able to run "tclsh" from command line (or "wish"). Although Makefile.PL checks for "tcl" availability, it could be that we need adjusting it to cover more cases.
Any news? the issue have gone, I guess?
From: crimsonbinome22 [...] gmail.com
On Sun Jan 08 06:08:59 2012, VKON wrote: Show quoted text
> Any news? > the issue have gone, I guess?
Yeah it has, not sure what I did but seems to work okay now. Thanks :)