Error compiling Nginx with mod_wsgi

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 \

Shu Hung (Koala) ha scritto:

* mod_wsgi (downloaded from the "tip" file)
* I was compiling it on my Fedora Core 3 machine with customized kernel.

You should check the content of the file objs/autoconf.err

Regards Manlio P.

On Wed, Sep 16, 2009 at 10:52 PM, Manlio P.
[email protected]wrote:

You should check the content of the file objs/autoconf.err

Regards Manlio P.

Yeah! I found the error in autoconf.err: cannot find Python.h
I’ve installed the python-devel package.
Everything is working fine now.

Thanks

Koala