Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Failure trying to build Imager::File::PNG

by Tanktalus (Canon)
on Nov 14, 2012 at 04:43 UTC ( #1003749=note: print w/replies, xml ) Need Help??

in reply to Failure trying to build Imager::File::PNG

"-lpng" always means "libpng.%ext" on unix/linux where %ext depends on the platform. However, on Linux, as far as I can tell, that's always .so, so look for a package that provides /usr/lib/ or /lib/ On Gentoo, that's the libpng ebuild with a URL of Hope that helps.

Also your test code failed with an inability to include "png.h" so there's another file to look for from your libpng package - /usr/include/png.h.

Good luck - it built fine here :-)

  • Comment on Re: Failure trying to build Imager::File::PNG

Replies are listed 'Best First'.
Re^2: Failure trying to build Imager::File::PNG
by GrandFather (Sage) on Nov 14, 2012 at 04:54 UTC

    Thanks! That was the hint I needed.

    apt-get install libpng12-dev

    did the magic for me. Mind you, it took three tries before I found the right package!

    True laziness is hard work

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003749]
[ambrus]: thezip: is Activestate Perl usable for your scenario instead?
[MidLifeXis]: Yeah, --notest is good, not sure I would do --force.
[thezip]: It fails 2/10 tests in that group. What are the ramifications if I force it? What should I look for for?
[thezip]: I've migrated from ActiveState to Strawberry. No going back...
[thezip]: I'll try the --notest arg first when I get back from meetings (after lunch).
[thezip]: Thanks guys for your comments! :-)
[1nickt]: Quick survey: has anyone used or even heard of autobox?
[Corion]: thezip: I would expect some (fancier?) numeric formatting to fail from these test failures
[1nickt]: ( Sometimes when idle I browse remote corners of the code repo at $work ... usually this yields knowledge of projects to decline and coworkers to avoid ... )
[LanX]: sure

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2017-03-23 17:20 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (290 votes). Check out past polls.