Cant install Tcl::Tk
[email protected] (Richard Hainsworth) Wed, 15 Jan 2014 20:06:17 +0800
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <[email protected]> |
Dear Vadim, On running cpan to get Tcl::Tk , cpan reports an error and requests the author be informed. I've tried repeatedly to install TCL::Tk. I want to use BLT. Below is the print out using cpan. I have Ubuntu 13.10 I have tried installing Tcl with synaptic, but there isnt an ubuntu package for Tcl::Tk. Also there is a library installed with BLT already and it can be accessed with tcl. I want to access BLT through Perl so that I can supply data. <cpan response follows> Module id = Tcl::Tk DESCRIPTION Complete access to Tk *via Tcl* CPAN_USERID MICB (Malcolm Beattie <[email protected]>) CPAN_VERSION 1.04 CPAN_FILE V/VK/VKON/Tcl-Tk-1.04.tar.gz UPLOAD_DATE 2011-02-20 DSLIP_STATUS RdcO? (released,developer,C,object-oriented,) INST_FILE (not installed) cpan[2]> install Tcl::Tk Running install for module 'Tcl::Tk' Running make for V/VK/VKON/Tcl-Tk-1.04.tar.gz Fetching with LWP: ftp://cpan.rinet.ru/pub/mirror/CPAN/authors/id/V/VK/VKON/Tcl-Tk-1.04.tar.gz Checksum for /home/richard/.local/share/.cpan/sources/authors/id/V/VK/VKON/Tcl-Tk-1.04.tar.gz ok Scanning cache /home/richard/.local/share/.cpan/build for sizes ............................................................................DONE CPAN.pm: Building V/VK/VKON/Tcl-Tk-1.04.tar.gz Checking if your kit is complete... Warning: the following files are missing in your kit: demos/tcltkdb.pm Please inform the author. Warning: prerequisite Tcl 0.98 not found. Generating a Unix-style Makefile Writing Makefile for Tcl::Tk Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- VKON/Tcl-Tk-1.04.tar.gz ---- Tcl [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Tcl' Running make for V/VK/VKON/Tcl-1.02.tar.gz Checksum for /home/richard/.local/share/.cpan/sources/authors/id/V/VK/VKON/Tcl-1.02.tar.gz ok 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/richard/.local/share/.cpan/build/Tcl-1.02-vhO3kN/tcl-core/linux-x86_64 Generating a Unix-style Makefile Writing Makefile for Tcl Writing MYMETA.yml and MYMETA.json cp Tcl.pm blib/lib/Tcl.pm Running Mkbootstrap for Tcl () chmod 644 Tcl.bs /usr/bin/perl /usr/local/share/perl/5.14.2/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/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 -fstack-protector -fno-strict-aliasing -pipe -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.14/CORE" -DUSE_TCL_STUBS Tcl.c Tcl.xs: In function ‘NpLoadLibrary’: Tcl.xs:216:3: warning: format not a string literal and no format arguments [-Wformat-security] warn(error); ^ Tcl.xs: In function ‘NpInitialize’: Tcl.xs:402:3: warning: format not a string literal and no format arguments [-Wformat-security] warn(error); ^ rm -f blib/arch/auto/Tcl/Tcl.so cc -shared -L/usr/local/lib -fstack-protector Tcl.o -o blib/arch/auto/Tcl/Tcl.so \ -L/home/richard/.local/share/.cpan/build/Tcl-1.02-vhO3kN/tcl-core/linux-x86_64 -ltclstub8.4 \ chmod 755 blib/arch/auto/Tcl/Tcl.so /usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- Tcl.bs blib/arch/auto/Tcl/Tcl.bs 644 Manifying blib/man3/Tcl.3pm VKON/Tcl-1.02.tar.gz /usr/bin/make -- OK Running make test Running Mkbootstrap for Tcl () chmod 644 Tcl.bs PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/call.t ........... ok t/constants.t ...... ok t/createcmd.t ...... ok t/eval.t ........... ok t/export_to_tcl.t .. ok t/info.t ........... ok t/result.t ......... ok t/subclass.t ....... ok t/trace.t .......... ok t/unicode.t ........ ok t/var.t ............ ok All tests successful. Files=11, Tests=62, 1 wallclock secs ( 0.07 usr 0.01 sys + 0.19 cusr 0.05 csys = 0.32 CPU) Result: PASS VKON/Tcl-1.02.tar.gz /usr/bin/make test -- OK Running make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl/5.14.2/auto/Tcl/Tcl.so Installing /usr/local/lib/perl/5.14.2/Tcl.pm Appending installation info to /usr/lib/perl/5.14/perllocal.pod VKON/Tcl-1.02.tar.gz /usr/bin/make install -- OK Running make for V/VK/VKON/Tcl-Tk-1.04.tar.gz Has already been unwrapped into directory /home/richard/.local/share/.cpan/build/Tcl-Tk-1.04-2tDOWV CPAN.pm: Building V/VK/VKON/Tcl-Tk-1.04.tar.gz cp lib/Tcl/Tk.pm blib/lib/Tcl/Tk.pm cp lib/Tcl/Tk/Widget/Text.pm blib/lib/Tcl/Tk/Widget/Text.pm cp lib/Tcl/Tk/Widget/Balloon.pm blib/lib/Tcl/Tk/Widget/Balloon.pm Manifying blib/man3/Tcl::Tk.3pm VKON/Tcl-Tk-1.04.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/after.t ....... ok t/canvas.t ...... ok t/geomgr.t ...... ok t/optmenu.t ..... ok t/photo.t ....... skipped: no Img extension available (can't find package Img at /home/richard/.local/share/.cpan/build/Tcl-Tk-1.04-2tDOWV/blib/lib/Tcl/Tk.pm line 733. t/ptk-compat.t .. ok t/text.t ........ can't find package widget::scrolledwindow at /home/richard/.local/share/.cpan/build/Tcl-Tk-1.04-2tDOWV/blib/lib/Tcl/Tk.pm line 794. t/text.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t/tk-mw.t ....... ok t/unicode.t ..... ok t/zzPhoto.t ..... skipped: no Img extension available Test Summary Report ------------------- t/text.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. Files=10, Tests=56, 14 wallclock secs ( 0.10 usr 0.00 sys + 1.24 cusr 0.17 csys = 1.51 CPU) Result: FAIL Failed 1/10 test programs. 0/56 subtests failed. make: *** [test_dynamic] Error 255 VKON/Tcl-Tk-1.04.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports VKON/Tcl-Tk-1.04.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: VKON/Tcl-Tk-1.04.tar.gz : make_test NO cpan[3]>