pkg-config
Hi all
Can you guys help me out how to use pkg-config and how to add the path in the pkg-config so that it can recoganize all the gtk or glib i install. I am facing problem how to this: - checking for sigc++-1.2 >= 1.2.0 glib-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0 gmodule-2.0 >= 2.2.0... Package sigc++-1.2 was not found in the pkg-config search path. Perhaps you should add the directory containing `sigc++-1.2.pc' to the PKG_CONFIG_PATH environment variable No package 'sigc++-1.2' found configure: error: Library requirements (sigc++-1.2 >= 1.2.0 glib-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0 gmodule-2.0 >= 2.2.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. HOW TO GO ABOUT IT AND HOW TO PUT THE PATH!!!!! SO THAT THE PKG-CONFIG CAN FIND OUT> TraCe66 ------------------------------------------------------------------------------------------ Somethings can change but something can not. |
First, make sure you have sigc++ installed.
Then type: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig That will only stay for that terminal session, so dont exit that terminal until you are done installing the program. Also, it may not be in that location, though thats the norm. do a: su -c "updatedb" locate "sigc++-1.2.pc" Look for the directory that contains "pkgconfig". |
All times are GMT -5. The time now is 05:01 PM. |