Hello,
I am trying to compile mod_perl in my Redhat Linux 7.2.
I run perl 5.8.0,

when I do "perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2"
Its looks fine (I get no errors)
but then when I try to do "make"
I get the following:
-----------------------------
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory `/usr/src/mod_perl-1.99_04/src/modules/perl'
gcc -I/usr/src/mod_perl-1.99_04/src/modules/perl
-I/usr/src/mod_perl-1.99_04/xs -I/usr/local/apache2/include
-fno-strict-aliasing -I/usr/local/include  -I/usr/include/gdbm
-I/usr/local/lib/perl5/5.8.0/i586-linux/CORE -DMOD_PERL -O2 -fpic \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
mod_perl.c: In function `modperl_register_hooks':
mod_perl.c:511: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
mod_perl.c:511: too few arguments to function
`ap_register_output_filter'
mod_perl.c:515: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
mod_perl.c:515: too few arguments to function `ap_register_input_filter'
mod_perl.c:519: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
mod_perl.c:519: too few arguments to function
`ap_register_output_filter'
mod_perl.c:523: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
mod_perl.c:523: too few arguments to function `ap_register_input_filter'
make[1]: *** [mod_perl.lo] Error 1
make[1]: Leaving directory `/usr/src/mod_perl-1.99_04/src/modules/perl'
make: *** [modperl_lib] Error 2
---------------------

I am a newbie to Linux and I got pretty much in lost here,
If someone could help I will appreciate it.

Thanks in advance,
And Best Regards ...
Amir.


Reply via email to