-----BEGIN PGP SIGNED MESSAGE----- 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" | export CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED -g" 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 |http://perl.apache.org/docs/2.0/devel/debug/c.html#Analyzing_Dumped_Core_Files 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/Build.pm 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 ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIPwb+dbiP+9ubjBwRAr4UAJ0YwBYllpaXTwJn1Sg56cOGfugC1gCfbXUd hhQxlrvlZ47zCC6LEU620HU= =CFEg -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]