It seems like I have followed all the instructions to get Tk working on my mac powerbook and it still fails. I have all the mac patches, the development kit installed, recompiled perl 5.8.4, have Xdarwin installed and I added the X libs to my path, but Tk fails to compile on versions 24 and 27. HELP! The output is abreviated.

Here is the output for 24...

[blackfoot /usr/local/src/Tk800.024] sudo perl Makefile.PL ]perl is installed in /usr/lib/perl5/5.8.4/darwin okay PPM for perl5.008004 ... Test Compiling -DTIMEOFDAY_TZ config/tod.c TZ gettimeofday() Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.dylib Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h Generating Dependencies for darwin, win_arch=x ... Writing Makefile for Tk [blackfoot /usr/local/src/Tk800.024] sudo make cd pTk && make DEFINE="" ... /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" ../blib/script/wi +dget Unrecognized switch: --center (-h will show valid options). make[1]: *** [manifypods] Error 255 make: *** [subdirs] Error 2
Here is the output for 27...
[/usr/local/src/Tk-804.027] sudo perl Makefile.PL perl is installed in /usr/lib/perl5/5.8.4/darwin okay ... Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.dylib Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h XFT not requested .... No HASH(0x3fa5ac) at ./Makefile.PL line 132 ... checking for gcc... cc checking whether the C compiler (cc -pipe -fno-common -DPERL_DARWIN -n +o-cpp-precomp -fno-strict-aliasing -I/usr/local/include -pipe -fno- +common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/loca +l/include -flat_namespace -L/usr/local/lib) works... yes checking whether the C compiler (cc -pipe -fno-common -DPERL_DARWIN -n +o-cpp-precomp -fno-strict-aliasing -I/usr/local/include -pipe -fno- +common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/loca +l/include -flat_namespace -L/usr/local/lib) is a cross-compiler... n +o checking whether we are using GNU C... yes checking how to run the C preprocessor... cc -E .... Writing Makefile for Tk::IO [/usr/local/src/Tk-804.027] sudo make cd pTk && make DEFINE="" .... + /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" ../blib/script/wi +dget Unrecognized switch: --center (-h will show valid options). make[1]: *** [manifypods] Error 255 make: *** [subdirs] Error 2

edit (broquaint): added <code> tags and a <readmore>


In reply to Mac OS X 10.2 and Tk by blackfoot

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.