I've been trying for days to build mod_perl for Mac OS X Server. Whether I
attempt to build a DSO module, or build mod_perl into Apache, I always
receive this error:


cc -O3 -arch
ppc -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -I/System/L
brary/Perl/rhapsody/CORE  -DMOD_PERL_VERSION=\"1.21\" -DMOD_PERL_STRING_VERS
ION
\"mod_perl/1.21\" -DNO_PERL_DISPATCH=1 -DNO_PERL_POST_READ_REQUEST=1 -DNO_PE
RL_
RANS=1 -DNO_PERL_HEADER_PARSER=1 -DNO_PERL_ACCESS=1 -DNO_PERL_AUTHEN=1 -DNO_
PER
_AUTHZ=1 -DNO_PERL_TYPE=1 -DNO_PERL_FIXUP=1 -DNO_PERL_LOG=1 -DNO_PERL_INIT=1
 -D
O_PERL_CLEANUP=1 -DNO_PERL_STACKED_HANDLERS=1 -DNO_PERL_METHOD_HANDLERS=1 -D
NO_
ERL_DIRECTIVE_HANDLERS=1 -DNO_PERL_SECTIONS=1 -DNO_PERL_SSI=1  -I../../os/un
ix
I../../include   -DMAC_OS_X_SERVER -DMOD_PERL -DUSE_HSREGEX -DUSE_EXPAT -I..
/..
lib/expat-lite -DMOD_PERL -c mod_perl.c
mod_perl.h:40: header file 'EXTERN.h' not found
mod_perl.h:41: header file 'perl.h' not found
mod_perl.h:45: header file 'XSUB.h' not found
mod_perl.h:63: header file 'patchlevel.h' not found
mod_perl.h:297: undefined type, found `U32'
mod_perl.h:993: undefined type, found `U32'
mod_perl.h:1000: undefined type, found `Sighandler_t'
mod_perl.h:1001: undefined type, found `I32'
mod_perl.h:1005: undefined type, found `HV'
mod_perl.h:1014: undefined type, found `SV'
mod_perl.h:1019: undefined type, found `SV'
mod_perl.h:1042: undefined type, found `HV'
mod_perl.h:1043: undefined type, found `SV'
mod_perl.h:1043: undefined type, found `AV'
mod_perl.h:1047: undefined type, found `SV'
mod_perl.h:1047: undefined type, found `SV'
mod_perl.h:1047: undefined type, found `AV'
mod_perl.h:1048: undefined type, found `SV'
mod_perl.h:1048: undefined type, found `SV'
mod_perl.h:1048: undefined type, found `SV'
mod_perl.h:1049: undefined type, found `SV'
mod_perl.h:1049: undefined type, found `SV'
mod_perl.h:1050: undefined type, found `SV'
mod_perl.h:1050: undefined type, found `SV'
mod_perl.h:1050: undefined type, found `SV'
mod_perl.h:1051: undefined type, found `AV'
mod_perl.h:1073: undefined type, found `SV'
mod_perl.h:1076: undefined type, found `SV'
mod_perl.h:1081: undefined type, found `SV'
mod_perl.h:1083: undefined type, found `SV'
mod_perl.h:1083: undefined type, found `SV'
mod_perl.h:1084: undefined type, found `SV'
mod_perl.h:1089: undefined type, found `SV'
mod_perl.h:1090: undefined type, found `SV'
mod_perl.h:1091: undefined type, found `SV'
mod_perl.h:1092: undefined type, found `SV'
mod_perl.h:1093: undefined type, found `SV'
mod_perl.h:1094: undefined type, found `SV'
mod_perl.h:1095: undefined type, found `SV'
mod_perl.h:1096: undefined type, found `SV'
mod_perl.h:1096: undefined type, found `SV'
mod_perl.h:1097: undefined type, found `HV'
mod_perl.h:1097: undefined type, found `SV'
mod_perl.h:1099: undefined type, found `SV'
mod_perl.h:1100: undefined type, found `SV'
mod_perl.h:1104: undefined type, found `CV'
mod_perl.h:1106: undefined type, found `I32'
mod_perl.h:1107: undefined type, found `SV'
mod_perl.h:1110: undefined type, found `I32'
mod_perl.h:1116: undefined type, found `SV'
mod_perl.h:1118: undefined type, found `SV'
mod_perl.h:1118: undefined type, found `SV'
mod_perl.h:1119: undefined type, found `SV'
mod_perl.h:1148: undefined type, found `HV'
mod_perl.h:1149: undefined type, found `HV'
mod_perl.h:1150: undefined type, found `HV'
mod_perl.h:1151: undefined type, found `HV'
mod_perl.h:1153: undefined type, found `HV'
mod_perl.h:1154: undefined type, found `AV'
mod_perl.h:1154: undefined type, found `I32'
mod_perl.h:1216: undefined type, found `SV'
mod_perl.h:1216: undefined type, found `CV'
mod_perl.h:1222: undefined type, found `SV'
mod_perl.c:68: undefined type, found `IV'
mod_perl.c:74: undefined type, found `PerlInterpreter'
mod_perl.c:75: undefined type, found `AV'
mod_perl.c:76: undefined type, found `AV'
mod_perl.c:279: illegal expression, found `)'
mod_perl.c:279: illegal function call, found `orig_inc'
mod_perl.c:283: illegal expression, found `)'
mod_perl.c:283: illegal function call, found `cleanup_av'
mod_perl.c:320: undefined type, found `SV'
mod_perl.c:320: undefined type, found `SV'
mod_perl.c:327: undefined type, found `SV'
mod_perl.c:328: undefined type, found `HV'
mod_perl.c:328: illegal expression, found `)'
mod_perl.c:328: syntax error, missing `;' after `)'
mod_perl.c:362: undefined type, found `U32'
mod_perl.c:367: undefined type, found `GV'
mod_perl.c:440: undefined type, found `GV'
mod_perl.c:440: undefined type, found `GV'
mod_perl.c:452: undefined type, found `I32'
mod_perl.c:453: undefined type, found `SV'
mod_perl.c:454: undefined type, found `SV'
mod_perl.c:474: undefined type, found `PerlIO'
mod_perl.c:475: undefined type, found `SV'
mod_perl.c:515: undefined type, found `SV'
mod_perl.c:516: undefined type, found `GV'
mod_perl.c:557: undefined type, found `GV'
mod_perl.c:557: undefined type, found `GV'
mod_perl.c:562: undefined type, found `GV'
mod_perl.c:562: undefined type, found `GV'
mod_perl.c:562: undefined type, found `GV'
mod_perl.c:562: undefined type, found `GV'
mod_perl.c:570: undefined type, found `GV'
mod_perl.c:570: undefined type, found `GV'
mod_perl.c:570: undefined type, found `GV'
mod_perl.c:570: undefined type, found `GV'
mod_perl.c:641: undefined type, found `GV'
mod_perl.c:641: undefined type, found `GV'
mod_perl.c:641: undefined type, found `GV'
mod_perl.c:641: undefined type, found `GV'
mod_perl.c:642: undefined type, found `GV'
mod_perl.c:642: undefined type, found `GV'
mod_perl.c:676: undefined type, found `GV'
mod_perl.c:754: undefined type, found `SV'
mod_perl.c:802: undefined type, found `SV'
mod_perl.c:802: undefined type, found `SV'
mod_perl.c:841: undefined type, found `GV'
mod_perl.c:841: undefined type, found `GV'
mod_perl.c:842: undefined type, found `SV'
mod_perl.c:842: undefined type, found `SV'
mod_perl.c:854: undefined type, found `SV'
mod_perl.c:854: undefined type, found `SV'
mod_perl.c:1072: undefined type, found `SV'
mod_perl.c:1073: undefined type, found `I32'
mod_perl.c:1118: undefined type, found `SV'
mod_perl.c:1324: undefined type, found `SV'
mod_perl.c:1324: undefined type, found `AV'
mod_perl.c:1332: illegal expression, found `char'
mod_perl.c:1333: illegal expression, found `int'
mod_perl.c:1334: illegal expression, found `char'
mod_perl.c:1482: illegal expression, found `)'
mod_perl.c:1482: illegal function call, found `perl_bless_request_rec'
mod_perl.c:1494: undefined type, found `I32'
mod_perl.c:1531: undefined type, found `SV'
mod_perl.c:1553: illegal statement, missing `;' after `)'
mod_perl.c:1560: undefined type, found `SV'
mod_perl.c:1562: undefined type, found `SV'
mod_perl.c:1582: undefined type, found `SV'
make[3]: *** [mod_perl.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make: *** [apache_httpd] Error 2


I've looked in the makefile and everything appears to be okay -- am I
missing something?

Thanks,
Jason

Reply via email to