电梯救命按钮,求解

救命!求解!关于python的library path!!!!!!!!!!!!!! - Redhat/Fedora/CentOS -
红联Linux论坛
UID372877&帖子33&积分37&现金276 圆&魅力2 点&阅读权限40&注册时间&
救命!求解!关于python的library path!!!!!!!!!!!!!!
本帖最后由 coaaz 于
12:30 编辑
情况是这样的:
我的系统 rhel 5.5
那天在avant-window-navigator官网下载了最新的&&0.4.0的源码包
./configure 后发现没有 python的编译器(之前系统上的是python2.4)
于是去了&&下载了Python-2.7.1 源码包
./configure
make install
一切都按照默认路径配置完成后
再去./configure& &avant-window-navigator0.4.0
提示我...
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for a Python interpreter with version &= 2.5... python
checking for python... /usr/local/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for the distutils Python package... yes
checking for Python include path... -I/usr/local/include/python2.7
checking for Python library path... -L/usr/local/lib/python2.7/config -lpython
checking python extra libraries...&&-lpthread -ldl&&-lutil
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... no
configure: error: in `/root/avant-window-navigator-0.4.0':
configure: error:
&&Could not link test program to Python. Maybe the main Python library has been
&&installed in some non-standard library path. If so, pass it to configure,
&&via the LDFLAGS environment variable.
&&Example: ./configure LDFLAGS=&-L/usr/non-standard-path/python/lib&
&&============================================================================
& &ERROR!
& &You probably have to install the development version of the Python package
& &for your distribution.&&The exact name of this package varies among them.
&&============================================================================
See `config.log' for more details.
[root@station119 avant-window-navigator-0.4.0]#
[root@station119 avant-window-navigator-0.4.0]# 复制代码想尽各种方法、百度、google还是没办法,2天了
救命啊!!!!!
UID250300&帖子3436&积分3636&现金51464 圆&魅力120 点&阅读权限255&注册时间&
avant 依赖的是 python 的 development environment(开发环境),所以你需要安装的是
python-devel 这个软件包(从软件源安装)。
rhel 的系统上必然有 python 的解释器的,不然这个系统根本不能运行。
你的系统安装多个python版本,将/usr/bin/python指向你要的版本就ok了求解啊!救命啊! - 小组话题
有人知道奥因光触媒吗?据说是广州产的,用来去室内甲醛的,有木有人知道啊!
我就一大二学生,学销售,在做兼职,跑业务,除了上课就工作,很厉害,有木有!很上进,有木有!集体回答:有!
好,鼓掌!
我现在接触到一个叫奥因光触媒的,刚进我们这边市场,老板说这个东西在广州很火!因小妹我天生单纯啊,怕被骗了,但事实证明我不笨啊!知道上豆瓣问问,我知道这世好人多啊,尤其是咱豆瓣上的!
跪求哥们,姐们给个答案吧!}

我要回帖

更多关于 廉价救命药难求 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信