The Lehigh Link seems to have gone away.  
Does anyone have this archived ?

-----Original Message-----
From: aaron [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 11:42 AM
To: MacOSX Perl
Subject: Re: Perl/Tk on Mac os X


I tried this out and it works great!! Thanks for all of your help.

-Aaron

On Wednesday 03 April 2002 11:33 am, Rick Frankel wrote:
> On Wed, Apr 03, 2002 at 09:57:48AM -0500, aaron wrote:
> > Hi All,
> >     Does anyone have any updated information on perl/Tk for OS X?  Most
of
> > my stuff at work uses perl/Tk and I was over-joyed to install Tk on my
> > Mac.  To my chagrin it crashes exactly like described below.  Is there
an
> > OS X -compatible version available now?  Does anyone know what causes
> > this problem?  I'm assuming it's a C thing...
>
> Whoops. I guess I should have followed up on this...
>
> Anyway, via macintouch comes this link:
>
> http://www.lehigh.edu/~sol0/Macintosh/X/ptk/
>
> the short of it is that -03 optimization breaks perl/tk. Here's the
> relevant excerpt from the above on the solution:
>
> *  Install the modified dynamic loader per
> http://www.lehigh.edu/Macintosh/X/ptk/dyld-tk. * Now compile Tk800.023.
The
> caveat: you cannot use -O3, which is the default, determined from how Perl
> itself was compiled. Here's the trick as described by Michael Doster (who
> made the dyld mods described above):
>
> Under the pTk source directory edit the file Tk/MMutil.pm.
> In the subroutine cflags make the following change at the end:
>
>  $_ .= "\nOPTIMIZE=\n";
>  $_;
> } # end subroutine cflags.
>
>
> BTW, personally tested and used (I can't live w/o -d:ptkdb :)
>
> rick

Reply via email to