| Problem installing gtk 2.12.0 I am a linux newbie. I use FC3. I wanted to install gtk+ 2.12.0. So I downloaded the source from gtk.org. While installing i realised that glib, pango, atk are also reqd. So i downloaded all of them and started off with installing glib. I installed glib into /usr (By installing into /usr i mean i put the prefix value of configure as /usr). I then installed pango and atk in that order. Assuming everything reqd. for the gtk installation has been done, i tried installing gtk. Here's the error message i got :
checking for BASE_DEPENDENCIES... Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.13.0 cairo >= 1.2.0) were not met:
So i downloaded the latest version of cairo and tried installing it into the same dir. (/usr again). Now, it needed libpng. So i downloaded libpng and installed it again into the same dir. (/usr). But I still get the same error message which is :
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
I am in a complete mess right now. I am not knowledgable enough to understand the error messages. Even if i understood it, I dont have the knowledge to correct the error. I browsed through all similar problems users encountered and didnt find any related to libpng etc.
I will be really thankful for any help. |