Originally posted by Baran
I was trying to install "sinek" (GUI for xine) from source. I wrote
but I had such an error
checking for bison... bison
checking version of bison... v. ?.??, bad
checking for catalogs to be installed... de es fr ru
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0.0... 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
configure: error: Library requirements (glib-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
My system is
Red Hat 9.0
Linux Kernel 2.4.20
GNU libc 2.3.2
What sould I do !
Actually this means that the required package glib is not found in the search path, where it should actually exists. You should be able to define where it is located by typeing:
dave@twister dave $ whereis glib-2.0.pc
glib-2.0: /usr/lib/glib-2.0 /usr/include/glib-2.0 /usr/share/glib-2.0
As you see above, the path is defined. Now you should read the install notes, to know what --prefix is needed to define the path to glib-2.0 and add it together with the ./configure --prefix=bla.