Welcome! Log In Create A New Profile

Advanced

Error compiling Nginx with mod_wsgi

Shu Hung (Koala)
September 15, 2009 11:38PM
Hello all,

I was trying to compile Nginx 0.6.38 with the latest mod_wsgi,
and there came and error "wsgi not found".
(the detailed logs were listed below)

Versions

- Python 2.5
- Nginx 0.6.38
- mod_wsgi (downloaded from the "tip" file)
- I was compiling it on my Fedora Core 3 machine with customized kernel.

After the error first occur, I even followed steps on wiki page
http://wiki.nginx.org/NginxNgxWSGIModule

I knew they are for Mac OS, but the symptoms were the same.
I changed the config file anyway, still the same error poped up.

Please advice me for any steps I can take.
Thanks!



[root@foobar nginx-0.6.38]# ./configure \
> --prefix="/usr/local/nginx" \
> --with-openssl="/usr/local/openssl" \
> --add-module="../mod_wsgi-8994b058d2db/"
> checking for OS
> + Linux 2.6.24.2 i686
> checking for C compiler ... found
> + using GNU C compiler
> + gcc version: 3.4.4 20050721 (Red Hat 3.4.4-2)
> checking for gcc -pipe switch ... found
> checking for gcc variadic macros ... found
> checking for C99 variadic macros ... found
> checking for unistd.h ... found
> checking for inttypes.h ... found
> checking for limits.h ... found
> checking for sys/filio.h ... not found
> checking for crypt.h ... found
> checking for Linux specific features
> checking for epoll ... found
> checking for sendfile() ... found
> checking for sendfile64() ... found
> checking for sys/prctl.h ... found
> checking for prctl(PR_SET_DUMPABLE) ... found
> checking for sched_setaffinity() ... found
> checking for nobody group ... found
> checking for poll() ... found
> checking for /dev/poll ... not found
> checking for kqueue ... not found
> checking for crypt() ... not found
> checking for crypt() in libcrypt ... found
> configuring additional modules
> adding module in ../mod_wsgi-8994b058d2db/
> ngx_http_wsgi_module: using Python 2.5
> checking for wsgi ... not found
> ./configure: error: the WSGI addon requires Python library.
>
Subject Author Posted

Error compiling Nginx with mod_wsgi

Shu Hung (Koala) September 15, 2009 11:38PM

Re: Error compiling Nginx with mod_wsgi

Manlio Perillo September 16, 2009 10:58AM

Re: Error compiling Nginx with mod_wsgi

Shu Hung (Koala) September 18, 2009 07:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready