hello.
i'm having more of the dreaded mod_perl RPM problems -
this time while trying to install libapreq.
i copied the '*.h' files to /usr/include/apache as
detailed in the guide, but wasn't good enough for my
setup. i'm using the Redhat secure server based on
apache 1.3.6 and mod_perl-1.21.
anyway here's the output (which is pretty much
meaningless to me). oh, and i had to modify the
Makefile.PL because for some reason it wasn't
including /usr/include/apache (i hope that wasn't what
caused all this - but before i did that, it just said
that it couldn't find things like 'httpd.h').
TIA!
cp Request.pm blib/lib/Apache/Request.pm
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux
-I/usr/lib/perl5/5.00503
/usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.00503/ExtUtils/typemap Request.xs
>xstmp.c && mv xstmp.c Request.c
cc -c -I../c -I/usr/include/apache
-I./auto/Apache/include
-I./auto/Apache/include/modules/perl -I -Dbool=char
-DHAS_BOOL -O2-DVERSION=\"0.31\"
-DXS_VERSION=\"0.31\" -fpic
-I/usr/lib/perl5/5.00503/i386-linux/CORE Request.c
In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1276,
from
/usr/include/apache/mod_perl.h:41,
from Request.xs:2:
/usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217:
parse error before `bool'
/usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217:
warning: no semicolon at end of struct or union
/usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:218:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:227:
parse error before `}'
/usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:268:
field `cx_subst' has incomplete type
In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1280,
from
/usr/include/apache/mod_perl.h:41,
from Request.xs:2:
/usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135:
parse error before `bool'
/usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135:
warning: no semicolon at end of struct or union
In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2109,
from
/usr/include/apache/mod_perl.h:41,
from Request.xs:2:
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27:
parse error before `Perl_Gv_AMupdate'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33:
parse error before `Perl_avhv_exists_ent'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98:
parse error before `Perl_do_aexec'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:
parse error before `Perl_do_close'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:
parse error before `bool'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102:
parse error before `Perl_do_eof'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103:
parse error before `Perl_do_exec'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:115:
parse error before `Perl_do_open'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:116:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118:
parse error before `Perl_do_print'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121:
parse error before `Perl_do_seek'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:149:
parse error before `bool'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182:
parse error before `Perl_hv_exists'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183:
parse error before `Perl_hv_exists_ent'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204:
parse error before `Perl_io_close'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522:
parse error before `Perl_sv_2bool'
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554:
parse error before `Perl_sv_derived_from'
/usr/lib/perl5/5.00503/i386-linux/CORE/p