我在CentOS 7上从源代码中构建了洋酒,这是因为目前还没有可用的软件包。但是,pidgin-otr-4.0.0无法找到pidgin和purple的头。
它们驻留在/usr/local/include中,我无法用它的建议计算出配置脚本想要什么:
checking for EXTRA... configure: error: Package requirements (glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0) were not met:
No package 'pidgin' found
No package 'purple' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EXTRA_CFLAGS
and EXTRA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.我尝试了各种PKG_CONFIG_PATH选项,比如/usr/local和/usr/local/include,以及EXTRA_LIBS。我不知道现在该怎么办。
我只需要指定pidgin和purple驻留在/usr/local/include中。
发布于 2017-02-02 15:19:53
我知道这个问题是针对CentOS的,但由于这是我在寻找Ubuntu时获得的第一个结果,下面是一些Ubuntu16.04帮助。
我想念pidgin, purple, gtk+-2.0
我需要sudo apt install libgtk2.0-dev pidgin-dev libpurple-dev libgcrypt20-dev
https://unix.stackexchange.com/questions/148576
复制相似问题