Another installing problem !
Hi,
I was trying to install "sinek" (GUI for xine) from source. I wrote ./configure 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. [root@localhost sinek-0.7]# My system is Red Hat 9.0 Linux Kernel 2.4.20 GCC 3.2.1 GNU libc 2.3.2 What sould I do ! |
Re: Another installing problem !
Quote:
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. Good luck! |
Hey,
How does one alter the PKG_CONFIG_PATH path? I have a similar error: checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... 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 I understand that I need to alter a file to tell the file to look for Glib in a specific direcory. How do I do this? thanks hamish |
Quote:
|
Thanks daveo,
I tried what you have said and I got these [root@localhost / ]# whereis glib-2.0.pc glib-2.0: [root@localhost / ]# whereis glib glib: /usr/lib/glib does this mean that I don't have the file glib-2.0.pc? my system is Red Hat 9.0 Linux Kernel 2.4.20 GCC 3.2.1 GNU libc 2.3.2 I should have got that isn't it? By the way I search "glib*pc" in my disk and it found a file: /usr/lib/pkgconfig/glib.pc I am confused..! And I read the installation document; if I understood that correctly I should add the path like this... [root@localhost sinek-0.7]# ./configure --exec-prefix=/usr/lib/pkgconfig however this didn't work either. Now what should I do? |
Quote:
rpm -u glibc-2.3.2.rpm (just an example) 2. Try this (if it works) "ldconfig" without the quotes, do you have that ? I hope you have, as it's part of de glibc :-) If not exists - update it. glibc-2.3.2 is in CD 1 Hope this helps ... |
thanks I will try that
|
Hi.
I experienced the same problem during the configuration of mono. I installed the glib2-devel-2.2.1-1.i386.rpm (rpm -U glib2-devel-2.2.1-1.i386.rpm), and it solved the glib-2.0.pc error. Hope this helps. |
All times are GMT -5. The time now is 03:00 AM. |