1. check the current version
pkg-config --modversion pango
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
2. try to locate the .pc file
locate pango.pc
/usr/local/lib/pkgconfig/pango.pc
3. add the containing path into PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
4. check it again
pkg-config --modversion pango
1.28.3
done!
or if failed at locating the .pc, just download the source package from http://www.gtk.org/download-linux.html :
./configure --prefix=$path_you_like && make && make install
then simply follow the similar steps above in the event of newborn problems
No comments:
Post a Comment