I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-08-10 00:22:36-07 by johnlumby
problems compiling Perl::Tk 804.028 on AIX 5.3
I recently found some problems compiling Perl::Tk 804.028 on AIX 5.3 - all concerning the libpng : mainly use of variable jmpbuf conflict with AIX use of same name (actually AIX #define 's jmpbuf to __jmpbuf), and also miscellaneous other compilation errors, and also failure to build libpng.a (not clear if intentional or not - PNG/README says "If you don't already have libpng then you can install it from there, but this process is not automated." but I don't see why it should not be) I don't know if these are known or not (don't see how to search in this subforum) - anyway I fixed all these for my environment and if you wish I can attach my patch file (where?) John
Direct Responses: 11278 | Write a response
Posted on 2009-08-11 18:13:27-07 by philipl in response to 11259
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
John, Would you mind if you could share your patch file for AIX? We, too, ran into an issue with building Perl::TK 804.028 on AIX 5.3 with respect to libpng.a You can either cut and paste your patch file in a continuing thread or email to pliu@ci.com Thanks in advance for all your help. Phil
Direct Responses: 11285 | Write a response
Posted on 2009-08-12 13:29:47-07 by johnlumby in response to 11278
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
I tried pasting it here for all to see but this mailposter has told me Text format is not correct. Most likely you need to replace... and will not let me post it I have emailed it to you and can email to others on request
Direct Responses: 11329 | 12881 | Write a response
Posted on 2009-08-19 20:43:07-07 by philipl in response to 11285
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
Hi John, Today we had the opportunity to try out the fix that you were so kind to share with us. It works like a charm !!!!! One thing we did notice though is the "perl Makefile.PL" command after applying your patch file generates the following messages: perl Makefile.PL . . . Checking for mmap support... Yes. Finding dependencies for PNG.xs Finding dependencies for imgPNG.c Missing ')' trailing: L) && defined(PNG_MAX_MALLOC_64K) at /work/server-build/CGI/Tk-804.028/Tk/MakeDepend.pm line 104, <libpng/pngconf.h> line 1423. Writing Makefile for Tk::PNG Did you encounter a similar message? Thanks a lot for your help. Much appreciated. Regards, Phil pliu@ci.com
Direct Responses: 11337 | Write a response
Posted on 2009-08-20 17:48:15-07 by johnlumby in response to 11329
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
Hi Philip, glad to hear it worked ok. Yes, I saw the same message. It might look like something went wrong but in fact (at least by my reading of that referenced MakeDepend.pm file at line 104) it is just a warning. It is checking syntax of PNG/libpng/pngconf.h and gets confused by this line
#if (PNG_ZBUF_SIZE > 65536L) && defined(PNG_MAX_MALLOC_64K)
but it is harmless. (And I *think* is not related to my fixes although you never know).
Direct Responses: 13033 | Write a response
Posted on 2010-08-16 07:25:21.795345-07 by hammerbeam in response to 11285
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
This thread seems to be the same problem that I'm having.... /usr/opt/Tk-804.028/PNG/libpng make: 1254-002 Cannot find a rule to create target libpng.a from dependencies. Can you email the patch? Thanks, Steve Ellsworth steve.ellsworth@gmail.com
Direct Responses: Write a response
Posted on 2010-10-29 06:51:44.034576-07 by annwoy in response to 11337
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
Please send me the patch - I need it too badly. My email id - ghatak@email.chop.edu
Direct Responses: 13036 | Write a response
Posted on 2010-10-29 11:32:45.712422-07 by annwoy in response to 13033
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
I received patch and applied the patch. It worked like a charm!
Direct Responses: 13051 | Write a response
Posted on 2010-11-12 01:55:24.978077-08 by zilux in response to 13036
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
Can you send me to patch. I really need it !
Direct Responses: 13052 | Write a response
Posted on 2010-11-13 06:34:50.32913-08 by johnlumby in response to 13051
Re: problems compiling Perl::Tk 804.028 on AIX 5.3
Gabor explained how to upload my patch and it is here https://rt.cpan.org/Public/Bug/Display.html?id=62966
Direct Responses: Write a response