复杂问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
fivemhr
帖子: 34
注册时间: 2008-10-07 20:01

复杂问题

#1

帖子 fivemhr » 2009-04-08 20:32

我在安装awn-extras时,
下载到对应版本的awn-extras压缩包后,解压到/tmp目录,进入目录,然后输入以下命令进行编译安装:

(小贴士:使用编译安装前,需要先建立编译环境,使用以下命令建立基本的编译环境:

sudo apt-get install build-essential)

然后开始进行编译安装


1 ./configure
2 make
3 sudo make install
按照上面的说明,当我进行到1 ./configure编译时,出现如下错误:
checking python extra libraries... -lpthread -ldl -lutil
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... no
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.
大致是说:python未安装或安装路径不对。实际上我是安装了的,版本是pythonv2.5版,那么可能是路径不对,
问题:1,怎么知道python安装在那里?
2,上面的问题怎么解决?
3,这个问题算不算比较复杂的问题,我是菜鸟一只,请不要鄙视我。
还望高人解决!!!!!!!盼!!!!
AuirEx
帖子: 154
注册时间: 2007-04-22 21:52

Re: 复杂问题

#2

帖子 AuirEx » 2009-04-08 22:51

别说你的软件都是这样编译安装的 :em06

awn,源里不是有么?!

===============

如果你的python是用新立得装的,那么在新立得里查看python的属性,那里会有安装文件列表
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: 复杂问题

#3

帖子 BigSnake.NET » 2009-04-09 13:46

You probably have to install the development version of the Python package

看一下 python-dev 之类的包
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
回复