mod_wsgi | linux安装错误

时间:2010-04-11 18:04:38

标签: linux mod-wsgi

当我尝试安装mod_wsgi

时出现以下错误
./configure

checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.3
configure: creating ./config.status
config.status: creating Makefile

make

/usr/sbin/apxs -c -I/usr/local/include/python2.6 -DNDEBUG   mod_wsgi.c -L/usr/local/lib -L/usr/local/lib/python2.6/config  -lpython2.6 -lpthread -ldl  -lutil -lm
/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1  -I/usr/local/include/python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
sh: /apr-1/build/libtool: No such file or directory
apxs:Error: Command failed with rc=8323072
.
make: *** [mod_wsgi.la] Error 1

libtool安装在我的系统上..

mod_wsgi 3.2 **** Apache 2.2 **** **** Python 2.6 ****

1 个答案:

答案 0 :(得分:0)

您可能缺少apr开发文件。根据您的分发,请检查包管理器是否为“apr”。在ubuntu上,它可能是'libaprutil1-dev'。