Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nobody has successfully built Tk.pm on OS X for a year.

56 views
Skip to first unread message

davecortesi

unread,
Aug 16, 2011, 5:12:55 PM8/16/11
to
Nobody has successfully compiled and installed the Tk perl module
version 804.029 on Mac OS X -- probably ever!

What might be called an authoritative report is at ActiveState, in
their Perl Package Manager online index page for Tk (http://
code.activestate.com/ppm/Tk/).

Go to that page and you will see that they have not successfully built
either 804.029 or 804.028 for Perl 5.8, 5.10, 5.12, or 5.14! If
anybody could build it, one would think that the people who maintain
ActiveState's perl repository could do so.

The identical issue was reported to Macports (https://
trac.macports.org/ticket/26152), and at Cpan Testers (http://
www.cpantesters.org/cpan/report/07607682-b19f-3f77-b713-d32bba55d77f)
and other places -- just google for the phrase "-M options are not
allowed" with "Tk".

There is a basic error in the Makefile for the png sub-library, an
invalid combination of gcc options that stops the make cold, "cpan
force install" can't get over it.

I have no idea where this should be reported -- since it has been
reported multiple places multiple times over 15 months with no result,
it appears that perl/Tk is simply dead on the Mac platform and has
been for a year.

shawnhcorey

unread,
Aug 19, 2011, 10:26:17 AM8/19/11
to
On Aug 16, 5:12 pm, davecortesi <davecort...@gmail.com> wrote:
> Nobody has successfully compiled and installed the Tk perl module
> version 804.029 on Mac OS X -- probably ever!

Nor can you install it with `cpan` on linux. And the patch is
available, the Linux distros can create a package and install it via
their package manager(s). Not good if you are using perlbrew to run
the latest and greatest version of perl. A sad state of affairs.

davecortesi

unread,
Aug 20, 2011, 3:13:42 PM8/20/11
to
On Aug 19, 7:26 am, shawnhcorey <shawnhco...@gmail.com> wrote:
> On Aug 16, 5:12 pm, davecortesi <davecort...@gmail.com> wrote:
>
> > Nobody has successfully compiled and installed the Tk perl module
> > version 804.029 on Mac OS X -- probably ever!
>
> Nor can you install it with `cpan` on linux.  And the patch is
> available...

Available where? If I could see the patch code, maybe I could apply it
manually on my system?

I've looked around and don't see where the Perl/Tk source is
maintained.

shawnhcorey

unread,
Aug 20, 2011, 4:32:50 PM8/20/11
to
On Aug 20, 3:13 pm, davecortesi <davecort...@gmail.com> wrote:
> Available where? If I could see the patch code, maybe I could apply it
> manually on my system?
>
> I've looked around and don't see where the Perl/Tk source is
> maintained.

Here: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=33;filename=fix-ftbs.dpatch;att=1;bug=613188

You would have to download the Tk tarball, apply the patch, and
compile it by hand; no cpan. :( I haven't got around to trying this
yet.

davecortesi

unread,
Aug 20, 2011, 6:51:12 PM8/20/11
to
On Aug 20, 1:32 pm, shawnhcorey <shawnhco...@gmail.com> wrote:
> On Aug 20, 3:13 pm, davecortesi <davecort...@gmail.com> wrote:
>
> > Available where? If I could see the patch code, maybe I could apply it
> > manually on my system?
>
> > I've looked around and don't see where the Perl/Tk source is
> > maintained.
>
> Here:  http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=33;filename=fix-ftbs...

>
> You would have to download the Tk tarball, apply the patch, and
> compile it by hand; no cpan.  :(  I haven't got around to trying this
> yet.

Thank you for the pointer. Unfortunately, the bug number you give
(613188- conflicting types for XKeycodeToKeysym) may affect Linux, but
is not the problem that kills the build on OS X.

And the OS X problem -- a fairly simple-looking error in gcc command
parameters in the libpng makefile -- isn't one of the two (2!?) bugs
in the Debian tracker for perl-tk.

shawnhcorey

unread,
Aug 22, 2011, 2:40:42 PM8/22/11
to
On Aug 20, 6:51 pm, davecortesi <davecort...@gmail.com> wrote:
> And the OS X problem -- a fairly simple-looking error in gcc command
> parameters in the libpng makefile -- isn't one of the two (2!?) bugs
> in the Debian tracker for perl-tk.

If you can make libpng, then try looking for bug reports under that
name. Perl/Tk is just one of many packages that use it. Another
would be WxWidgets.

0 new messages