我正在Ubuntu11.10上安装蜘蛛猴。在运行./ >=时,我会收到一个依赖项错误,没有满足libnotify 0.4。
将Ubuntu中的包定位为
gir1.2-notify-0.7然后我发现它是在哪里安装的。
renshaw@renshaw-TravelMate-5740G:~/spidermonkey$ dpkg -L gir1.2-notify-0.7
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/gir1.2-notify-0.7
/usr/share/doc/gir1.2-notify-0.7/copyright
/usr/lib
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Notify-0.7.typelib
/usr/share/doc/gir1.2-notify-0.7/AUTHORS
/usr/share/doc/gir1.2-notify-0.7/NEWS.gz
/usr/share/doc/gir1.2-notify-0.7/changelog.Debian.gz因此,我尝试将其添加到PKG_CONFIG_PATH中。
export PKG_CONFIG_PATH=/usr/lib/:/usr/lib/girepository-1.0/Notify-0.7.typelib然而,我仍然收到错误。
configure: error: Library requirements (libnotify >= 0.4) not met;如何让./configure将libnotify视为女孩1.2-Notific-0.7?
发布于 2012-01-27 00:38:11
如果需要使用该库编译某些内容,则需要安装*-dev包。
在您的情况下,您需要libnotify-dev。安装它(sudo apt install libnotify-dev)并再次运行./configure。
https://askubuntu.com/questions/98868
复制相似问题