Attention Mac OS X users: Here, at long last, is what all you Mac/Perl-heads have been waiting for. The instructions to get Perl/Tk running on OS X. I now have Genquire on my TiBook and I am very happy with it. Note to developers- mac users make up a sizable percentage of your client base and are ignored at your peril - cf. AceDB! :) Dave Begin forwarded message: > From: Richard Michaud > Date: Sun Feb 10, 2002 09:02:57 PM US/Pacific > To: David Block <dblock@gnf.org> > Subject: Re: Aqua Tcl/Tk > > Dave: > > Still interested in the solution to this? > > We've solved it! The problem is that Apple's Perl installation has a > default setting for the cc command's code optimizer -- this seems to > break > Perl Tk in particular. The solution is to basically set the Config.pm > file > to disable the optimizer. I have Steve Lidie to thank for this. > > If you have the time to tell me about your experience in Java - I'm > looking > to pick it up soon. > > > > Here are the instructions: > > 1) Fetch and install XFree86 4.2.0 (includes XDarwin 1.1). > > http://www.xdarwin.org/ > > 2) Apple's Perl 5.6.0 is already there, w/o threads, and hasn't > changed since Sep 2001. > > 3) Install the Developer package so cc et.al. are available (228 MB). > > 4) Install the modified dynamic loader per: > > http://www.Lehigh.EDU/~sol0/Macintosh/X/ptk/dyld-tk/ > > 5) su - (su to root). If this fails you may need to enable this through > netinfo manager. If your not sure how to do this, let me know. > > 6) If you are using tcsh: setenv DYLD_ALLOW_MULTISYMS > > 7) Edit the /System/Library/Perl/darwin/Config.pm file. > > Change the line that contains the statement: > > optimize = '-O3' > > to: > > optimize = '' > > > localhost% diff Config.pm~ Config.pm > 664c664 > < optimize='-O3' > --- >> optimize='-g' > > 8) Download Tk800.023.tar.gz from cpan. Unzip and untar it. > cd Tk800.023 > perl Makefile.PL > make > make test > make install > > 9) Test by running widget. > > Let me know if you have troubles. > > Regards, > > Rick > > on 2/4/02 11:23 AM, David Block at dblock@gnf.org wrote: > >> Thanks for remembering. 'twill be a good day when it works. Until >> then, I have been turned into a Java programmer (for the gui, >> anyway) :( >> >> Dave >> On Friday, February 1, 2002, at 07:43 PM, Richard Michaud wrote: >> >>> David: >>> >>> I haven't forgotton you. I'm trying to get some action on this so we >>> can >>> make our apps work on OS X. >>> >>> Regards, >>> >>> Rick >>> >>> >>> ------ Forwarded Message >>>> From: Richard Michaud <rmichaud@optonline.net> >>>> Date: Wed, 05 Dec 2001 23:36:02 -0500 >>>> To: David Block <dblock@gnf.org> >>>> Subject: Re: Aqua Tcl/Tk >>>> >>>> I have several Perl/Tk tools in Windows 2000/XP, but nothing on Mac >>>> OS >>>> X...I >>>> would take the time to attempt to compile Perl/Tk, but I've been busy >>>> and >>>> somewhat preoccupied... >>>> >>>> I haven't been very enthusiastic about the results other developers >>>> have >>>> gotten at attempting to port the code. I've seen many messages with >>>> linker >>>> issues preventing further work. >>>> >>>> Sorry I can't be much more help. >>>> >>>> Regards, >>>> >>>> Rick >>>> >>>> on 12/5/01 7:06 PM, David Block at dblock@gnf.org wrote: >>>> >>>>> Rick: >>>>> I'm the other guy who posted to macosx@perl.org about Tk. I too >>>>> have a >>>>> perl/Tk app that I want to run on my Mac (and others' Macs). Do you >>>>> have something running? I'm feeling pretty helpless, since perl >>>>> -MCPAN >>>>> -e shell \n >>>>> install Tk\n >>>>> doesn't work :( >>>>> >>>>> Thanks for anything! >>>>> >>>>> Dave >>>>> >>>>> David Block (858)812-1513 >>>>> Bioinformatics http://www.gnf.org >>>>> dblock@gnf.org Just ridin' the Coaster... >>>>> >>> >>> ------ End of Forwarded Message >>> >>> -- David Block (858)812-1513 Bioinformatics http://www.gnf.org dblock@gnf.org Just ridin' the Coaster... >> >