Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92548
  • 博文数量: 48
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 440
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-21 17:33
文章分类

全部博文(48)

文章存档

2011年(2)

2009年(17)

2008年(29)

我的朋友
最近访客

分类: LINUX

2009-06-01 20:43:28

configure: error: Can not link to python

im trying to install mod_python. just wondering how to fix this error:

Code:
checking checking where python libraries are installed... /usr/lib/python2.5
checking for Py_NewInterpreter in -lpython2.5... no
configure: error: Can not link to python






Hi,

Quite often when you try to compile stuff on your own, you get more or less cryptic error messages.
In most cases you can resolve them if you install the developer versions of the base packages which
are need.

In your case "sudo aptitude install python-dev" should solve the problem.
schlauberg is offline    
阅读(1182) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~