Nginx 1.0.6 perl module build failure

Snow Leopard 10.6.7, Xcode 4.0.1:

$ cd nginx-1.0.6
$ ./configure --prefix=/usr/local --with-cc-opt="-I/usr/local/include
-O2 -Wno-deprecated-declarations" --with-ld-opt="-L/usr/local/lib"
–conf-path=/etc/nginx/nginx.conf
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log
–pid-path=/var/run/nginx/nginx.pid
–lock-path=/var/run/nginx/nginx.lock
–http-client-body-temp-path=/var/run/nginx/client_body_temp
–http-proxy-temp-path=/var/run/nginx/proxy_temp
–http-fastcgi-temp-path=/var/run/nginx/fastcgi_temp
–http-uwsgi-temp-path=/var/run/nginx/uwsgi_temp --with-http_dav_module
–with-http_flv_module --with-mail --with-http_ssl_module
–with-mail_ssl_module --with-http_stub_status_module --with-ipv6
–with-http_perl_module --with-perl=/usr/bin/perl
–with-http_realip_module --with-http_addition_module
–with-http_sub_module --with-http_gzip_static_module

$ make

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
-Wunused-function -Wunused-variable -Wno-unused-value -Werror -g
-I/usr/local/include -O2 -Wno-deprecated-declarations -arch x86_64 -arch
i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include
-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I
src/core -I src/event -I src/event/modules -I src/os/unix -I
/opt/local/include -I objs -I src/http -I src/http/modules -I
src/http/modules/perl
-o objs/src/http/modules/perl/ngx_http_perl_module.o
src/http/modules/perl/ngx_http_perl_module.c
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.10.0/darwin-thread-multi-2level/CORE/perl.h:3240:
error: expected specifier-qualifier-list before ‘bool’

Seems to be a know issue in other contexts.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,215048,215048#msg-215048

Hello!

On Fri, Sep 09, 2011 at 09:08:08PM -0400, frostbyte wrote:

–http-client-body-temp-path=/var/run/nginx/client_body_temp

src/http/modules/perl/ngx_http_perl_module.c
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.10.0/darwin-thread-multi-2level/CORE/perl.h:3240:
error: expected specifier-qualifier-list before ‘bool’

Seems to be a know issue in other contexts.

Looks like problem with perl in your environment.

You may try building basic samples from perlembed manpage to see
what goes wrong, most likely either ccopts as returned by “perl
-MExtUtils::Embed -e ccopts” are incorrect, or they correspond to
other C compiler (check “perl -V” output).

Maxim D.

On Sat, Sep 10, 2011 at 03:17:24PM +0400, Maxim D. wrote:

–error-log-path=/var/log/nginx/error.log
–with-http_realip_module --with-http_addition_module
src/core -I src/event -I src/event/modules -I src/os/unix -I
Seems to be a know issue in other contexts.

Looks like problem with perl in your environment.

You may try building basic samples from perlembed manpage to see
what goes wrong, most likely either ccopts as returned by “perl
-MExtUtils::Embed -e ccopts” are incorrect, or they correspond to
other C compiler (check “perl -V” output).

No, this is known issue with MacOSX system perl.
This is conflict between “bool” definition included via
libkern/OSAtomic.h and perl’s CORE/handy.h.
I do not personaly encounter this since I have perl from macports :slight_smile:


Igor S.

Hello!

On Sat, Sep 10, 2011 at 03:46:26PM +0400, Igor S. wrote:

–conf-path=/etc/nginx/nginx.conf
–with-http_perl_module --with-perl=/usr/bin/perl
-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -I

This is conflict between “bool” definition included via
libkern/OSAtomic.h and perl’s CORE/handy.h.
I do not personaly encounter this since I have perl from macports :slight_smile:

Error message suggests that “bool” is not defined. And looking
though [1] I don’t see bool defined via libkern/OSAtomic.h.
OSTypes.h defines “Boolean”, but not “bool”.

While I feel perl’s handy.h is utterly wrong in it’s aproach to
“bool” (it’s 2011 now, more than 10 years since C99 defined
stdbool.h!), I still doesn’t see what happens here. Additionally,
I see Apple hacks handy.h on it’s system perl to include
stdbool.h[2], and this makes me wonder even more.

Could you please confirm that perlembed sample does actually
compiles fine with Mac OS X system perl without extra includes
used?

