problem with nginx autoconfigure
is at rambler-co.ru
Fri Nov 23 19:45:12 MSK 2007
On Fri, Nov 23, 2007 at 04:14:53PM +0100, Manlio Perillo wrote:
> I'm having problems at auto configuring mod_wsgi on FreeBSD.
> Here is the configuration:
> ngx_feature_incs="#include <Python.h>"
> ngx_feature_libs="-L /usr/local/lib -lpython2.4"
> . auto/feature
> I think the values are correct (they are queried using Python
> distutils), however the nginx configure script has problems with
> If I remove ngx_feature_libs and, of course, ngx_feature_test, mod_wsgi
> configures and compiles without problems.
> What can be the problem?
> One last question: I would like to add a --with-python= option to the
> configure script. This option tells the configure script the "custom"
> Python interpreter to use for configuration.
> Is this possible without patching the script?
You should not use hardcoded includes, libs, etc.
Look python capabilities to report build options.
See auto/lib/perl/conf how configure use
perl -MExtUtils::Embed -e ccopts
perl -MExtUtils::Embed -e ldopts
More information about the nginx