LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 02-08-2007, 03:13 AM   #1
primorec
Member
 
Registered: Sep 2004
Distribution: RH5.2, RH6.2, RH8.0, RH 9.0, RHEL 3.0,MDK 10.1, KNOPPIX3.6, Solaris 8, Solaris 9, CentOS 3x-4x-5x, U
Posts: 62

Rep: Reputation: 15
compiling cairo 1.2.6 on CentOS 4.x


Hi folks,

In order to compile gtk 2.10 I need first to build pango, atk, cairo etc .

When I try to compile cairo 1.2.6 on CentOS 4.x system, I get the following error on the screen:

[jon@localhost cairo-1.2.6]$ ./configure --prefix=/usr/local
......
......
checking for cairo's PNG backend...
./configure: line 24790: --exists: command not found
./configure: line 24790: --exists: command not found
./configure: line 24790: --exists: command not found
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG backend could be enabled... no
configure: error: requested PNG backend could not be enabled

PKG_CONFIG_PATH variable point to /usr/local/lib/pkgconfig

[jon@localhost cairo-1.2.6]$ echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig/
[jon@localhost cairo-1.2.6]$ ls -la /usr/local/lib/pkgconfig/
....
....
-rw-r--r-- 1 root root 246 Feb 7 22:48 gthread-2.0.pc
-rw-r--r-- 1 root root 238 Feb 7 23:56 libpng12.pc
lrwxrwxrwx 1 root root 11 Feb 7 23:56 libpng.pc -> libpng12.pc
-rw-r--r-- 1 root root 291 Feb 7 23:44 pangoft2.pc


LD_LIBRARY_PATH points to /usr/local/lib

[jon@localhost cairo-1.2.6]$ echo $LD_LIBRARY_PATH
/usr/local/lib

What I am doing wrong ?

Igor

[few hours later]

Solution:

http://mail.gnome.org/archives/gtk-l.../msg00051.html
http://mail.gnome.org/archives/gtk-l.../msg00052.html

Last edited by primorec; 02-08-2007 at 03:06 PM.
 
  


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
error when running ./configure for cairo schneidz Linux - Software 7 01-09-2007 12:58 PM
cairo in testing gefst Slackware 4 10-08-2006 04:19 PM
installing cairo? lilili Linux - Newbie 9 02-01-2006 12:19 PM
gtk+2.8 and cairo John Velman Slackware 3 10-19-2005 04:16 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration