我试图使用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)
发布于 2015-01-04 18:06:37
如果有人在未来遇到类似的事情,下面是我终于成功的原因:
PYTHON=/usr/bin/python jhbuild build gnome-weather
发布于 2015-01-04 10:52:22
您可以在这里下载gnome天气的最后一个版本:https://git.gnome.org/browse/gnome-weather/snapshot/gnome-weather-3.14.1.zip,并在解压缩之后使用以下命令编译它:
这个应该能用
https://stackoverflow.com/questions/27733325
复制相似问题