Hello!
I try to compile and build latest apache 2.2, mod_perl2 and Embperl
without success.
I build Perl 5.8.8 with: ./Configure -des -Dprefix=/opt/perl -Uusethreads.
I unpacked the Apache 2.2.3 tar-ball: tar xvjf httpd-2.2.3.tar.bz2
I unpack and build mod_perl with the above apache statically:
tar xvzf mod_perl-2.0.2.tar.gz
/opt/perl/bin/perl Makefile.PL MP_USE_STATIC=1 \
MP_AP_PREFIX="/home/oskar/build/httpd-2.2.3" \
MP_AP_CONFIGURE="--with-mpm=prefork --with-layout=Apache --disable-so"
Note! I build mod_perl with the newly build perl5.8.8
Then I try to make mod_perl. This occurs in error:
[EMAIL PROTECTED] mod_perl-2.0.2]$ make
cd "src/modules/perl" && make
make[1]: Entering directory
`/home/oskar/build/mod_perl-2.0.2/src/modules/perl'
cc -I/home/oskar/build/mod_perl-2.0.2/src/modules/perl
-I/home/oskar/build/mod_perl-2.0.2/xs
-I/home/oskar/build/httpd-2.2.3/include
-I/home/oskar/build/httpd-2.2.3/srclib/apr/include
-I/home/oskar/build/httpd-2.2.3/srclib/apr-util/include
-I/home/oskar/build/httpd-2.2.3/os/unix -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include
-I/opt/perl/lib/5.8.8/i686-linux/CORE -DMOD_PERL -DMP_COMPAT_1X -O2 -c
mod_perl.c
In file included from /home/oskar/build/httpd-2.2.3/include/ap_config.h:25,
from /home/oskar/build/httpd-2.2.3/include/httpd.h:43,
from modperl_apache_includes.h:26,
from mod_perl.h:19,
from mod_perl.c:16:
/home/oskar/build/httpd-2.2.3/srclib/apr/include/apr.h:270: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘apr_off_t’
I get the same error if I do the same thing against apache2.0.59.
Regards,
Oskar