[1]
http://www.opensource.apple.com/source/xnu/xnu-1699.22.81/libkern/libkern/OSAtomic.h
[2]
http://www.opensource.apple.com/source/perl/perl-73/5.10/fix/handy.h.ed

Maxim D.

On Sat, Sep 10, 2011 at 05:24:04PM +0400, Maxim D. wrote:

–http-fastcgi-temp-path=/var/run/nginx/fastcgi_temp
-Wunused-function -Wunused-variable -Wno-unused-value -Werror -g
from src/http/modules/perl/ngx_http_perl_module.c:10:
-MExtUtils::Embed -e ccopts" are incorrect, or they correspond to

[1]
http://www.opensource.apple.com/source/xnu/xnu-1699.22.81/libkern/libkern/OSAtomic.h
[2] http://www.opensource.apple.com/source/perl/perl-73/5.10/fix/handy.h.ed

It seems last time when I tried to build nginx with MacOSX system perl
it was Leopard 10.5.x. On Snow Leopard 10.6.8 “#undef bool” in
src/os/unix/ngx_atomic is not required, but
perl -MExtUtils::Embed -e ldopts
issues settings which do not allow to link nginx:
-arch x86_64 -arch i386 -arch ppc -L/usr/local/lib
-L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -lperl
-ldl -lm -lutil -lc

ld: warning: in objs.gcc/src/core/nginx.o, file was built for
unsupported file format which is not the architecture being linked
(i386)


Igor S.

Same error using perl 5.12 from MacPorts:

$ ./configure --prefix=/usr/local --with-cc-opt="-I/usr/local/include
-O2 -Wno-deprecated-declarations" --with-ld-opt="-L/usr/local/lib"
–conf-path=/etc/nginx/nginx.conf
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log
–pid-path=/var/run/nginx/nginx.pid
–lock-path=/var/run/nginx/nginx.lock
–http-client-body-temp-path=/var/run/nginx/client_body_temp
–http-proxy-temp-path=/var/run/nginx/proxy_temp
–http-fastcgi-temp-path=/var/run/nginx/fastcgi_temp
–http-uwsgi-temp-path=/var/run/nginx/uwsgi_temp --with-http_dav_module
–with-http_flv_module --with-mail --with-http_ssl_module
–with-mail_ssl_module --with-http_stub_status_module --with-ipv6
–with-http_perl_module --with-perl=/usr/bin/perl
–with-http_realip_module --with-http_addition_module
–with-http_sub_module --with-http_gzip_static_module
–with-perl=/opt/local/bin/perl
. . .
checking for perl

  • perl version: This is perl 5, version 12, subversion 3 (v5.12.3)
    built for darwin-multi-2level
  • perl interpreter multiplicity found
    . . .

$ make
. . .
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
-Wunused-function -Wunused-variable -Wno-unused-value -Werror -g
-I/usr/local/include -O2 -Wno-deprecated-declarations -pipe -O2 -arch
x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp
-fno-strict-aliasing -fstack-protector -I/opt/local/include
-I/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE -I src/core -I
src/event -I src/event/modules -I src/os/unix -I /opt/local/include -I
objs -I src/http -I src/http/modules -I src/http/modules/perl
-o objs/src/http/modules/perl/ngx_http_perl_module.o
src/http/modules/perl/ngx_http_perl_module.c
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:
/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE/perl.h:3336: error:
expected specifier-qualifier-list before ‘bool’
. . .

Actually I started with the MacPorts nginx 1.0.6 install and then tried
the tarball (getting the same result).

Frosty

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,215048,215096#msg-215096

Hello!

On Sun, Sep 11, 2011 at 08:30:15PM -0400, frostbyte wrote:

–http-proxy-temp-path=/var/run/nginx/proxy_temp

  • perl version: This is perl 5, version 12, subversion 3 (v5.12.3)
    -fno-strict-aliasing -fstack-protector -I/opt/local/include

Actually I started with the MacPorts nginx 1.0.6 install and then tried
the tarball (getting the same result).

It looks like macports also patch handy.h in perl 5.12 and perl
5.14 to use stdbool.h [1][2] since about 3 months. (The perl 5.8
from macports still uses perl’s native handy.h.)

Please try the following patch:

