LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing gtk? (https://www.linuxquestions.org/questions/linux-newbie-8/installing-gtk-406653/)

lilili 01-22-2006 05:03 PM

installing gtk?
 
hi
I try to install gtk2.8 but when I ./configure, it say
error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

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

I think I already have glib2.8 install but why it complain about glib again?

How can I set BASE_DEPENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS enviroment to avoid calling pkg-config?

Thank You

jrdioko 01-22-2006 05:36 PM

Do you have all of the dependencies installed (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2)? Glib isn't the only one. You don't want to avoid calling pkg-config since that's what is checking and telling you you don't have the correct libraries installed.

lilili 01-22-2006 08:31 PM

I have glil and pango installed but not cairo
but why does it still ask for pango and glib, instead of cairo only?

and when I try to install cairo it say
configure: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/
even though I already installed freetype and fontconfig

lilili 02-01-2006 01:41 AM

I believe I already have all the requirement
I can see glib2.0, pango, atk, cairo in my /usr/lib/pkgconfig
but still , I have the same error message


All times are GMT -5. The time now is 12:11 PM.