Posted on 2009-04-04 02:40:47-07 by pompinasee
Unable to install Tk (SREZIC-Tk-804.028) on Mac OS X 10.5.6
Hi, I ran the Tk installation from CPAN tool. It failed a few tests. I'm hesitant to 'force install' until I get a nod from the experts. Below is output from the testing phase of installation. (I deleted all 'ok' tests.) Also, the recommended command to see cpan-testers results didn't work, as seen at the bottom. Am I okay to force-install? Thanks, Chap
Running make test cd pTk && make DEFINE="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O3" PREFIX="/usr/local +" PASTHRU_DEFINE="" PASTHRU_INC="" cd zlib && make libz.a "CC=cc " RANLIB="/usr/bin/ar ts" make[2]: `libz.a' is up to date. make all-am make[3]: Nothing to be done for `all-am'. make[2]: Nothing to be done for `all'. cd jpeg && make libjpeg.a make[2]: `libjpeg.a' is up to date. make[2]: Nothing to be done for `all'. /usr/bin/perl "-It" "-MTkTest" "-MExtUtils::Command::MM" "-e" "check_display_harness; test_harness( +0, 'blib/lib', 'blib/arch')" t/00wmcheck.t t/JP.t t/KR.t t/Require.t t/Tkxs.t t/Trace.t t/X.t t/ad +juster.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-tcl.t t/button.t t/canvas.t t/canvas2.t t/coloreditor.t t +/create.t t/cursor.t t/dash.t t/dialogbox.t t/dirtree.t t/entry.t t/exefiles.t t/fbox.t t/fileeven +t.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/list +var.t t/magic.t t/mega.t t/msgbox.t t/mwm.t t/optmenu.t t/photo.t t/pixmap.t t/progbar.t t/propert +y.t t/regexp.t t/slaves.t t/table.t t/text.t t/trace1.t t/unicode.t t/widget.t t/wm-tcl.t t/wm-tim +e.t t/wm.t t/zzHList.t t/zzPhoto.t t/zzScrolled.t t/zzText.t t/zzTixGrid.t t/00wmcheck.t ................ 1/1 # # Tk platform: unix # X11 server: X11R0 The X.Org Foundation 10300000 # window manager: <unknown> (property _NET_SUPPORTING_WM_CHECK exists, but getting _NET_WM_NAME fai +ls) # version: <unknown> # XFT: no t/00wmcheck.t ................ ok [***snip***] t/canvas.t ................... 1/158 # Failed test at t/canvas.t line 235. # got: '255' # expected: '215' # Looks like you failed 1 test of 158. t/canvas.t ................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/158 subtests t/canvas2.t .................. ok t/coloreditor.t .............. 1/8 # Failed test 'The object isa Tk::Listbox' # at t/coloreditor.t line 32. # The object isn't defined Can't call method "get" on an undefined value at t/coloreditor.t line 34. # Looks like you planned 8 tests but ran 3. # Looks like you failed 1 test of 3 run. # Looks like your test exited with 255 just after 3. t/coloreditor.t .............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/8 subtests [***snip***] t/font.t ..................... 1/34 Font Courier -12 still in cache. [***snip***] t/text.t ..................... 1/415 Stack moved 33f8d0 => 33f8d4 [***snip***] t/wm-tcl.t ................... 154/315 # Failed test 'attempting to resize to a value bigger than the current maxsize' # at t/wm-tcl.t line 1116. # got: '200' # expected: '300' # Failed test at t/wm-tcl.t line 1118. # got: '200' # expected: '250' t/wm-tcl.t ................... 308/315 # Looks like you failed 2 tests of 315. t/wm-tcl.t ................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/315 subtests (less 43 skipped subtests: 270 okay) (21 TODO tests unexpectedly succeeded) t/wm-time.t .................. # Start update 2 # . update 0.00405 2 t/wm-time.t .................. 1/? # .label update 0.00694 1 # Start Popup 2 # .toplevel Popup 0.00391 2 # .toplevel.label Popup 0.016 1 # Start withdraw 0 # Start Popup Again 2 # .toplevel Popup Again 0.00554 2 # .toplevel.label Popup Again 0.00828 1 # Start destroy 0 [***snip***] Test Summary Report ------------------- t/canvas.t (Wstat: 256 Tests: 158 Failed: 1) Failed test: 84 Non-zero exit status: 1 t/coloreditor.t (Wstat: 65280 Tests: 3 Failed: 1) Failed test: 3 Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 3. t/listbox.t (Wstat: 0 Tests: 539 Failed: 0) TODO passed: 320-322, 328 t/text.t (Wstat: 0 Tests: 415 Failed: 0) TODO passed: 121 t/wm-tcl.t (Wstat: 512 Tests: 315 Failed: 2) Failed tests: 158-159 TODO passed: 86, 154-155, 164-165, 221-224, 237-239 264-265, 275-276, 280-283, 300 Non-zero exit status: 2 t/zzScrolled.t (Wstat: 0 Tests: 94 Failed: 0) TODO passed: 52, 66, 80, 94 Files=62, Tests=4246, 73 wallclock secs ( 0.95 usr 0.39 sys + 14.96 cusr 2.33 csys = 18.63 CPU) Result: FAIL Failed 3/62 test programs. 4/4246 subtests failed. make: *** [test_dynamic] Error 255 SREZIC/Tk-804.028.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SREZIC/Tk-804.028.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: SREZIC/Tk-804.028.tar.gz : make_test NO cpan[5]> <b>reports SREZIC/Tk-804.028.tar.gz</b> Distribution: S/SR/SREZIC/Tk-804.028.tar.gz CPAN::DistnameInfo not installed; cannot continue cpan[6]>
Direct Responses: 10460 | Write a response
Posted on 2009-04-09 05:56:07-07 by eserte in response to 10422
Re: Unable to install Tk (SREZIC-Tk-804.028) on Mac OS X 10.5.6
Yeah, I think you're safe to use force. Most of the failures are rather hamrless and won't affect working with Perl/Tk under normal circumstances. Some if not all of these issues are already solved in the development version of Tk.
Regards, Slaven
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.