nginx 1.0.6 perl module build failure

Maxim Dounin mdounin at mdounin.ru
Sun Sep 18 14:10:54 UTC 2011


Hello!

On Sun, Sep 18, 2011 at 09:50:33AM -0400, SergeyQw wrote:

> Добрый день. Та же проблема.

This is English mailing list, please don't write in Russian here.

> Mac OS X Lion.
> Только сегодня сутра поставлен perl 5.12 из
> MacPorts.

[...]

> ./configure \
>     --sbin-path=/usr/local/nginx/nginx \
>     --conf-path=/usr/local/nginx/nginx.conf \
>     --error-log-path=/var/log/nginx/error.log \
>     --http-log-path=/var/log/nginx/access.log \
>     --pid-path=/var/run/nginx.pid \
>     --lock-path=/var/lock/nginx.lock \
>     --with-http_perl_module --with-perl=/usr/bin/perl \

You are building with system perl, not MacPorts one.  Make sure to 
use path to correct perl binary in --with-perl configure argument.

>     --with-http_ssl_module \
>     --with-pcre=../pcre-8.12 \
>     --with-zlib=../zlib-1.2.5
> 
> 
> make
> 
> In file included from src/http/modules/perl/ngx_http_perl_module.h:17,
>                  from src/http/modules/perl/ngx_http_perl_module.c:10:
> /System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:3336:
> error: expected specifier-qualifier-list before ‘bool’

[...]

> Я просто не доконца понял как  всётаки
> разрешили эту проблему выше.

1. You need to build with perl from MacPorts.

2. With Perl 5.8 and 5.10 from MacPorts it builds fine out of the 
box.  For Perl 5.12 and 5.14 (from MacPorts) you need patch posted 
earlier in this thread.

Maxim Dounin



More information about the nginx mailing list