Eye of Gnome Python 插件不会自动生成,因为检查 PYGTK 失败
出现症状:autogen 禁用幻灯片播放和 pythonconsole 的构建,报告“不支持 python”。平台为Ubuntu 9.04、Jaunty Jackalope;侏儒 2.26.1。
日志摘录:
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for PYGTK... no
configure: WARNING: Python not found, disabling python support
python 和 pygtk 均已安装的证据:
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>>
我注意到 PYGTK 的大写,这对于环境变量来说很常见。没有 PYGTK 环境变量。
您的搜索 - “PYGTK 环境 变量” - 不匹配任何 文件。
以 /usr/share/doc/python-gtk2-doc/html 为根的树中 PYGTK 的 grep 没有返回任何行。
Presenting symptom: autogen disables the build of slideshowshuffle and pythonconsole, reporting "no python support." Platform is Ubuntu 9.04, Jaunty Jackalope; Gnome 2.26.1.
Log extract:
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for PYGTK... no
configure: WARNING: Python not found, disabling python support
Evidence that both python and pygtk are installed:
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>>
I note the capitalization of PYGTK, which is common for environment variables. There is no PYGTK environment variable.
Your search - "PYGTK environment
variable" - did not match any
documents.
A grep for PYGTK in the tree rooted from /usr/share/doc/python-gtk2-doc/html returned no rows.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试安装“python-gtk2-dev”包。你可以确保你拥有它,
我认为,你从 python 使用的是“python-gtk2”。
Try installing "python-gtk2-dev" package. You can make sure you have it with
I think, the one you're using from python is "python-gtk2".