For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > April 2004 > Perl/Tk Aqua









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Perl/Tk Aqua
Steve Lidie

2004-04-27, 1:51 am

I spent some time over the wend trying to get the Tcl/Tk Mac OS X
Aqua code working with Perl, but with no success. I was able to
integrate the source tree into the distribution and update
..../pTk/Makefile.PL to get the Tcl -> Perl auto-translator
(.../pTk/Tcl-pTk) working. But as Nick might say, there are some snags.

On Panther one can build 2 distinct varieties of wish, X11 and Aqua
(distinguished by the windowingsystem() method). The Aqua build uses a
project and native OS X frameworks and components. Unfortunately I do
not understand this build environment, so I'm running into conflicts
with symbol definitions in the X11 versus the Carbon headers. In other
words, the Perl Makefiles are X11-centric and I do not know how to make
then Aqua-centric for the 20 or so OS X specific files. Complicating
matters is that fact that I cannot even build the Tcl/Tk Aqua project
successfully (8.4.6). That will be just half the battle, then comes ld
and friends.

So, if someone would like to help me in this project, feel free to drop
me a line ... I'll still plod along, but it will be slow going ;)


-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@lists.stanford.edu
Jerry

2004-04-27, 12:14 pm

Steve Lidie <sol0@lehigh.edu> wrote in message news:<D881AD76-97BA-11D8-A26E-000A95BA93C6@lehigh.edu>...
> I spent some time over the wend trying to get the Tcl/Tk Mac OS X
> Aqua code working with Perl, but with no success. I was able to
> integrate the source tree into the distribution and update
> .../pTk/Makefile.PL to get the Tcl -> Perl auto-translator
> (.../pTk/Tcl-pTk) working. But as Nick might say, there are some snags.


This is great news, regrettably all I can offer is moral support. Have you talked
to Dave Steffan and Jim Ingham ( the Aqua Tcl/Tk gurus ) about your problems.

I have been using the Aqua Tcl/Tk package for about a month or so, it is nice
not to have to start X to get a quick GUI app up and running.

--Jerry
Michael T. Doster

2004-04-27, 2:07 pm

Steve,

A friendly warning; even if you do manage to get it to compile, because of
the way Apple's native windowing system works you will have to build a
"tkperl" binary. This is something that came up a few years back on the
tcl-mac mailing list (you may try searching the archives at sourceforge or
I'll see if I have the original message and forward it to you); the
windowing system doesn't like any ole program trying to do graphics work
so the regular perl binary won't cut it.

-- Mike Doster

On Mon, 26 Apr 2004, Steve Lidie wrote:

> I spent some time over the wend trying to get the Tcl/Tk Mac OS X
> Aqua code working with Perl, but with no success. I was able to
> integrate the source tree into the distribution and update
> .../pTk/Makefile.PL to get the Tcl -> Perl auto-translator
> (.../pTk/Tcl-pTk) working. But as Nick might say, there are some snags.
>
> On Panther one can build 2 distinct varieties of wish, X11 and Aqua
> (distinguished by the windowingsystem() method). The Aqua build uses a
> project and native OS X frameworks and components. Unfortunately I do
> not understand this build environment, so I'm running into conflicts
> with symbol definitions in the X11 versus the Carbon headers. In other
> words, the Perl Makefiles are X11-centric and I do not know how to make
> then Aqua-centric for the 20 or so OS X specific files. Complicating
> matters is that fact that I cannot even build the Tcl/Tk Aqua project
> successfully (8.4.6). That will be just half the battle, then comes ld
> and friends.
>
> So, if someone would like to help me in this project, feel free to drop
> me a line ... I'll still plod along, but it will be slow going ;)
>
>
> -++**==--++**==--++**==--++**==--++**==--++**==--++**==
> This message was posted through the Stanford campus mailing list
> server. If you wish to unsubscribe from this mailing list, send the
> message body of "unsubscribe ptk" to majordomo@lists.stanford.edu
>
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com