cairo compile
- From: "gnuplot post" <gnuplot mail gmail com>
- To: gtk-list gnome org
- Subject: cairo compile
- Date: Thu, 8 Feb 2007 07:54:56 -0800
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]