我试图建立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
)
如果将来有人遇到类似的问题,这最终对我有用:
PYTHON=/usr/bin/python jhbuild build gnome-weather
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句