Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 5692
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: cy200 [...] postmaster.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 804.025_beta16
Fixed in: (no value)



Subject: Tk-804.025_beta16 can't install on OS X

Message body is not shown because it is too large.

Subject: Re: [cpan #5692] Tk-804.025_beta16 can't install on OS X
To: bug-Tk [...] rt.cpan.org
Date: Wed, 17 Mar 2004 14:04:18 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=5692 > > >Hiya, > >I'm a relative novice at installing perl modules, so I apologise if I'm doing something stupid... > >I'm attempting to install Tk on OSX 10.3.3 >The version of perl I'm using is v5.8.1-RC3
Steve uses OSX so I know it "works" on some version or other. Show quoted text
> >Initially I tried installing Tk-804.025_beta16 using: > >sudo perl -MCPAN -e "install Tk" > >This seems to go fine until it starts the "make test" when it starts to fail tests left right and centre. (see below for error messages). > >Failed 43/46 test scripts, 6.52% okay. 2082/2504 subtests failed, 16.85% okay. > >Am I doing something wrong? >
Show quoted text
x>
Show quoted text
>Here are the multitudinous error messages from the 804.025_beta16 installation using MCPAN > >PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/JP.t t/KR.t t/Require.t t/Trace.t t/X.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.t t/create.t t/cursor.t t/dash.t t/dialogbox.t t/entry.t t/fbox.t t/fileevent.t t/fileselect.t t/font.t t/geomgr.t t/iso8859-1.t t/leak.t t/list.t t/listbox.t t/listvar.t t/magic.t t/mega.t t/mwm.t t/optmenu.t t/photo.t t/pixmap.t t/progbar.t t/regexp.t t/slaves.t t/trace1.t t/widget.t t/wm-time.t t/wm.t t/zzHList.t t/zzPhoto.t t/zzScrolled.t t/zzText.t t/zzTixGrid.t >t/after......................couldn't connect to display ":0" at /Users/cy200/.cpan/build/Tk-804.025_beta16/blib/lib/Tk/MainWindow.pm line 55.
^^^^^^^^^^^^ This may be a 'sudo' thing, by Tk is a GUI application. It needs to be able to connect to your X server or it will fail catastropically. Show quoted text
> >So, I tried installing both 800.024 and 800.15 by dowloading and
Why does nobody ever try Tk-800.025 ? Show quoted text
> >perl Makefile.PL >sudo make > >800.024 gives me the errror message at this stage: > >In file included from /usr/include/sys/event.h:154, > from /usr/include/sys/select.h:71, > from tkUnixPort.h:56, > from tkPort.h:42, > from Xlib_f.c:1: >/usr/include/mach/mach.h:79: parse error before '->' token >make[1]: *** [Xlib_f.o] Error 1 >make: *** [pTk/libpTk.a] Error 2
Try 800.025 - if I recall correctly it had some OSX tweaks for this.
From: cy200 [...] postmaster.co.uk
Thanks for your comments. I've tried following your suggestions, which solved some of my naive problems, however I still can't install any version of Tk. [nick.ing-simmons@elixent.com - Wed Mar 17 09:04:23 2004]: Show quoted text
> This may be a 'sudo' thing, by Tk is a GUI application. It needs to > be able to connect to your X server or it will fail catastropically.
Ah, I tried installing in X11 rather than from Darwin and most of the tests passed fine. Sadly not all of them, and the installation failed. t/regexp.....................NOK 10# Failed test (t/regexp.t at line 47) # got: undef # expected: '4.5' t/regexp.....................NOK 11# Failed test (t/regexp.t at line 48) # got: '0' # expected: '3' t/regexp.....................ok 21/21# Looks like you failed 2 tests of 21. t/regexp.....................dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 10-11 Failed 2/21 tests, 90.48% okay .. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------ - t/regexp.t 2 512 21 2 9.52% 10-11 (3 subtests UNEXPECTEDLY SUCCEEDED), 23 subtests skipped. Failed 1/46 test scripts, 97.83% okay. 2/2618 subtests failed, 99.92% okay. Show quoted text
> Try 800.025 - if I recall correctly it had some OSX tweaks > for this.
I tried 800.025, still got this error message after the make In file included from /usr/include/sys/event.h:154, from /usr/include/sys/select.h:71, from tkUnixPort.h:56, from tkPort.h:42, from Xlib_f.c:1: /usr/include/mach/mach.h:79: parse error before '->' token {standard input}:unknown:FATAL:can't create output file: Xlib_f.o make[1]: *** [Xlib_f.o] Error 1 make: *** [pTk/libpTk.a] Error 2 Thanks Chihiro
CC: bug-Tk [...] rt.cpan.org
Subject: Re: [cpan #5692] Tk-804.025_beta16 can't install on OS X
To: Steve Lidie <sol0 [...] Lehigh.EDU>
Date: Fri, 19 Mar 2004 08:41:48 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=5692 >
Steve can you advise on Darwin install issues? Show quoted text
> >Thanks for your comments. > >I've tried following your suggestions, which solved some of my naive problems, however I >still can't install any version of Tk. > >[nick.ing-simmons@elixent.com - Wed Mar 17 09:04:23 2004]: >
>> This may be a 'sudo' thing, by Tk is a GUI application. It needs to >> be able to connect to your X server or it will fail catastropically.
> >Ah, I tried installing in X11 rather than from Darwin and most of the tests passed fine. >Sadly not all of them, and the installation failed. > >t/regexp.....................NOK 10# Failed test (t/regexp.t at line 47) ># got: undef ># expected: '4.5' >t/regexp.....................NOK 11# Failed test (t/regexp.t at line 48) ># got: '0' ># expected: '3' >t/regexp.....................ok 21/21# Looks like you failed 2 tests of 21. >t/regexp.....................dubious > Test returned status 2 (wstat 512, 0x200) >DIED. FAILED tests 10-11 > Failed 2/21 tests, 90.48% okay > >.. > >Failed Test Stat Wstat Total Fail Failed List of Failed >------------------------------------------------------------------------------ >- >t/regexp.t 2 512 21 2 9.52% 10-11 > (3 subtests UNEXPECTEDLY SUCCEEDED), 23 subtests skipped. >Failed 1/46 test scripts, 97.83% okay. 2/2618 subtests failed, 99.92% okay. >
>> Try 800.025 - if I recall correctly it had some OSX tweaks >> for this.
> >I tried 800.025, still got this error message after the make > >In file included from /usr/include/sys/event.h:154, > from /usr/include/sys/select.h:71, > from tkUnixPort.h:56, > from tkPort.h:42, > from Xlib_f.c:1: >/usr/include/mach/mach.h:79: parse error before '->' token >{standard input}:unknown:FATAL:can't create output file: Xlib_f.o >make[1]: *** [Xlib_f.o] Error 1 >make: *** [pTk/libpTk.a] Error 2 > >Thanks > >Chihiro
Later releases install fine on MacOSX.