Hi,
I noticed in 'lib/Apache/Build.pm' that the -Ae option was being added
even if the compiler was gcc. This options causes an error something
like the following:
... missing '(' after predicate ... error
In the code below (lib/Apache/Build.pm) I removed the '#' comment from
in front of:
return if $Config{cc} eq 'gcc'; #XXX?"
to work around this problem and things compiled just fine.
sub ccopts_hpux {
my $cflags = shift;
return if $Config{cc} eq 'gcc'; #XXX?
return if $$cflags =~ /(-Ae|\+e)/;
$$cflags .= " -Ae ";
}
Details...
Versions: perl-5.6.1 (non-threaded)
apache-2.0.40 (mpm-prefork)
mod_perl-1.99_05
OS: HPUX 11
Compiler: gcc version 3.2 20020708 (experimental)
Phil