Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl Tk and MacOS X

by rah (Monk)
on Jun 04, 2002 at 04:35 UTC ( [id://171407]=perlquestion: print w/replies, xml ) Need Help??

rah has asked for the wisdom of the Perl Monks concerning the following question:

Anyone had any luck getting Perl/Tk to build under MacOS X?

I 've found many threads with tips on how to build. Even one from the original developer that said he had found the problem, but no indication of when/if it might be fixed. I've tried all the suggestions found without success. Any ideas?

TIA,
-rah

Replies are listed 'Best First'.
Re: Perl Tk and MacOS X
by rob_au (Abbot) on Jun 04, 2002 at 05:04 UTC
Re: Perl Tk and MacOS X
by Steve_p (Priest) on Jun 04, 2002 at 12:58 UTC
    From what I heard last, Tk is not a priority for Apple to get running. The problem is that they would have to support two Tks: one for X and one for Cocoa. There is a lot of complaints in the Python community regarding this as well. I might add, however, that the X Windows versions of Tk apparently work, so if you don't mind work with XonX, you can get it to work.
Re: Perl Tk and MacOS X
by jonknee (Monk) on Jun 04, 2002 at 15:43 UTC
    When I asked this same question a few months ago I was pointed to Camel Bones. It allows you to make Aqua programs in Perl! It seems pretty neat but I was never able to get anything to compile (others on this site have however). Good luck! -Jonathan Gales
      There are some interesting issues with CamelBones apps. You basically have to build them about three or four times in a row before things are properly compiled. Dunno why, but that's the way it works at the moment.
Aqua Tk
by bill_mcgonigle (Acolyte) on Jun 04, 2002 at 16:36 UTC
    Apple actually is (slowly) supporting the creation of an Aqua Tk.
    Somebody needs to write a perl interface for it...
      Thanks all for the suggestions, but I really want "X" Tk, not Aqua or CamelBones, etc. We just had a thread recently, where many espoused the virtues of OS X as a perl development platform. Here's a case where I'd like to be able to use OS X to develop perl Tk I will deploy on UNIX, but can't. Building an Aqua GUI brings me no closer to my goal.

      The Darwin development community has done a great job bringing "X" to OS X. Rootless X works great. There are nice Window Managers available. I thought this would be a realtively straight forward build with a fully functional X-windows install, but my attempts to build Perl Tk look like they failed for realtively simple reasons (looked like a recursion in an atempt to link a shared library). I can't find it. Apparently I am simpler than the bug. The author acknowledged the problem and said a fix would come out, but no sign. I was hoping someone here may have figured a way around this problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://171407]
Approved by DaWolf
Front-paged by DaWolf
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-12-12 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (65 votes). Check out past polls.