diff --git a/src/os/unix/ngx_atomic.h b/src/os/unix/ngx_atomic.h
— a/src/os/unix/ngx_atomic.h
+++ b/src/os/unix/ngx_atomic.h
@@ -46,9 +46,6 @@ typedef volatile ngx_atomic_uint_t ngx_

#include <libkern/OSAtomic.h>

-/* “bool” conflicts with perl’s CORE/handy.h */
-#undef bool

#define NGX_HAVE_ATOMIC_OPS 1

[1]
https://trac.macports.org/browser/trunk/dports/lang/perl5.12/files/patch-handy.h.stdbool.diff
[2]
https://trac.macports.org/browser/trunk/dports/lang/perl5.14/files/patch-handy.h.stdbool.diff

Maxim D.

perl5.12 via MacPorts:

$ perl -MExtUtils::Embed -e ldopts
-L/opt/local/lib -arch x86_64 -fstack-protector
-L/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE -lperl -ldl -lm
-lutil -lc

$ perl -V
Summary of my perl5 (revision 5 version 12 subversion 3) configuration:

Platform:
osname=darwin, osvers=10.8.0, archname=darwin-multi-2level
uname=‘darwin beta.macosforge.org 10.8.0 darwin kernel version
10.8.0: tue jun 7 16:33:36 pdt 2011; root:xnu-1504.15.3~1release_i386
i386 ’
config_args=’-D inc_version_list=5.12.2/darwin-multi-2level 5.12.2
5.12.1/darwin-multi-2level 5.12.1 5.12.0/darwin-multi-2level 5.12.0 -des
-Dprefix=/opt/local -Dscriptdir=/opt/local/bin
-Dcppflags=-I/opt/local/include -Dccflags=-pipe -O2 -arch x86_64
-Dldflags=-L/opt/local/lib -arch x86_64 -Dvendorprefix=/opt/local
-Dusemultiplicity=y -D cc=/usr/bin/gcc-4.2 -D ld=/usr/bin/gcc-4.2 -D
man1ext=1pm -D man3ext=3pm -D man1dir=/opt/local/share/man/man1p -D
man3dir=/opt/local/share/man/man3p -D
siteman1dir=/opt/local/share/man/man1 -D
siteman3dir=/opt/local/share/man/man3 -D
vendorman1dir=/opt/local/share/man/man1 -D
vendorman3dir=/opt/local/share/man/man3 -D pager=/usr/bin/less -sR’
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc=’/usr/bin/gcc-4.2’, ccflags =’-pipe -O2 -arch x86_64 -fno-common
-DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing
-fstack-protector -I/opt/local/include’,
optimize=’-O3’,
cppflags=’-I/opt/local/include -no-cpp-precomp -pipe -O2 -arch
x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp
-fno-strict-aliasing -fstack-protector -I/opt/local/include’
ccversion=’’, gccversion=‘4.2.1 (Apple Inc. build 5666) (dot 3)’,
gccosandvers=’’
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype=‘long’, ivsize=8, nvtype=‘double’, nvsize=8, Off_t=‘off_t’,
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld=‘env MACOSX_DEPLOYMENT_TARGET=10.6 /usr/bin/gcc-4.2’, ldflags
=’-L/opt/local/lib -arch x86_64 -fstack-protector’
libpth=/opt/local/lib /usr/lib
libs=-lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=’’
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=’ ’
cccdlflags=’ ‘, lddlflags=’-L/opt/local/lib -arch x86_64 -bundle
-undefined dynamic_lookup -fstack-protector’

Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
Built under darwin
Compiled at Aug 29 2011 07:18:38
@INC:
/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/site_perl/5.12.3
/opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/vendor_perl/5.12.3
/opt/local/lib/perl5/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/5.12.3
/opt/local/lib/perl5/site_perl
/opt/local/lib/perl5/vendor_perl
.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,215048,215097#msg-215097

Perfect. Thanks!

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,215048,215107#msg-215107

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.

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 D.

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

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

Summary of my perl5 (revision 5 version 12 subversion 3) configuration:

