Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] pkg-config wont config
  • From: David Robertson <derobertson@xxxxxxxxxx>
  • Date: Tue, 01 Mar 2005 18:34:44 +0300
  • Message-id: <42248B94.8050509@xxxxxxxxxx>
Steve Lett wrote:
Hi All, Just installed the SuSE 9.2 vers. on this AMD Sempron 2200 based system. Going about trying to install software, ...it requires PKG-CONFIG So I logged in as root and got PKG-CONFIG and ./compile make, install... no problems... Then trying to install libgnome-2.8.1 I get this error: <snip> checking for pkg-config... no *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. configure: error: Library requirements ( glib-2.0 >= 2.0.3 gmodule-2.0 >= 2.0.3 gobject-2.0 >= 2.0.3 gnome-vfs-2.0 >= 2.5.3 libbonobo-2.0 >= 2.0.0 gconf-2.0 >= 1.1.11 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. checking for pkg-config... no *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. configure: error: Library requirements ( glib-2.0 >= 2.0.3 gmodule-2.0 >= 2.0.3 gobject-2.0 >= 2.0.3 gnome-vfs-2.0 >= 2.5.3 libbonobo-2.0 >= 2.0.0 gconf-2.0 >= 1.1.11 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. I figure this is the key part: The pkg-config script could not be found. Make sure it is in your path, or set the PKG_CONFIG environment variable to the full path to pkg-config.The pkg-config script could not be found. Make sure it is in your path, or set the PKG_CONFIG environment variable to the full path to pkg-config. However, I don't know where these are set....where is a "path" variable in Linux ? Know how that is done in DOS but not in Linux... Anyone know where pkg_config_path environment variable is found ? I've looked for pkg related things and do find that the file /usr/local/bin/pkg-config does exist. And I found the pkg-config.1 man page, but don't see any help in there about this... Thanks all! Steve Hi All, Just installed the SuSE 9.2 vers. on this AMD Sempron 2200 based system. Going about trying to install software, ...it requires PKG-CONFIG Got PKG-CONFIG and ./compile make, install... no problems... Then trying to install libgnome-2.8.1 I get this error: <snip> checking for pkg-config... no *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. configure: error: Library requirements ( glib-2.0 >= 2.0.3 gmodule-2.0 >= 2.0.3 gobject-2.0 >= 2.0.3 gnome-vfs-2.0 >= 2.5.3 libbonobo-2.0 >= 2.0.0 gconf-2.0 >= 1.1.11 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. checking for pkg-config... no *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. configure: error: Library requirements ( glib-2.0 >= 2.0.3 gmodule-2.0 >= 2.0.3 gobject-2.0 >= 2.0.3 gnome-vfs-2.0 >= 2.5.3 libbonobo-2.0 >= 2.0.0 gconf-2.0 >= 1.1.11 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. I figure this is the key part: The pkg-config script could not be found. Make sure it is in your path, or set the PKG_CONFIG environment variable to the full path to pkg-config.The pkg-config script could not be found. Make sure it is in your path, or set the PKG_CONFIG environment variable to the full path to pkg-config. However, I don't know where these are set....where is a "path" variable in Linux ? Know how that is done in DOS but not in Linux... Anyone know where pkg_config_path environment variable is found ? Thanks all! Steve
Did you install pkg-config from source? There is a pkgconfig rpm available with 9.2 - I know that for 9.1 using the SuSE specific version solved a similar problem for me.

David

--
Registered Linux User No 207521
The Linux Counter: http://counter.li.org/

"The above is my personal opinion and does not necessarily reflect that of the little voices in my head."

< Previous Next >
References