On 19 Aug 2002, Bjarte Kileng wrote: > I get an error when I try to compile mod_perl. I have tried to > read the manuals, but I do not find anything appropriate. > I am using Perl 5.6.1 and httpd-2.0.40. > > Apache builds and installs without problems. From the > httpd-2.0.40 directory this is done using: > ./configure --prefix=/usr/local/apache-2.0 --with-mpm=prefork > make > make install > Then I try to build mod_perl. I picked up > mod_perl-2.0-current.tar.gz which unpacks as mod_perl-1.99_04. > In the mod_perl-1.99.04 directory I try > perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 > This works fine. No errors or warnings. > Then I try > make > This gives the following output: [ .. ] > -c mod_perl.c && mv mod_perl.o mod_perl.lo 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' [ .. ]
With apache-2.0.40, you should use the cvs version of mod_perl-2. -- best regards, randy kobes