<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 21, 2008, at 12:00 PM,&nbsp;Mojca Miklavec&nbsp;wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">On Sun, Jul 20, 2008 at 9:15 PM, George N. White III wrote:<br><blockquote type="cite">On Sun, Jul 20, 2008 at 3:40 PM, Artemio Gonzalez Lopez wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">"tlmgr --gui update" (or any other action, for that matter) makes perl<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">crash &nbsp;with a bus error in Mac OS X 10.5.4 (on my 3.06 GHz iMac, running the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">TeXLive 2008-07-18 distribution updated via rsync); see the crash report<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">below for more details. FWIW, the perl/tk distribution I'm using was<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">installed via MacPorts (it's the p5-tk package).<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I also get a bus error from "tlmgr --gui" on OS X 10.5.4 using perl5 from<br></blockquote><blockquote type="cite">macports, but have not had time to investigate. &nbsp;&nbsp;I did, however, see some<br></blockquote><blockquote type="cite">failed tests with p5-tk, and the crash report also points to Tk, so when<br></blockquote><blockquote type="cite">I do get time I want to run the Perl::Tk tests again. &nbsp;&nbsp;It may be some<br></blockquote><blockquote type="cite">small comfort to know that your pain is shared by others.<br></blockquote><br>I still have OS X 10.4 and Perl/Tk (and consequently TL installer)<br>works here, though it was a pain installing it. (I had to install X11,<br>which already comes with 10.5, and I forgot what I did to install<br>other perl bindings, but I probably did it with fink, by manually<br>running some CPAN installs and with some other tricks to make external<br>libraries work.)<br><br>I suspect that there's a problem with your system (not implying that<br>it's your fault, just a slightly broken package)<br><br>Try if this hello world works. If it crashes, you need to blame your<br>installation, but I have no idea where to start looking for the fault.<br>If it doesn't ... well ... then I'm even more confused.<br><br>#!/usr/bin/perl<br><br>use Tk;<br>use strict;<br>use warnings;<br><br>my $mw = new MainWindow;<br>$mw-&gt;title( 'Hello' );<br><br>$mw-&gt;Label( -text =&gt; 'Hello World' )-&gt;pack;<br>$mw-&gt;Button( -text =&gt; "Done", -command =&gt; sub { exit } )-&gt;pack;<br><br>MainLoop;<br><br><br>Mojca<br></span></blockquote></div><div><br></div><div><br></div><div>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:</div><div><br></div><div><div>p5-tk 804.028, perl/p5-tk (Variants: universal)</div><div><a href="http://search.cpan.org/dist/Tk/">http://search.cpan.org/dist/Tk/</a></div><div>Library Dependencies: perl5.8, tk, p5-term-readkey</div></div><div><br></div><div>Does this makes sense as a viable Perl-Tk distribution, or is&nbsp;something&nbsp;else needed?</div><div><br></div><div>Thanks again,</div><div><br></div><div>Artemio</div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Artemio Gonzalez-Lopez</p></div></div></div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">email:<span class="Apple-converted-space">&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span><a href="mailto:artemio@fis.ucm.es">artemio@fis.ucm.es</a></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">URL:<span class="Apple-converted-space">&nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;<a href="http://jacobi.fis.ucm.es/artemio">http://jacobi.fis.ucm.es/artemio</a></span></span></font></p></div><br class="Apple-interchange-newline"></span></div></span><br class="Apple-interchange-newline"> </div><br></body></html>