Trouble with compiling GTK+ 2.18: "No Package 'Cairo' found.



Hi,
I am trying to build GTK+ 2.18 for one of my project at school. I have got almost all GTK's dependencies work, except for Cairo. Eventhough I built Cairo from source successfully, whenever I ran ./configure in GTK+2.18 directory, I got the following error:

checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.21.3 atk >= 1.13.0 pango >= 1.20 cairo >= 1.6) were not met:

No package 'cairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I am using Fedora Core 11, and I also tried to install cairo, cairo-devel using yum; however it doesn't help either. I am kind of stuck here...
Any help would be greatly appreciated!
Binh


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]