-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
I had the following problems building mod_perl 1.99_9 on AIX 4.3.3:
A. The download from perl.apache.org/download/ was named "mod_perl-2.0-current.tar.tar". I think it should have been *.gz.
It is tar.gz, I have just verified. What client were you using to download it? It must have messed things up. Try:
wget http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz
or with some other client.
B. While running make, there was a conflict in the definition of "__attribute__" between .../perl5/5.8.0/aix/CORE/config.h line 41 and .../apache2/include/apr.h line 98. I commented out the definition in config.h to get it to compile.
Hmm, there is not much we can do here. Neither of the two headers is under our control. I guess we could try to undefine __attribute__ before including the second header file. What was the exact error?
C. Also while running make, there was a syntax error in modperl_perl_global.c at line 317. Apparanantly, the AIX compiler (xlc_r) doesn't like the trailing comma at the end of the enum list.
Philippe has already fixed this one in cvs. Please try using the cvs version: http://perl.apache.org/download/source.html#Development_mod_perl_2_0_Source_Distribution
D. The "make test" went south from there. The output is appended at the end of this email.
BTW, I upgraded the compiler yesterday from IBM's latest. The Perl and Apache builds were from scratch using the upgraded complier.
Great. Can you take one of the failing tests e.g. apache/scanhdrs2 and run only it to get and debug the core file? Simply run it as:
t/TEST -v apache/scanhdrs2
then get the core file's backtrace. see below.
[EMAIL PROTECTED]> gdb /usr/local/apache2/bin/httpd -core /usr/local/mod_perl-1.99_09/t/core GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-ibm-aix4.3.3.0"...
warning: core file may not match specified executable file.
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
#0 0xd0bfb4d4 in boot_HTML__Parser () from
/usr/local/mw/lib/perl5/site_perl/5.6.1/aix/auto/HTML/Parser/Parser.so
(gdb)
now you need to type 'where' or 'bt' to get the trace. Though it's already looks interesting that it fails in a module that we don't use ourselves. Looks like LWP loads it.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]