Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install cairo. I got this error message when i did ./configure.
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
I looked online and found a website which said this command would work.
export png_REQUIRES="libpng"
It did work for the ./configure part. But now when i try to do make, it has this error message.
I think it has to do with the export command. Any ideas?
p.s. The ./configure part has a warning at the end:
*** No native font backends enabled for your platform. It is strongly
*** recommended that you enable the native font backend feature for your
*** platform.
I am trying to install cairo. I got this error message when i did ./configure.
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
I looked online and found a website which said this command would work.
export png_REQUIRES="libpng"
It did work for the ./configure part. But now when i try to do make, it has this error message.
I think it has to do with the export command. Any ideas?
p.s. The ./configure part has a warning at the end:
*** No native font backends enabled for your platform. It is strongly
*** recommended that you enable the native font backend feature for your
*** platform.
No, I think it's more likely you don't have the libpng and/or the libpng development libraries installed. You don't say what version/distro of Linux you're using, so we can't say what you need/how to install it. And have you checked your online repositories, to see if a pre-built cairo is available, rather than trying to build it from source?
I am building Cairo for Pango, to make GTK+, and now this error message comes up when configuring Pango.
checking for CAIRO... yes
checking which cairo font backends could be used... none
configure: Disabling cairo support
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.
I don't know why it says this, because i got cairo installed just fine.
I have ubuntu, and i think i need to install the libpng development libraries. How do i do this?
The answer above does not help the author at all. You can simply solve the problem by installing libpng.
And this answer helps no one at all, since this thread had been closed for SEVEN YEARS. And in case you missed it, the OP was advised (three times), to install libpng, the exact same thing you posted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.