1 Aug 2008 23:38
RE: Can't compile Apache2.2.9 + ModPerl2.0.4
Mario Rodríguez <mario_irs <at> hotmail.com>
2008-08-01 21:38:03 GMT
2008-08-01 21:38:03 GMT
Hi list:
I need to compile mod_perl as static module in apache, i try to compile like oleg with a few changes, but i got
different problems when i hit make, my line of configuration in mod_perl is:
perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=../httpd-2.2.9/ MP_AP_CONFIGURE="
--prefix=/usr/local/apache3 --with-mpm=prefork --enable-rewrite --with-included-apr"
And the problems are:
repuesto mod_perl-2.0.4 # make
cd "src/modules/perl" && make
make[1]: se ingresa al directorio `/root/apache_modperl2/mod_perl-2.0.4/src/modules/perl'
i686-pc-linux-gnu-gcc -I/root/apache_modperl2/mod_perl-2.0.4/src/modules/perl
-I/root/apache_modperl2/mod_perl-2.0.4/xs
-I/root/apache_modperl2/mod_perl-2.0.4/../httpd-2.2.9/include
-I/root/apache_modperl2/mod_perl-2.0.4/../httpd-2.2.9/srclib/apr/include
-I/root/apache_modperl2/mod_perl-2.0.4/../httpd-2.2.9/srclib/apr-util/include
-I/root/apache_modperl2/mod_perl-2.0.4/../httpd-2.2.9/os/unix -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i686-linux/CORE
-DMOD_PERL -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror
-Wdeclaration-after-statement -DMP_COMPAT_1X -g -DMP_DEBUG -DMP_TRACE -c mod_perl.c
In file included from /root/apache_modperl2/mod_perl-2.0.4/../httpd-2.2.9/include/ap_config.h:25,
from /root/apache_modperl2/mod_perl-2.0.4/../httpd-2.2.9/include/httpd.h:43,
from modperl_apache_includes.h:27,
from mod_perl.h:20,
from mod_perl.c:17:
/root/apache_modperl2/mod_perl-2.0.4/../httpd-2.2.9/srclib/apr/include/apr.h:285: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t'
(Continue reading)
RSS Feed