Some, ahem, "interesting anomalies" I have discovered in attempting to build/install Perl/Tk on Mac OS X (10.2.4).
1) There are two versions of Tk "currently" available. The CPAN shell downloads Tk800_24 (circa 17 Mar 2002). I used CPAN shell under Perl 5.6.1 on FreeBSD and installed Perl/Tk successfully and with no errors. All tests ran successfully and I decided to try Mac OS X. 2) I decided to do things "manually" on Mac OS X, as our current desire is to use K.I.S.S., so I decided to forego initializing the CPAN shell... "wrong" decision. The "other" version of Tk (circa 13 Oct 2002) is the closely named Tk804.024. I didn't initially notice that this was not the same version recently installed on FreeBSD by CPAN shell. A major (unexpected) and discombobulating difference in the two distributions is the change from require 5.00404; to require 5.007; in Tk.pm. So much for K.I.S.S. Recommendations solicited from those who have passed this way before: Is it "better" to upgrade to Perl 5.8 (and if so, via CPAN or Nat Torkington's binary) or is it "better to stick with Perl 5.6.0 and the earlier Tk release. When recommending, please keep in mind our desire to satisfy the K.I.S.S. principle (Rich wants to write up installation of Perl/Tk for an article and we don't want to complicate the installation unnecessarily. Options are fine but we want a simple, working, path to start... 3) The next unfortunate problem involves Apple's "unusual" installation of X11R6. Specifically, it appears to be missing a required piece: perl Makefile.PL perl is installed in /System/Library/Perl/darwin okay ... Cannot find X include files via /usr/X11R6/include Cannot find X include files anywhere at ./myConfig line 312. Compilation failed in require at Makefile.PL line 17. Apparently the installation process is looking, specifically, for /usr/X11R6/include (which does exist) as well as for /usr/X11R6/include/X11/Xlib.h (which does not exist) This brings us back to Rich's initial question: At 22:57 -0800 2003-03-06, Rich Morin wrote: >Izzere a way to use Perl/Tk with Apple's own X11 distro? >If not, what has to change? Recommendations gratefully solicited, especially from folks who have successfully installed and can run Perl/Tk with Apple's X11 beta distribution. -- - Vicki Vicki Brown ZZZ Journeyman Sourceror: P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS 94066 USA |,4- ) )-,_. ,\ ( `'-' mailto:[EMAIL PROTECTED] '---''(_/--' `-'\_) http://www.cfcl.com/~vlb