Hello all,<br><br>I was trying to compile Nginx 0.6.38 with the latest mod_wsgi, <br>and there came and error &quot;wsgi not found&quot;.<br>(the detailed logs were listed below)<br><br>Versions<br><ul><li>Python 2.5<br></li>
<li>Nginx 0.6.38</li><li>mod_wsgi (downloaded from the &quot;tip&quot; file)</li><li>I was compiling it on my Fedora Core 3 machine with customized kernel.<br></li></ul>After the error first occur, I even followed steps on wiki page <br>
<a href="http://wiki.nginx.org/NginxNgxWSGIModule">http://wiki.nginx.org/NginxNgxWSGIModule</a><br><br>I knew they are for Mac OS, but the symptoms were the same.<br>I changed the config file anyway, still the same error poped up.<br>
<br>Please advice me for any steps I can take.<br>Thanks!<br><br><br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; font-family: courier new,monospace;" class="gmail_quote">
[root@foobar nginx-0.6.38]# ./configure \<br> --prefix=&quot;/usr/local/nginx&quot; \<br> --with-openssl=&quot;/usr/local/openssl&quot; \<br> --add-module=&quot;../mod_wsgi-8994b058d2db/&quot;<br>checking for OS<br> + Linux 2.6.24.2 i686<br>
checking for C compiler ... found<br> + using GNU C compiler<br> + gcc version: 3.4.4 20050721 (Red Hat 3.4.4-2)<br>checking for gcc -pipe switch ... found<br>checking for gcc variadic macros ... found<br>checking for C99 variadic macros ... found<br>
checking for unistd.h ... found<br>checking for inttypes.h ... found<br>checking for limits.h ... found<br>checking for sys/filio.h ... not found<br>checking for crypt.h ... found<br>checking for Linux specific features<br>
checking for epoll ... found<br>checking for sendfile() ... found<br>checking for sendfile64() ... found<br>checking for sys/prctl.h ... found<br>checking for prctl(PR_SET_DUMPABLE) ... found<br>checking for sched_setaffinity() ... found<br>
checking for nobody group ... found<br>checking for poll() ... found<br>checking for /dev/poll ... not found<br>checking for kqueue ... not found<br>checking for crypt() ... not found<br>checking for crypt() in libcrypt ... found<br>
configuring additional modules<br>adding module in ../mod_wsgi-8994b058d2db/<br>ngx_http_wsgi_module: using Python 2.5<br>checking for wsgi ... not found<br>./configure: error: the WSGI addon requires Python library.<br></blockquote>
<br><br>