Re: ?Tk on mac- Question from a novice

2005-04-15 Thread Johan Meskens CS3 jmcs3
On 15 Apr 2005, at 20:33, [EMAIL PROTECTED] wrote:

I'm trying to run a perl program my friend has written via komodo on 
his
windows machine however it uses the tk module. Despite a few attempts 
I cant
seem to install this on module on my mac. Any ideas? Am I missing 
something?
Are there issues with Tk.pm on OSX?
Thanks
Anthony

from the master himself:
http://www.lehigh.edu/~sol0/Macintosh/X/ptk/




Re: ?Tk on mac- Question from a novice

2005-04-15 Thread Sherm Pendley
On Apr 15, 2005, at 3:51 PM, John Delacour wrote:
From README.macosx in the Perl distribution (5.8.6):-
« The default of building Perl statically may cause problems with  
complex
applications like Tk: in that case consider building shared Perl

Configure ... -Duseshrplib
but remember that there's a startup cost to pay in that case (see  
above
"libperl and Prebinding"). »

Sherm, who wrote that, may care to elaborate.
Actually, I was just repeating what I'd heard from other sources. I  
always use a shared libperl anyway, and I've never had a need to Tk  
myself. The Perl builds supplied by Apple are linked dynamically  
though, so it's only an issue if you've built your own Perl.

sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Re: ?Tk on mac- Question from a novice

2005-04-15 Thread John Delacour
At 2:33 pm -0400 15/4/05, [EMAIL PROTECTED] wrote:
I'm trying to run a perl program my friend has written via komodo on his
windows machine however it uses the tk module. Despite a few attempts I cant
seem to install this on module on my mac. Any ideas? Am I missing something?
Are there issues with Tk.pm on OSX?
From README.macosx in the Perl distribution (5.8.6):-

« The default of building Perl statically may cause problems with complex
applications like Tk: in that case consider building shared Perl
Configure ... -Duseshrplib
but remember that there's a startup cost to pay in that case (see above
"libperl and Prebinding"). »
Sherm, who wrote that, may care to elaborate.
JD


Re: ?Tk on mac- Question from a novice

2005-04-15 Thread Jay Savage
On 4/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> 
> I'm trying to run a perl program my friend has written via komodo on his
> windows machine however it uses the tk module. Despite a few attempts I cant
> seem to install this on module on my mac. Any ideas? Am I missing something?
> Are there issues with Tk.pm on OSX?
> Thanks
> Anthony
> 


Well, what errors is it giving you?  How are you trying to install it
(cpan, make it yourself)? What version of perl do you have?  Give us
the error messages you're getting.

What jumps immediately to mind is that the latest Tk.pm will only
install under perl 5.8.0+, but Jaguar shipped with 5.6.0.  So you'll
need to update your perl, if you haven't already.

But your problem could be something else entirely.  More info.

HTH,

jay


?Tk on mac- Question from a novice

2005-04-15 Thread anthony . joshua


I'm trying to run a perl program my friend has written via komodo on his 
windows machine however it uses the tk module. Despite a few attempts I cant 
seem to install this on module on my mac. Any ideas? Am I missing something? 
Are there issues with Tk.pm on OSX?
Thanks
Anthony