Platform:
osname=darwin, osvers=11.1.0, archname=darwin-multi-2level
uname=‘darwin macbook-pro-sergey.local 11.1.0 darwin kernel version
11.1.0: tue jul 26 16:07:11 pdt 2011;
root:xnu-1699.22.81~1release_x86_64 x86_64 ’
config_args=’-D inc_version_list=5.12.2/darwin-multi-2level 5.12.2
5.12.1/darwin-multi-2level 5.12.1 5.12.0/darwin-multi-2level 5.12.0 -des
-Dprefix=/opt/local -Dscriptdir=/opt/local/bin
-Dcppflags=-I/opt/local/include -Dccflags=-pipe -O2 -arch x86_64
-Dldflags=-L/opt/local/lib -arch x86_64 -Dvendorprefix=/opt/local
-Dusemultiplicity=y -D cc=/Developer/usr/bin/llvm-gcc-4.2 -D
ld=/Developer/usr/bin/llvm-gcc-4.2 -D man1ext=1pm -D man3ext=3pm -D
man1dir=/opt/local/share/man/man1p -D man3dir=/opt/local/share/man/man3p
-D siteman1dir=/opt/local/share/man/man1 -D
siteman3dir=/opt/local/share/man/man3 -D
vendorman1dir=/opt/local/share/man/man1 -D
vendorman3dir=/opt/local/share/man/man3 -D pager=/usr/bin/less -sR’
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc=’/Developer/usr/bin/llvm-gcc-4.2’, ccflags =’-pipe -O2 -arch
x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp
-fno-strict-aliasing -fstack-protector -I/opt/local/include’,
optimize=’-O3’,
cppflags=’-I/opt/local/include -no-cpp-precomp -pipe -O2 -arch
x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp
-fno-strict-aliasing -fstack-protector -I/opt/local/include’
ccversion=’’, gccversion=‘4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2335.15.00)’, gccosandvers=’’
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype=‘long’, ivsize=8, nvtype=‘double’, nvsize=8, Off_t=‘off_t’,
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld=‘env MACOSX_DEPLOYMENT_TARGET=10.3
/Developer/usr/bin/llvm-gcc-4.2’, ldflags =’-L/opt/local/lib -arch
x86_64 -fstack-protector’
libpth=/opt/local/lib /usr/lib
libs=-lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=’’
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=’ ’
cccdlflags=’ ‘, lddlflags=’-L/opt/local/lib -arch x86_64 -bundle
-undefined dynamic_lookup -fstack-protector’

Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
Built under darwin
Compiled at Sep 18 2011 13:11:44
@INC:
/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/site_perl/5.12.3
/opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/vendor_perl/5.12.3
/opt/local/lib/perl5/5.12.3/darwin-multi-2level
/opt/local/lib/perl5/5.12.3
/opt/local/lib/perl5/site_perl
/opt/local/lib/perl5/vendor_perl


Пробовал nginx 1.0.6 и nginx 1.1.3 одинаково не
собираются с perl модулем.
Без модуля всё отлично.

