perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <>
Subject Re: Bus Error with mod_perl 2.04
Date Thu, 29 May 2008 19:41:50 GMT
Hash: SHA1

David E. Wheeler wrote:

| perl-5.10.0> sh Configure -des \
|  -Duseshrplib\
|  -Dprefix=/usr/local/perl-5.10.0.d \
|  -Doptimize='-g'
- -g3 -O0 -DDEBUGGING will get you just about everything...

| httpd-2.2.8>export CPPFLAGS="-I/usr/local/include"
| export LDFLAGS="-L/usr/local/lib"
in bash, you don't need to use the exports like that....

| So I added the -g to CFLAGS. I didn't have that before. Instead I used
| --enable-maintainer-mode as documented in
This merely adds -DAP_DEBUG which does not include -g, so yes, thats out of date.

CFLAGS="-g3 -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" ..... ./configure
should get you just about everything.

| Ah, bloody hell! Now I get this:
| # make
| -Werror
If you just want to see it compile, edit lib/Apache2/ and remove
- -Werror stuff.

in todo/bugs_build I see that I wrote
==gcc 4.x and higher compiles break under -Werror
==[pgollucci volunteers]

that might be fixed because I did build it recently on FreeBSD with 4.2.x.....

- -Wdeclaration-after-statement -DMP_COMPAT_1X -DMP_DEBUG
| In file included from
| /usr/local/perl-5.10.0.d/lib/5.10.0/darwin-2level/CORE/perl.h:2382,
|                  from modperl_perl_includes.h:65,
|                  from modperl_common_includes.h:24,
|                  from mod_perl.h:21,
|                  from mod_perl.c:17:
| /usr/local/perl-5.10.0.d/lib/5.10.0/darwin-2level/CORE/handy.h:85:1:
| error: "bool" redefined
Definitely a perl 5.10 bug in Darwin.  Take it to p5p :)
You are not the first to post this.

| WTF? I could have sworn I built a debugging mod_perl before. Could it be
| choking on Perl 5.10 here, too?

- --
- ------------------------------------------------------------------------
Philip M. Gollucci (
Senior System Admin - Riderway, Inc. /
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message