LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GTK+ Installation Help! (https://www.linuxquestions.org/questions/linux-newbie-8/gtk-installation-help-698059/)

phasma 01-17-2009 11:48 PM

GTK+ Installation Help!
 
Hey I am quite new to this forum and pretty excited I found it, but I'll cut to the chase. I am running Debian and I want to install GTK+ so I can use Firefox and QuickSynergy. But every time I try ./configure in the GTK directory I get this error.

Code:

checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.17.6    atk >= 1.13.0    pango >= 1.20    cairo >= 1.6) were not met:

Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' 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've tried using the "apt-get install" package installer to get the missing packages but I still get this error. I honestly cannot figure this out, I've been at it for days now. I really need some help here. If any more information is needed feel free to ask! Thanks!

Xian 01-18-2009 12:03 AM

Try installing the libgtk2.0-dev or libgtk1.2-dev packages.

phasma 01-18-2009 12:10 AM

Quote:

Originally Posted by Xian (Post 3412597)
Try installing the libgtk2.0-dev or libgtk1.2-dev packages.

I just tried that and both of them were supposedly up-to-date. Then I tried ./configure in GTK and got the same error from above.

knudfl 01-18-2009 06:18 AM

Quote:

checking for BASE_DEPENDENCIES.. configure: error: Package requirements
(glib-2.0 >= 2.17.6 atk >= 1.13.0 pango >= 1.20 cairo >= 1.6)
were not met:
What you are trying to do, is to compile a gtk2 so new, that it
depends on libs not installed on your system.
" >= " means : this version or better. So if doable, you would
have to start with glib-2.0, atk, pango, cairo.

Try this : # 'dpkg -r gtk2.0-0' and the terminal window text will
tell that 200 packages are depending on it. So building and installing
newer versions of gtk2 and it's dependencies will probably make your
system unusable.

It would be much easier to build firefox 3 from source with the
libs you have on your system.'libgtk2.0-0 (2.12.11-4)' will do.
( If you think, iceweasel (3.0.5-1) can't do what you want. )
....


All times are GMT -5. The time now is 05:49 AM.