Python 安装和配置mod_wsgi的权限被拒绝
我正在尝试使用编译最新的m0d_wsgi文件。在ubuntu 12.04中,我有:Python 安装和配置mod_wsgi的权限被拒绝,python,mod-wsgi,ubuntu-12.04,Python,Mod Wsgi,Ubuntu 12.04,我正在尝试使用编译最新的m0d_wsgi文件。在ubuntu 12.04中,我有: $./configure mod_wsgi.c --with-python=f:/python/python.exe 我得到: ./configure mod_wsgi.c--with python=f:/python/python.exe bash: ./configure: Permission denied 以下是目录: drwx------ 2 dan dan 16384 2012-08-22 23
$./configure mod_wsgi.c --with-python=f:/python/python.exe
我得到:
./configure mod_wsgi.c--with python=f:/python/python.exe
bash: ./configure: Permission denied
以下是目录:
drwx------ 2 dan dan 16384 2012-08-22 23:12 .
drwx------ 3 dan dan 16384 2013-01-26 21:25 ..
-rw-r--r-- 1 dan dan 3782 2013-01-26 23:25 config.log
-rw-r--r-- 1 dan dan 20428 2013-01-26 23:24 config.status
-rw-r--r-- 1 dan dan 80107 2012-08-22 23:10 configure
rw-r--r-- 1 dan dan 5886 2012-08-22 23:10 configure.ac
-rw-r--r-- 1 dan dan 97 2012-08-22 23:10 .hgignore
-rw-r--r-- 1 dan dan 56 2012-08-22 23:10 .hgtags
-rw-r--r-- 1 dan dan 11358 2012-08-22 23:10 LICENCE
-rw-r--r-- 1 dan dan 484936 2012-08-22 23:10 mod_wsgi.c
-rw-r--r-- 1 dan dan 1195 2012-08-22 23:10 posix-ap1X.mk.in
-rw-r--r-- 1 dan dan 1247 2012-08-22 23:10 posix-ap2X.mk.in
-rw-r--r-- 1 dan dan 18063 2012-08-22 23:12 README
-rw-r--r-- 1 dan dan 907 2012-08-22 23:10 win32-ap22py26.mk
-rw-r--r-- 1 dan dan 907 2012-08-22 23:10 win32-ap22py27.mk
-rw-r--r-- 1 dan dan 907 2012-08-22 23:10 win32-ap22py31.mk
我非常感谢你的帮助
谢谢,
比尔您的配置脚本没有执行权限
您应该首先运行
chmod 755 configure
来授予它执行权限。您可能也不应该传递f:/python/python.exe,因为您没有在windows上运行。