LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GDesklets needs libgtop-2.0.pc on PKG_CONFIG_PATH (https://www.linuxquestions.org/questions/linux-software-2/gdesklets-needs-libgtop-2-0-pc-on-pkg_config_path-144666/)

lramos85 02-10-2004 09:18 PM

GDesklets needs libgtop-2.0.pc on PKG_CONFIG_PATH
 
I'm trying to install GDesklets and when ./configure an error comes out when cheking for the dependency Can anyone tell me how to fix this? This is the error:

Quote:

checking for pkg-config... /usr/bin/pkg-config
checking for gnome-python-2.0 >= 1.99.17 pygtk-2.0 >= 1.99.17 gdk-2.0 gtk+-2.0 libgtop-2.0 >= 2.0.0... Package libgtop-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgtop-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgtop-2.0' found

configure: error: Library requirements (gnome-python-2.0 >= 1.99.17 pygtk-2.0 >= 1.99.17 gdk-2.0 gtk+-2.0 libgtop-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.
Thanks

mikshaw 02-10-2004 11:15 PM

Code:

locate libgtop | grep pkgconfig
If you get something back from this command, add that path to $PKG_CONFIG_PATH

For example, if it comes back with /opt/gnome/lib/pkgconfig/libgtop-2.0.pc, you can put
PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome/lib/pkgconfig
in ~/.bashrc or ~/.bash_profile or ~/.profile...or maybe one of a few other files.


All times are GMT -5. The time now is 11:36 AM.