我想在 Debian 上编译 Firefox,因此我创建如下 .mozconfig:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-dbg
ac_add_options --enable-application=browser
...现在使用此命令进行编译( create make ):
./configure
...但我收到此错误:
configure: error: Library requirements (libnotify >= 0.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
...因此在 repo 中搜索:
i libnotify-bin - sends desktop notifications to a notifica
i A libnotify0.4-cil - CLI library for desktop notifications
i A libnotify1 - sends desktop notifications to a notifica
v libnotify1-gtk2.10 -
我该怎么做才能编译它?
答案1
*-dev
如果您想针对库编译某些内容,则必须安装软件包。
对于你的情况,可能是以下一项或多项:
$ apt-cache search libnotify dev
libnotify-cil-dev - CLI library for desktop notifications
libnotifymm-dev - C++ binding for libnotify (development files)
libnotify-dev - sends desktop notifications to a notification daemon
我有 Ubuntu 10.04,你的结果可能会有所不同。