Hi experts, I'm trying to compile Kino application and getting the error below. When I checked for mentioned package, I found it is installed. How can I fix it? Thx, Martin checking for pkg-config... /usr/local/bin/pkg-config checking for libglade-2.0 libgnomeui-2.0 >= 1.110.0... Package libglade-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libglade-2.0' found configure: error: Library requirements (libglade-2.0 libgnomeui-2.0 >= 1.110.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. lnx:/usr/local/src/kino-0.7.1 # rpm -qa | grep libglade libglade2-2.0.1-104 libglade-0.16-994 libglade-2.0.1-3ark lnx:/usr/local/src/kino-0.7.1 # locate libgnomeui /opt/gnome/lib/libgnomeui.so.32 /opt/gnome/lib/libgnomeui.so.32.14.1 lnx:/usr/local/src/kino-0.7.1 # __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail
On Friday 18 Jun 2004 22:54 pm, Martin wrote:
Hi experts,
You are most kind, maybe I'll be one one day...
I'm trying to compile Kino application and getting the error below. When I checked for mentioned package, I found it is installed. How can I fix it?
Since Kino needs to use libglade-2 you need to have the libglade2-devel package installed to compile it. The devel package contains the headers for the libglade2 source - which are the files containing the function and variable definitions, but not the full source. Basically, Kino needs to know how to talk to libglade2 and the headers provide that information HTH Dylan -- "I see your Schwartz is as big as mine" -Dark Helmet
--- Dylan
Since Kino needs to use libglade-2 you need to have the libglade2-devel package installed to compile it. The devel package contains the headers for the libglade2 source - which are the files containing the function and variable definitions, but not the full source. Basically, Kino needs to know how to talk to libglade2 and the headers provide that information
I don't understand how could I fail to realize that but after instaling it I still get the same error. I suspect it may be the name of the package as there is libglade2-devel and libglade-devel but I'm not too sure. Martin lnx:/usr/local/src/kino-0.7.1 # rpm -qa | grep libglade libglade2-2.0.1-104 libglade-0.16-994 libglade-2.0.1-3ark libglade2-devel-2.0.1-149 checking for libglade-2.0 libgnomeui-2.0 >= 1.110.0... Package libglade-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libglade-2.0' found configure: error: Library requirements (libglade-2.0 libgnomeui-2.0 >= 1.110.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. Martin __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
On Saturday 19 June 2004 02.27, Martin wrote:
Martin lnx:/usr/local/src/kino-0.7.1 # rpm -qa | grep libglade libglade2-2.0.1-104 libglade-0.16-994 libglade-2.0.1-3ark libglade2-devel-2.0.1-149
checking for libglade-2.0 libgnomeui-2.0 >= 1.110.0... Package libglade-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libglade-2.0' found
configure: error: Library requirements (libglade-2.0 libgnomeui-2.0 >= 1.110.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.
Try running pkg-config --list-all It could be you have some other error in the .pc files that messes with pkg-config
--- Anders Johansson
Martin lnx:/usr/local/src/kino-0.7.1 # rpm -qa | grep libglade libglade2-2.0.1-104 libglade-0.16-994 libglade-2.0.1-3ark libglade2-devel-2.0.1-149
checking for libglade-2.0 libgnomeui-2.0 >= 1.110.0... Package libglade-2.0 was not found in the
search path. Perhaps you should add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libglade-2.0' found
configure: error: Library requirements (libglade-2.0 libgnomeui-2.0 >= 1.110.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so
On Saturday 19 June 2004 02.27, Martin wrote: pkg-config pkg-config
can find them.
Try running
pkg-config --list-all
It could be you have some other error in the .pc files that messes with pkg-config
There was no output after running it. Martin
__________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
On Saturday 19 June 2004 03.50, Martin wrote:
Try running
pkg-config --list-all
It could be you have some other error in the .pc files that messes with pkg-config
There was no output after running it.
None at all? OK, you have some serious configuration problem then. Where did you find your packages, by the way? What is -3ark (can't be good to have two completely different versions of glade installed), and why is your libglade2-devel a different build number than libglade2? Also, never compile as root. Put the sources in your user directory, and only go to root to "make install" And what does echo $PKG_CONFIG_PATH say?
On Friday 18 June 2004 23.54, Martin wrote:
checking for pkg-config... /usr/local/bin/pkg-config
Also, I just noticed that you're using a home built version of pkg-config, not suse's rpm. Why? If you do this, you will have to set $PKG_CONFIG_PATH to point to your pkgconfig directory /usr/lib/pkgconfig
--- Anders Johansson
On Friday 18 June 2004 23.54, Martin wrote:
checking for pkg-config... /usr/local/bin/pkg-config
Also, I just noticed that you're using a home built version of pkg-config, not suse's rpm. Why?
Honestly, I dunno why. Till now I didn't even know it may exist. I found out I didn't have any pkgconfig rpm installed so I installed it but still no output from 'pkg-config --list-all' and 'echo $PKG_CONFIG_PATH'. One thing I dont understand is why I didn't have almost any issues with installing a compiling other applications. I also tried to clean up build versions so now it looks like below but still no good. lnx:/usr/local/src/kino-0.7.1 # rpm -qa | grep libglade libglade-0.16-994 libglade2-2.0.1-149 libglade2-devel-2.0.1-149 libglade-devel-0.16-1015
If you do this, you will have to set $PKG_CONFIG_PATH to point to your pkgconfig directory /usr/lib/pkgconfig
How do I do this? Martin __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
participants (3)
-
Anders Johansson
-
Dylan
-
Martin