From: Jarkko Hietaniemi Date: Thu, 21 Mar 2002 18:41:57 +0000 (+0000) Subject: Assuming the Apache 1.3 -D_GNU_SOURCE problem X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a08f42e9ba7f15d15d2c01f54d34c1e0cef4510c;p=p5sagit%2Fp5-mst-13.2.git Assuming the Apache 1.3 -D_GNU_SOURCE problem does not get fixed in time. p4raw-id: //depot/perl@15398 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 1300baf..76ba722 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -2600,6 +2600,16 @@ One cannot call Perl using the C syntax, that is, C works, but for example C doesn't. The exact reason isn't known but the current suspect is the F library. +=head2 Apache 1.3 Doesn't Build With -D_GNU_SOURCE + +In Linux, building Apache 1.3 with mod_perl 1.3 and B Perl +5.8.0 does not work because starting from 5.8.0 a threaded Perl uses +the -D_GNU_SOURCE flag. Apache 1.3 doesn't like that flag and the +compilation dies in function prototype conflicts. This may or +not get fixed in later releases of Apache 1.3 (fixing the problem +in Perl is less likely since Perl now needs the -D_GNU_SOURCE>). +The workaround is to use a non-threaded Perl or Apache 2.0. + =head2 lib/ftmp-security tests warn 'system possibly insecure' Don't panic. Read INSTALL 'make test' section instead.