我是下载源代而不是(想)用RPM的方式来安装,结果安装glibmm时出错,
提示说:package requirements (sigc+=-2.0 >= 2.0.1 gobject-2.0 >= 2.21.1 gmodult-2.0 >= 2.21.1)
were not met:
....
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
我试过在 libsigc++-2.2.8 的源码目录下
./configure --prefix=/usr
make
make install
之后,再在glibmm-2.22.2 源码目录下
./configure --prefix=/usr
make
make install
同时,也上网查了资料,
在 /etc/profile 中增加了两行。
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH
重启后也不行,大家可以给点建议到底是哪里不对吗?我昨天上网查了一天的资料,都没找出原因来。谢谢!
如图: