I'm trying to install GTK-DFB and cairo is a requirement. When I try to build it from source, it throws:
checking for cairo's PNG functions feature...
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG functions feature could be enabled... no
configure: error: recommended PNG functions feature could not be enabled
Ideas?
Thanks
For me it helped to export the following variable in the shell:
export png_REQUIRES="libpng"
Credit to this post
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With