我正在尝试使用gnome-weather
构建jhbuild
,但运行构建过程会导致以下错误:
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... ./configure: line 14697: /usr/local/bin/python-config: No such file or directory
not found
configure: error: Python headers not found
*** Error during phase configure of gobject-introspection: ########## Error running ./autogen.sh --prefix /home/pgolinski/jhbuild/install --disable-static --disable-gtk-doc *** [7/36]
[1] Rerun phase configure
[2] Ignore error and continue to build
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
[7] Go to phase "clean"
[8] Go to phase "distclean"
奇怪的是,即使我安装了python-devel
,也没有找到Python标头。我设法在python-config
中找到了usr/bin
,那么如何更改其配置目录?或者问题可能在其他地方? (我只想建立gnome-weather
)
答案 0 :(得分:1)
您可以在此处下载最新版本的gnome-weather: https://git.gnome.org/browse/gnome-weather/snapshot/gnome-weather-3.14.1.zip 解压后用这些命令编译它:
这应该有效.8y3
答案 1 :(得分:1)
如果有人在将来遇到类似的事情,那么Herr的最终工作对我来说是什么:
PYTHON=/usr/bin/python jhbuild build gnome-weather