./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
–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’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:3419,
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/regexp.h:612:
error: expected specifier-qualifier-list before ‘bool’
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/regexp.h:640:
error: expected specifier-qualifier-list before ‘bool’
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/regexp.h:700:
error: expected specifier-qualifier-list before ‘bool’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:3428,
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/cop.h:35:
error: expected specifier-qualifier-list before ‘bool’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:3449,
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/parser.h:47:
error: expected specifier-qualifier-list before ‘bool’
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:4196:
error: expected declaration specifiers or ‘…’ before ‘
token
cc1: warnings being treated as errors
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4196:
warning: type defaults to ‘int’ in declaration of ‘bool’
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4196:
error: ‘bool’ declared as function returning a function
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4913,
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/intrpvar.h:168:
error: field ‘Iutf8locale’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:169:
error: field ‘Irehash_seed_set’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:205:
error: field ‘Icolorset’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:206:
error: field ‘Idirty’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:209:
error: field ‘Itainted’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:233:
error: field ‘Iminus_c’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:234:
error: field ‘Iminus_n’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:235:
error: field ‘Iminus_p’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:236:
error: field ‘Iminus_l’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:237:
error: field ‘Iminus_a’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:238:
error: field ‘Iminus_F’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:239:
error: field ‘Idoswitches’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:240:
error: field ‘Iminus_E’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:252:
error: field ‘Idoextract’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:253:
error: field ‘Isawampersand’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:254:
error: field ‘Iunsafe’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:256:
error: field ‘Isrand_called’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:258:
error: field ‘Itainting’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:377:
error: field ‘Icv_has_eval’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:378:
error: field ‘Itaint_warn’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:421:
error: field ‘Iin_clean_objs’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:422:
error: field ‘Iin_clean_all’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:423:
error: field ‘Inomemok’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:424:
error: field ‘Isavebegin’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:494:
error: field ‘Icollation_standard’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:510:
error: field ‘Inumeric_standard’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:512:
error: field ‘Inumeric_local’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:558:
error: field ‘Ipad_reset_pending’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:710:
error: expected specifier-qualifier-list before
‘destroyable_proc_t’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4946,
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/proto.h:63:
error: ‘Perl_doing_taint’ declared as function returning a function
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4946,
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/proto.h:176:
error: ‘Perl_av_exists’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:299:
error: ‘Perl_cando’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:544:
error: ‘Perl_do_aexec5’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:559:
error: ‘Perl_do_close’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:561:
error: ‘Perl_do_eof’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:600:
error: ‘Perl_do_exec3’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:669:
error: ‘Perl_do_open9’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:675:
error: ‘Perl_do_openn’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:680:
error: ‘Perl_do_print’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:692:
error: ‘Perl_do_seek’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1142:
error: ‘Perl_io_close’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1166:
error: ‘Perl_is_uni_alnum’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1170:
error: ‘Perl_is_uni_idfirst’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1174:
error: ‘Perl_is_uni_alpha’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1178:
error: ‘Perl_is_uni_ascii’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1182:
error: ‘Perl_is_uni_space’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1186:
error: ‘Perl_is_uni_cntrl’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1190:
error: ‘Perl_is_uni_graph’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1194:
error: ‘Perl_is_uni_digit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1198:
error: ‘Perl_is_uni_upper’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1202:
error: ‘Perl_is_uni_lower’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1206:
error: ‘Perl_is_uni_print’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1210:
error: ‘Perl_is_uni_punct’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1214:
error: ‘Perl_is_uni_xdigit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1242:
error: ‘Perl_is_uni_alnum_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1246:
error: ‘Perl_is_uni_idfirst_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1250:
error: ‘Perl_is_uni_alpha_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1254:
error: ‘Perl_is_uni_ascii_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1258:
error: ‘Perl_is_uni_space_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1262:
error: ‘Perl_is_uni_cntrl_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1266:
error: ‘Perl_is_uni_graph_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1270:
error: ‘Perl_is_uni_digit_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1274:
error: ‘Perl_is_uni_upper_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1278:
error: ‘Perl_is_uni_lower_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1282:
error: ‘Perl_is_uni_print_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1286:
error: ‘Perl_is_uni_punct_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1290:
error: ‘Perl_is_uni_xdigit_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1293:
error: ‘Perl_is_ascii_string’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1303:
error: ‘Perl_is_utf8_string’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1313:
error: ‘Perl_is_utf8_string_loclen’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1319:
error: ‘Perl_is_utf8_alnum’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1325:
error: ‘Perl_is_utf8_idfirst’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1331:
error: ‘Perl_is_utf8_idcont’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1337:
error: ‘Perl_is_utf8_alpha’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1343:
error: ‘Perl_is_utf8_ascii’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1349:
error: ‘Perl_is_utf8_space’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1355:
error: ‘Perl_is_utf8_perl_space’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1361:
error: ‘Perl_is_utf8_perl_word’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1367:
error: ‘Perl_is_utf8_cntrl’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1373:
error: ‘Perl_is_utf8_digit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1379:
error: ‘Perl_is_utf8_posix_digit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1385:
error: ‘Perl_is_utf8_graph’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1391:
error: ‘Perl_is_utf8_upper’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1397:
error: ‘Perl_is_utf8_lower’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1403:
error: ‘Perl_is_utf8_print’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1409:
error: ‘Perl_is_utf8_punct’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1415:
error: ‘Perl_is_utf8_xdigit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1421:
error: ‘Perl_is_utf8_mark’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1427:
error: ‘Perl_is_utf8_X_begin’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1433:
error: ‘Perl_is_utf8_X_extend’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1439:
error: ‘Perl_is_utf8_X_prepend’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1445:
error: ‘Perl_is_utf8_X_non_hangul’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1451:
error: ‘Perl_is_utf8_X_L’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1457:
error: ‘Perl_is_utf8_X_LV’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1463:
error: ‘Perl_is_utf8_X_LVT’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1469:
error: ‘Perl_is_utf8_X_LV_LVT_V’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1475:
error: ‘Perl_is_utf8_X_T’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1481:
error: ‘Perl_is_utf8_X_V’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1511:
error: ‘Perl_lex_bufutf8’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1538:
error: ‘Perl_lex_next_chunk’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1606:
error: ‘Perl_grok_numeric_radix’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:2410:
error: ‘Perl_vverify’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:2750:
error: ‘Perl_reg_named_buff_exists’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3135:
error: ‘Perl_sv_2bool’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3310:
error: ‘Perl_sv_derived_from’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3317:
error: ‘Perl_sv_does’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3421:
error: ‘Perl_sv_cat_decode’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3524:
error: ‘Perl_sv_tainted’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:4132:
error: ‘Perl_sv_utf8_downgrade’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:4142:
error: ‘Perl_sv_utf8_decode’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:4331:
error: ‘Perl_sv_destroyable’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6496:
error: ‘Perl_is_gv_magical_sv’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6504:
error: ‘Perl_stashpv_hvname_match’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6523:
error: ‘Perl_ckwarn’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6524:
error: ‘Perl_ckwarn_d’ declared as function returning a function
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’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:3419,
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/regexp.h:612:
error: expected specifier-qualifier-list before ‘bool’
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/regexp.h:640:
error: expected specifier-qualifier-list before ‘bool’
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/regexp.h:700:
error: expected specifier-qualifier-list before ‘bool’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:3428,
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/cop.h:35:
error: expected specifier-qualifier-list before ‘bool’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:3449,
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/parser.h:47:
error: expected specifier-qualifier-list before ‘bool’
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:4196:
error: expected declaration specifiers or ‘…’ before ‘

