Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 1195
Status: resolved
Priority: 0/
Queue: mod_perl

People
Owner: pgollucci [...] p6m7g8.com
Requestors: torkil [...] flug.fo
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.99_04
Fixed in: (no value)



Subject: apr_perlio.c compilation error with perl.5.8.0
mod_perl-1.99_04 fails compiling in apr_perlio.c with gcc-2.95.2 on linux-2.2.14 where apache-2.0.39 and perl-5.8.0 have been compiled and installed successfully. It works, or is skipped, with perl-5.6.1. Compilation goes like this: $ make ---8<--- gcc -c -I/usr/local/src/mod_perl-1.99_04/src/modules/perl -I/usr/local/src/mod_perl-1.99_04/xs -I/usr/local/apache2/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm -DMOD_PERL -O2 -m486 -fno-strength-reduce -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" apr_perlio.c apr_perlio.c: In function `PerlIOAPR_pushed': apr_perlio.c:34: too many arguments to function `PerlIOBase_pushed' apr_perlio.c: At top level: apr_perlio.c:370: warning: initialization makes pointer from integer without a cast apr_perlio.c:371: warning: initialization makes integer from pointer without a cast apr_perlio.c:373: warning: initialization makes pointer from integer without a cast apr_perlio.c:374: warning: initialization from incompatible pointer type apr_perlio.c:375: warning: initialization from incompatible pointer type apr_perlio.c:376: warning: initialization from incompatible pointer type apr_perlio.c:377: warning: initialization from incompatible pointer type apr_perlio.c:379: warning: initialization from incompatible pointer type apr_perlio.c:380: warning: initialization from incompatible pointer type apr_perlio.c:381: warning: initialization from incompatible pointer type apr_perlio.c:383: warning: initialization from incompatible pointer type apr_perlio.c:384: warning: initialization from incompatible pointer type apr_perlio.c:385: warning: initialization from incompatible pointer type apr_perlio.c:390: warning: initialization from incompatible pointer type apr_perlio.c:392: warning: initialization from incompatible pointer type apr_perlio.c:397: warning: excess elements in struct initializer apr_perlio.c:397: warning: (near initialization for `PerlIO_APR') make[3]: *** [apr_perlio.o] Error 1 make[3]: Leaving directory `/usr/local/src/mod_perl-1.99_04/xs/APR/PerlIO' make[2]: *** [subdirs] Error 2 make[2]: Leaving directory `/usr/local/src/mod_perl-1.99_04/xs/APR' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/usr/local/src/mod_perl-1.99_04/xs' make: *** [subdirs] Error 2
These are unsupported versions of httpd and mod_perl. Also it works in 5.6.1 because that version of perl doesn't have PerlIO Layers, so it takes a different compile path.