LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-08-2008, 04:33 AM   #1
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Rep: Reputation: 30
cairo installation error


Hello there, I'm installing cairo 1.6.4 to my ubuntu because it is a requirement so that I can install gtk+. My problem is, while executing ./configure, it gives me this reply
Code:
configure: error: Request PNG backend could not be enabled
Any suggestions? Thanks!
 
Old 05-08-2008, 05:39 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Do you have libpng and libpng-dev installed?
 
Old 05-08-2008, 06:17 AM   #3
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Idk if i have...Mostly, uhmmm, I think none. Have to install it first?
 
Old 05-08-2008, 06:20 AM   #4
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I just checked it, I think I have libpng installed.
 
Old 05-08-2008, 11:10 AM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
libpng is just the runtime files. You'll need to install libpng12-dev (I think that's what it's called on Ubuntu) to get the development files. You need the development files to build cairo against libpng and, IIRC, libpng is a required dependency.
 
Old 05-08-2008, 11:11 AM   #6
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 279

Rep: Reputation: 30
Can't you just use synaptic and let it do dependencies for you?
 
Old 06-08-2008, 02:28 AM   #7
shaymaa
LQ Newbie
 
Registered: Jun 2008
Posts: 6

Rep: Reputation: 0
Smile

Quote:
Originally Posted by weibullguy View Post
libpng is just the runtime files. You'll need to install libpng12-dev (I think that's what it's called on Ubuntu) to get the development files. You need the development files to build cairo against libpng and, IIRC, libpng is a required dependency.
rename direcotry of libpng-version to libpng
$mv -R libpng-version/ libpng/

this may solve your problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cairo-clock jahanzeb1982 Linux - Software 0 03-24-2008 05:14 AM
Error build pango with cairo support tuanphan Linux - Software 1 02-13-2007 05:54 PM
error when running ./configure for cairo schneidz Linux - Software 7 01-09-2007 01:58 PM
cairo in testing gefst Slackware 4 10-08-2006 05:19 PM
cairo-1.0.2 and 1.0.0 - error: CAIRO_FONT_SCALED_BACKEND_DEFAULT undeclared ForYouAndI.com Linux - Software 0 01-15-2006 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration