Thread

Posted on Fri Jan 19 04:43:22 2007 by rockmetoo
Perl Tk module installation Problem in FreeBSD
Hello Guys, i really amazed why Perl Tk module could'nt install in my FreeBSD 5.3-RELEASE STUFF i did perl -MCPAN -e shell then install Tk ........after a lot of work my stuff give me the following message and stopped........... t/leak.......................ok t/list.......................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/list.t line 6 t/list.......................dubious Test returned status 61 (wstat 15616, 0x3d00) t/listbox....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/listbox.t line 52 t/listbox....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-437 Failed 437/437 tests, 0.00% okay t/listvar....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/listvar.t line 7 t/listvar....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-18 Failed 18/18 tests, 0.00% okay t/magic......................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/magic.t line 9 t/magic......................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/mega.......................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/mega.t line 16 t/mega.......................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-8 Failed 8/8 tests, 0.00% okay t/mwm........................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/mwm.t line 18 t/mwm........................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/optmenu....................NOK 3# Test 3 got: "couldn't connect to display \":0\" at /root/.cpan/ +build/Tk-804.027/blib/lib/Tk/MainWindow.pm line 55.\nTk::MainWindow->new() at t/optmenu.t line 18\ +n" (t/optmenu.t at line 19) # Expected: "" (can't create MainWindow) # t/optmenu.t line 19 is: ok($@, "", "can't create MainWindow"); t/optmenu....................NOK 4# Test 4 got: "" (t/optmenu.t at line 20) # Expected: "1" (MainWindow creation failed) # t/optmenu.t line 20 is: ok(Tk::Exists($mw), 1, "MainWindow creation failed"); Can't call method "Optionmenu" on an undefined value at t/optmenu.t line 26. t/optmenu....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 3-24 Failed 22/24 tests, 8.33% okay t/photo......................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/photo.t line 14 t/photo......................dubious Test returned status 61 (wstat 15616, 0x3d00) t/pixmap.....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/pixmap.t line 28 t/pixmap.....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/progbar....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/progbar.t line 9 t/progbar....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-15 Failed 15/15 tests, 0.00% okay t/regexp.....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/regexp.t line 6 # Looks like your test died before it could output anything. t/regexp.....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-21 Failed 21/21 tests, 0.00% okay t/Require....................ok t/slaves.....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/slaves.t line 7 t/slaves.....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-12 Failed 12/12 tests, 0.00% okay t/Trace......................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/Trace.t line 7 t/Trace......................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay t/trace1.....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/trace1.t line 9 t/trace1.....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-17 Failed 17/17 tests, 0.00% okay t/widget.....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/widget.t line 8 t/widget.....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay t/wm-time....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/wm-time.t line 26 # Looks like your test died before it could output anything. t/wm-time....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t/wm.........................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. MainWindow->new() at t/wm.t line 25 # Looks like your test died before it could output anything. t/wm.........................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/X..........................ok t/zzHList....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/zzHList.t line 10 t/zzHList....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-23 Failed 23/23 tests, 0.00% okay t/zzPhoto....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/zzPhoto.t line 8 t/zzPhoto....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-27 Failed 27/27 tests, 0.00% okay t/zzScrolled.................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/zzScrolled.t line 9 t/zzScrolled.................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-94 Failed 94/94 tests, 0.00% okay t/zzText.....................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/zzText.t line 9 t/zzText.....................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-22 Failed 22/22 tests, 0.00% okay t/zzTixGrid..................couldn't connect to display ":0" at /root/.cpan/build/Tk-804.027/blib/ +lib/Tk/MainWindow.pm line 55. Tk::MainWindow->new() at t/zzTixGrid.t line 12 t/zzTixGrid..................dubious Test returned status 61 (wstat 15616, 0x3d00) DIED. FAILED tests 1-33 Failed 33/33 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/Trace.t 61 15616 7 14 200.00% 1-7 t/after.t 255 65280 6 12 200.00% 1-6 t/autoload.t 61 15616 5 10 200.00% 1-5 t/balloon.t 61 15616 10 20 200.00% 1-10 t/browseentry-grabtest.t 61 15616 1 2 200.00% 1 t/browseentry-subclassing.t 61 15616 2 4 200.00% 1-2 t/browseentry.t 61 15616 15 22 146.67% 3-15 t/browseentry2.t 61 15616 6 12 200.00% 1-6 t/button.t 255 65280 3 6 200.00% 1-3 t/create.t 528 212 40.15% 2-3 6 16 26 36 46 56 66 76 86 96 106 116 126 136 146 156 166 176 186 196 206 216 226 236 246 256 266 276 286 296 306 316 326 336 346 354-528 t/cursor.t 61 15616 7 14 200.00% 1-7 t/dash.t 61 15616 ?? ?? % ?? t/dialogbox.t 61 15616 8 12 150.00% 3-8 t/entry.t 61 15616 336 672 200.00% 1-336 t/fbox.t 61 15616 6 8 133.33% 3-6 t/fileevent.t 61 15616 1 2 200.00% 1 t/fileselect.t 61 15616 5 6 120.00% 3-5 t/font.t 61 15616 13 26 200.00% 1-13 t/fork.t 61 15616 1 2 200.00% 1 t/geomgr.t 61 15616 19 38 200.00% 1-19 t/iso8859-1.t 61 15616 96 192 200.00% 1-96 t/list.t 61 15616 ?? ?? % ?? t/listbox.t 61 15616 437 874 200.00% 1-437 t/listvar.t 61 15616 18 36 200.00% 1-18 t/magic.t 61 15616 1 2 200.00% 1 t/mega.t 61 15616 8 16 200.00% 1-8 t/mwm.t 61 15616 2 4 200.00% 1-2 t/optmenu.t 61 15616 24 42 175.00% 3-24 t/photo.t 61 15616 ?? ?? % ?? t/pixmap.t 61 15616 1 2 200.00% 1 t/progbar.t 61 15616 15 30 200.00% 1-15 t/regexp.t 255 65280 21 42 200.00% 1-21 t/slaves.t 61 15616 12 24 200.00% 1-12 t/trace1.t 61 15616 17 34 200.00% 1-17 t/widget.t 61 15616 7 14 200.00% 1-7 t/wm-time.t 255 65280 6 12 200.00% 1-6 t/wm.t 255 65280 1 2 200.00% 1 t/zzHList.t 61 15616 23 46 200.00% 1-23 t/zzPhoto.t 61 15616 27 54 200.00% 1-27 t/zzScrolled.t 61 15616 94 188 200.00% 1-94 t/zzText.t 61 15616 22 44 200.00% 1-22 t/zzTixGrid.t 61 15616 33 66 200.00% 1-33 2 tests and 245 subtests skipped. Failed 42/47 test scripts, 10.64% okay. 1518/1940 subtests failed, 21.75% okay. *** Error code 61 Stop in /root/.cpan/build/Tk-804.027. /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Direct Responses: 4089 | Write a response
Posted on Fri Jan 19 04:58:48 2007 by vkon in response to 4088
Re: Perl Tk module installation Problem in FreeBSD
1. you wrote for Tcl::Tk CPAN module, which is not the same as perl/Tk, so you choosed wrong discussion section 2. obviously you need to have X11 running during running test suite, so either start X11 or use "--force" option to ignore test result
Write a response