token
cc1: warnings being treated as errors
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4196:
warning: type defaults to ‘int’ in declaration of ‘bool’
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4196:
error: ‘bool’ declared as function returning a function
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4913,
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/intrpvar.h:168:
error: field ‘Iutf8locale’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:169:
error: field ‘Irehash_seed_set’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:205:
error: field ‘Icolorset’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:206:
error: field ‘Idirty’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:209:
error: field ‘Itainted’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:233:
error: field ‘Iminus_c’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:234:
error: field ‘Iminus_n’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:235:
error: field ‘Iminus_p’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:236:
error: field ‘Iminus_l’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:237:
error: field ‘Iminus_a’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:238:
error: field ‘Iminus_F’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:239:
error: field ‘Idoswitches’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:240:
error: field ‘Iminus_E’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:252:
error: field ‘Idoextract’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:253:
error: field ‘Isawampersand’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:254:
error: field ‘Iunsafe’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:256:
error: field ‘Isrand_called’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:258:
error: field ‘Itainting’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:377:
error: field ‘Icv_has_eval’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:378:
error: field ‘Itaint_warn’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:421:
error: field ‘Iin_clean_objs’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:422:
error: field ‘Iin_clean_all’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:423:
error: field ‘Inomemok’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:424:
error: field ‘Isavebegin’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:494:
error: field ‘Icollation_standard’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:510:
error: field ‘Inumeric_standard’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:512:
error: field ‘Inumeric_local’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:558:
error: field ‘Ipad_reset_pending’ declared as a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/intrpvar.h:710:
error: expected specifier-qualifier-list before
‘destroyable_proc_t’
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4946,
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/proto.h:63:
error: ‘Perl_doing_taint’ declared as function returning a function
In file included from
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/perl.h:4946,
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/proto.h:176:
error: ‘Perl_av_exists’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:299:
error: ‘Perl_cando’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:544:
error: ‘Perl_do_aexec5’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:559:
error: ‘Perl_do_close’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:561:
error: ‘Perl_do_eof’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:600:
error: ‘Perl_do_exec3’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:669:
error: ‘Perl_do_open9’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:675:
error: ‘Perl_do_openn’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:680:
error: ‘Perl_do_print’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:692:
error: ‘Perl_do_seek’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1142:
error: ‘Perl_io_close’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1166:
error: ‘Perl_is_uni_alnum’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1170:
error: ‘Perl_is_uni_idfirst’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1174:
error: ‘Perl_is_uni_alpha’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1178:
error: ‘Perl_is_uni_ascii’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1182:
error: ‘Perl_is_uni_space’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1186:
error: ‘Perl_is_uni_cntrl’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1190:
error: ‘Perl_is_uni_graph’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1194:
error: ‘Perl_is_uni_digit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1198:
error: ‘Perl_is_uni_upper’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1202:
error: ‘Perl_is_uni_lower’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1206:
error: ‘Perl_is_uni_print’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1210:
error: ‘Perl_is_uni_punct’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1214:
error: ‘Perl_is_uni_xdigit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1242:
error: ‘Perl_is_uni_alnum_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1246:
error: ‘Perl_is_uni_idfirst_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1250:
error: ‘Perl_is_uni_alpha_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1254:
error: ‘Perl_is_uni_ascii_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1258:
error: ‘Perl_is_uni_space_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1262:
error: ‘Perl_is_uni_cntrl_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1266:
error: ‘Perl_is_uni_graph_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1270:
error: ‘Perl_is_uni_digit_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1274:
error: ‘Perl_is_uni_upper_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1278:
error: ‘Perl_is_uni_lower_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1282:
error: ‘Perl_is_uni_print_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1286:
error: ‘Perl_is_uni_punct_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1290:
error: ‘Perl_is_uni_xdigit_lc’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1293:
error: ‘Perl_is_ascii_string’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1303:
error: ‘Perl_is_utf8_string’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1313:
error: ‘Perl_is_utf8_string_loclen’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1319:
error: ‘Perl_is_utf8_alnum’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1325:
error: ‘Perl_is_utf8_idfirst’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1331:
error: ‘Perl_is_utf8_idcont’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1337:
error: ‘Perl_is_utf8_alpha’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1343:
error: ‘Perl_is_utf8_ascii’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1349:
error: ‘Perl_is_utf8_space’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1355:
error: ‘Perl_is_utf8_perl_space’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1361:
error: ‘Perl_is_utf8_perl_word’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1367:
error: ‘Perl_is_utf8_cntrl’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1373:
error: ‘Perl_is_utf8_digit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1379:
error: ‘Perl_is_utf8_posix_digit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1385:
error: ‘Perl_is_utf8_graph’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1391:
error: ‘Perl_is_utf8_upper’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1397:
error: ‘Perl_is_utf8_lower’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1403:
error: ‘Perl_is_utf8_print’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1409:
error: ‘Perl_is_utf8_punct’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1415:
error: ‘Perl_is_utf8_xdigit’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1421:
error: ‘Perl_is_utf8_mark’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1427:
error: ‘Perl_is_utf8_X_begin’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1433:
error: ‘Perl_is_utf8_X_extend’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1439:
error: ‘Perl_is_utf8_X_prepend’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1445:
error: ‘Perl_is_utf8_X_non_hangul’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1451:
error: ‘Perl_is_utf8_X_L’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1457:
error: ‘Perl_is_utf8_X_LV’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1463:
error: ‘Perl_is_utf8_X_LVT’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1469:
error: ‘Perl_is_utf8_X_LV_LVT_V’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1475:
error: ‘Perl_is_utf8_X_T’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1481:
error: ‘Perl_is_utf8_X_V’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1511:
error: ‘Perl_lex_bufutf8’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1538:
error: ‘Perl_lex_next_chunk’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:1606:
error: ‘Perl_grok_numeric_radix’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:2410:
error: ‘Perl_vverify’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:2750:
error: ‘Perl_reg_named_buff_exists’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3135:
error: ‘Perl_sv_2bool’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3310:
error: ‘Perl_sv_derived_from’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3317:
error: ‘Perl_sv_does’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3421:
error: ‘Perl_sv_cat_decode’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:3524:
error: ‘Perl_sv_tainted’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:4132:
error: ‘Perl_sv_utf8_downgrade’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:4142:
error: ‘Perl_sv_utf8_decode’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:4331:
error: ‘Perl_sv_destroyable’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6496:
error: ‘Perl_is_gv_magical_sv’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6504:
error: ‘Perl_stashpv_hvname_match’ declared as function returning a
function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6523:
error: ‘Perl_ckwarn’ declared as function returning a function
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/proto.h:6524:
error: ‘Perl_ckwarn_d’ declared as function returning a function

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

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,215048,215355#msg-215355

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs