in reply to Re: Re: 2D realtime pixel graphics options in Perl
in thread 2D realtime pixel graphics options in Perl

I tried installing the Perl Tk Zinc (from the CPAN) on OSX (panther 10.3). No go, no matter how hard I tried. Anyone have any help for me?

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Perl-Tk-Zinc on OSX (was Re: Re: Re: 2D realtime pixel graphics options in Perl)

Replies are listed 'Best First'.
Re: Perl-Tk-Zinc on OSX (was Re: Re: Re: 2D realtime pixel graphics options in Perl)
by Anonymous Monk on Mar 01, 2004 at 14:59 UTC
    Which version of perl/Tk do you use ? TkZinc 3.2.96 do not work with perl/Tk 804; Try perl/Tk 800.024, it should work.

    Feel free to ask for help if anything go wrong. The perl package is not the best asset of TkZinc ;-)

    The TkZinc mailing list is at: zinc@tls.cena.fr

    Patrick Lecoanet

      Thanks for the response... The answer is "804.025" -- aka "latest"!

      I know little of Tk's guts (nor do I want to know), so I doubt I'll be able to fix this on my own... Since most folks would be able to upgrade Perl/Tk, I'd think it makes more sense to support 804 rather than the old stuff -- if a choice has to be made. Ideally it should work for both...

        Since most folks would be able to upgrade Perl/Tk

        Well this clearly depends on which people you are talking about... Most of (known) Tk::Zinc users are using linux distribution with packages (either debian or mandrake) and most of them are using stable release (e.g. mandrake 9.2 or debian woody).

        As they developped much software with Tk::Zinc it is not so easy for them to switch to a new release of Perl or Perl/Tk specially if these new version are not packaged.

        This explains why we have been quite conservative.

        According to Patrick, upgrading Tk::Zinc to Perl/Tk 804 can be hardly done without breaking compatibility with Perl/Tk 800. So there is clearly a dilemna for Patrick and current users...

        Any suggestions of any wise brother ?

        NB: we should modify the readme to document this. We should also modify Makefile.PL dependencies to make it explicit.

Re: Perl-Tk-Zinc on OSX (was Re: Re: Re: 2D realtime pixel graphics options in Perl)
by flyingmoose (Priest) on Mar 01, 2004 at 05:44 UTC
    What kind of errors are you getting? I have a lot of redefintions and then stuff like this:

    WidgetInfo.h:271: error: syntax error before "Arg" WidgetInfo.h:271: warning: no semicolon at end of struct or union WidgetInfo.h:284: error: syntax error before '}' token

    Arg is evidentally a struct inside an ifdef Perl/Tk block. Evidentally someone is expecting the wrong version of Tk (or equivalent) I'll email the author/maintainer tomorrow if I remember!

    The Component looks extra spiffy (even for non-air-traffic-control-applications!), so it would be nice to see it working!

      As you mentionned in the initial thread, Yes, Tk::Zinc is not easy enough to install. The reasons are that it uses some external librairies (mainly the openGL) all together with perl/tk. And such modules are not very frequent on the CPAN neither easy to build.

      We definitely appreciate any help, either for building it with perl on windows / OSX, buuilinding it wqioth newer realese of perl/Tk (8.4) or on any other aspect.

      The best would be to contact Patrick Lecoanet, the author.