eserte / perl-tk

the perl module Tk
https://metacpan.org/release/Tk
Other
44 stars 31 forks source link

PathEntry wont build perl 5.18 onwards #23

Open glenntanner3 opened 8 years ago

glenntanner3 commented 8 years ago

Hi guys; looks like whatever system change AS made is also affecting the ability for PathEntry to build. I use this in several of my scripts, is there anyway y'all can help get this resolved?

https://code.activestate.com/ppm/Tk-PathEntry/

Thanks.

asb-capfan commented 8 years ago

Actually, ActiveState recently fixed the Perl/Tk issues. So here is what happened and why the module isn't built:

So, all you have to do is to release a new version. I recently used this fact to increase the http://cpants.cpanauthors.org/kwalitee of some of my Tk modules because of this.

Luckily, Klaus is a nice guy. So feel free to contact him and maybe immediately add a patch to his module. Maybe you could even find out why MetaCPAN doesn't know the module at all.

glenntanner3 commented 8 years ago

Thank you. I actually did email him previously and I appreciate the resolution steps provided and have passed them along with the MetaCPAN question on to him.

Do you have a guide for making a Tk build system? I thought it was MinGW based not VS, based on some guide I found so I think I can toss that to the wind.

Regards, Glenn Tanner 404-913-3854

On Thu, Apr 14, 2016 at 2:34 PM, Alex notifications@github.com wrote:

Actually, ActiveState recently fixed the Perl/Tk issues. So here is what happened and why the module isn't built:

  • with Perl 5.18, ActiveState switched to MinGW (instead of Visual Studio) to build Perl
  • on 2014-03-18 an automated build system tried to compile the module. As it relies on Perl/Tk, it first tried to build Perl/Tk. Unfortunately, since the switch to MinGW, Perl/Tk did not build anymore.
  • some weeks ago, ActiveState fixed the build process for Perl/Tk. All new module releases will be built again using the automated build bot

So, all you have to do is to release a new version. I recently used this fact to increase the http://cpants.cpanauthors.org/kwalitee of some of my Tk modules because of this.

Luckily, Klaus is a nice guy. So feel free to contact him and maybe immediately add a patch to his module. Maybe you could even find out why MetaCPAN doesn't know the module at all.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/eserte/perl-tk/issues/23#issuecomment-210091237

asb-capfan commented 8 years ago

I'm sorry, I personally do not know anything about building C code (that's why I learned Perl). ActiveState Perl is the only Perl I know of that was compiled using VS. And since Perl 5.18, this is history.

Using Strawberry Perl, you can build Perl/Tk out of the box (AFAIK). And there is also some PPM repositories where you can get a precompiled Perl/TK ppd file, such as http://www.bribes.org/perl/ppmdir.html.

I collected some information here: http://www.perltk.de/tk_widgets/howto_install_perl_tk_win.html If you don't know German, you'll have to use Google Translate :-)