[tex-live] tex-live Digest, Vol 66, Issue 45

George N. White III gnwiii at gmail.com
Tue Jul 22 01:22:53 CEST 2008


On Mon, Jul 21, 2008 at 3:10 PM, Artemio Gonzalez Lopez
<artemio at fis.ucm.es> wrote:
>
> On Jul 21, 2008, at 12:00 PM, Mojca Miklavec wrote:
>
> On Sun, Jul 20, 2008 at 9:15 PM, George N. White III wrote:
>
> On Sun, Jul 20, 2008 at 3:40 PM, Artemio Gonzalez Lopez wrote:
>
> "tlmgr --gui update" (or any other action, for that matter) makes perl
>
> crash  with a bus error in Mac OS X 10.5.4 (on my 3.06 GHz iMac, running the
>
> TeXLive 2008-07-18 distribution updated via rsync); see the crash report
>
> below for more details. FWIW, the perl/tk distribution I'm using was
>
> installed via MacPorts (it's the p5-tk package).
>
> I also get a bus error from "tlmgr --gui" on OS X 10.5.4 using perl5 from
>
> macports, but have not had time to investigate.   I did, however, see some
>
> failed tests with p5-tk, and the crash report also points to Tk, so when
>
> I do get time I want to run the Perl::Tk tests again.   It may be some
>
> small comfort to know that your pain is shared by others.
>
> I still have OS X 10.4 and Perl/Tk (and consequently TL installer)
> works here, though it was a pain installing it. (I had to install X11,
> which already comes with 10.5, and I forgot what I did to install
> other perl bindings, but I probably did it with fink, by manually
> running some CPAN installs and with some other tricks to make external
> libraries work.)
>
> I suspect that there's a problem with your system (not implying that
> it's your fault, just a slightly broken package)
>
> Try if this hello world works. If it crashes, you need to blame your
> installation, but I have no idea where to start looking for the fault.
> If it doesn't ... well ... then I'm even more confused.
>
> #!/usr/bin/perl
>
> use Tk;
> use strict;
> use warnings;
>
> my $mw = new MainWindow;
> $mw->title( 'Hello' );
>
> $mw->Label( -text => 'Hello World' )->pack;
> $mw->Button( -text => "Done", -command => sub { exit } )->pack;
>
> MainLoop;
>
>
> Mojca
>
>
> Thanks a lot everybody for your almost instant help. Mojca, I did run your
> "hello world" perl/tk script, and it indeed crashed with a bus error, so I
> guess my Perl/Tk distribution is somehow broken. As I said, I installed
> Perl/Tk via MacPort's p5-tk package, whose info says the following:
> p5-tk 804.028, perl/p5-tk (Variants: universal)
> http://search.cpan.org/dist/Tk/
> Library Dependencies: perl5.8, tk, p5-term-readkey
> Does this makes sense as a viable Perl-Tk distribution, or is something else
> needed?

It appears that some bug in p5-tk needs to be fixed, but at present I
don't have
time to look into the problem -- it is easier to stick with the
command-line mode,
which does work.  The next step is to prepare a bug report for macports ( I did
check, and there isn't a current bug filed against p5-tk).

-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia


More information about the tex-live mailing list