nginx 1.0.6 perl module build failure

SergeyQw nginx-forum at nginx.us
Sun Sep 18 13:50:33 UTC 2011


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

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



More information about the nginx mailing list