suse服务器系统error17,错误在SUSE安装mod_wsgi的11服务器

蟒蛇versoin:2.6

的./configure --with-apxs=/usr/local/apache2/bin/apxs --with-python=/usr/bin/python结果是正确的,但只是得到一些错误如下当make:

....

mod_wsgi.c:14430: error: expected expression before âmoduleâ

mod_wsgi.c:14431: error: expected identifier or â(â before â=â token

mod_wsgi.c:14446: error: expected expression before âmoduleâ

mod_wsgi.c:14447: error: âmodule_dictâ undeclared (first use in this function)

mod_wsgi.c:14448: error: âobjectâ undeclared (first use in this function)

mod_wsgi.c:14450: error: expected expression before âmoduleâ

mod_wsgi.c:14454: error: âvarsâ undeclared (first use in this function)

mod_wsgi.c:14455: error: âargsâ undeclared (first use in this function)

mod_wsgi.c:14456: error: âresultâ undeclared (first use in this function)

mod_wsgi.c:14457: error: âmethodâ undeclared (first use in this function)

mod_wsgi.c:14474: error: âPy_Noneâ undeclared (first use in this function)

mod_wsgi.c:14488: error: âPy_Trueâ undeclared (first use in this function)

mod_wsgi.c:14491: error: âPy_Falseâ undeclared (first use in this function)

mod_wsgi.c:14503: error: âPyExc_TypeErrorâ undeclared (first use in this function)

mod_wsgi.c:14519: error: âAuthObjectâ has no member named ârâ

mod_wsgi.c:14523: error: âAuthObjectâ has no member named âlogâ

mod_wsgi.c:14526: error: âPyExc_AttributeErrorâ undeclared (first use in this function)

mod_wsgi.c:14528: error: âAuthObjectâ has no member named âlogâ

mod_wsgi.c:14541: error: expected expression before â)â token

mod_wsgi.c:14548: error: expected â;â before âap_log_rerrorâ

mod_wsgi.c:14553: error: expected â;â before â}â token

mod_wsgi.c:14558: error: too many arguments to function âwsgi_log_python_errorâ

mod_wsgi.c:14563: error: expected expression before âmoduleâ

apxs:Error: Command failed with rc=65536

.

make: *** [mod_wsgi.la] Error 1

请告诉我

2011-05-19

Newbie

+1

不熟悉SUSE,但我相信你需要python开发包。快速谷歌搜索给了我这个:http://www.novell.com/products/linuxpackages/opensuse/python-devel.html –

2011-05-19 05:05:17

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值