Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Help with Imager::File::PNG

by pvaldes (Chaplain)
on Aug 28, 2013 at 13:27 UTC ( #1051282=note: print w/ replies, xml ) Need Help??


in reply to Help with Imager::File::PNG

Trying to understand the question...

"I'm editing some source code for a script. The guy who programmed it used Tk::PNG and Imager::File::PNG to make the icons for the items in the inventory, since the games uses .tga files with alpha channels.

My problem is that I downloaded zlib and libpng (the first link on each page, marked "Setup") and installed them to C:\Program Files\GnuWin32. Now when I try to use CPAN in the command prompt, I type "install Imager::File::PNG", and I get this."

... Warning (mostly harmless): No library found for -lpng PNG: building independently PNG: Generic: includes not found - libraries not found PNG: v1.6: includes not found - libraries not found PNG: v1.5: includes not found - libraries not found PNG: v1.4: includes not found - libraries not found PNG: v1.2: includes not found - libraries not found PNG: v1.0: includes not found - libraries not found PNG: base (+libz): includes not found - libraries not found PNG: v1.6 (+libz): includes not found - libraries not found PNG: v1.5 (+libz): includes not found - libraries not found PNG: v1.4 (+libz): includes not found - libraries not found PNG: v1.2 (+libz): includes not found - libraries not found PNG: v1.0 (+libz): includes not found - libraries not found PNG: Checking if the compiler can find them on its own
OS unsupported: PNG libraries or headers not found
PNG: Test code failed: Can't link/include 'png.h', 'stdio.h', 'png' Warning: No success on command[C:\Perl-5.16\bin\perl.exe Makefile.PL] TONYC/Imager-File-PNG-0.89.tar.gz C:\Perl-5.16\bin\perl.exe Makefile.PL -- NOT OK Running make test Make had some problems, won't test. Could not read metadata file. Fa +lling back to other methods to determine prerequisites. Finished...

Updated:

Ok, maybe you need to install this zlib?...


Comment on Re: Help with Imager::File::PNG
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051282]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-11-27 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (180 votes), past polls