Amir wrote: > 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 > ---------------------
You are trying to use a beta version of mod_perl-2.0. Use mod_perl 1.27 with Apache 1.3.x for now if you want something stable. mod_perl 1.99_04 works with Apache 2.0.39 only. mod_perl 1.99_05 works with Apache 2.0.40. This will solve the problem that you've reported. When reporting problems remember to follow either http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems or http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems both linked from the shortcuts menu on any page at perl.apache.org. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com