安装mod

系统教程 行业动态 更新时间:2024-06-14 17:01:34
安装mod_wsgi 3.1时出错(Error installing mod_wsgi 3.1)

我试图在Ubuntu 9.10上安装mod_wsgi 3.1并在我尝试制作时收到此错误

root@me:/src/mod_wsgi-3.1$ ./configure --with-python=/usr/bin/python2.6 checking for apxs2... /usr/bin/apxs2 checking Apache version... 2.2.12 configure: creating ./config.status config.status: creating Makefile root@me:/src/mod_wsgi-3.1$ sudo make /usr/bin/apxs2 -c -I/usr/include/python2.6 -DNDEBUG mod_wsgi.c -L/usr/lib -L/usr/lib/python2.6/config -lpython2.6 -lpthread -ldl -lutil -lm /usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/python2.6 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo /usr/share/apr-1.0/build/libtool: line 970: i486-linux-gnu-gcc: command not found apxs:Error: Command failed with rc=65536 make: *** [mod_wsgi.la] Error 1

问题是什么?

I am trying to install mod_wsgi 3.1 on Ubuntu 9.10 and am getting this error when I attempt to make

root@me:/src/mod_wsgi-3.1$ ./configure --with-python=/usr/bin/python2.6 checking for apxs2... /usr/bin/apxs2 checking Apache version... 2.2.12 configure: creating ./config.status config.status: creating Makefile root@me:/src/mod_wsgi-3.1$ sudo make /usr/bin/apxs2 -c -I/usr/include/python2.6 -DNDEBUG mod_wsgi.c -L/usr/lib -L/usr/lib/python2.6/config -lpython2.6 -lpthread -ldl -lutil -lm /usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/python2.6 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo /usr/share/apr-1.0/build/libtool: line 970: i486-linux-gnu-gcc: command not found apxs:Error: Command failed with rc=65536 make: *** [mod_wsgi.la] Error 1

What is the problem?

最满意答案

正确安装gcc编译器,它看起来并非全部存在,或者根本不存在。

Install gcc compiler properly, it looks to not all be there, or possibly not at all.

更多推荐

本文发布于:2023-04-20 18:44:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/87d22abda13cf01905d346fa170690ec.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:mod

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!