After searching for a long time i have yet to find a solution for my problem.
I did find out that package-config doesn't seem to like glib2 for some reason...
Anyway, i can't compile any piece of software that needs glib2.
I'll take wireshark as an example.
while running ./configure it said i had 2 versions of glib2 installed...2.6.6 and 2.12.6 which was correct.
So i uninstalled 2.6.6.
When running ./configure again i get this error:
Code:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
configure: error: GLib2 distribution not found.
Well then, i thought i'd install gtk+-2.10.9. (the version currently on my system is the rpm that came with my distro gtk+-1.2.10-25)
But alas...when i did ./configure i got this:
Code:
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) 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.
My glib-2.0.pc is in /usr/local/lib/pkgconfig/glib-2.0.pc
And i did a export PKG_CONFIG_PATH /usr/local/lib just in case...
Anyone got any ideas? i'm all out...