On 4/26/2000, Steve Hay wrote about "Problem compiling mod_perl 1.23 on
Solaris 2.4"
I am experiencing what appears to be a very similar problem, but with
more recent modules and OS. I am running mod_perl 1.24, Perl 5.6.0,
Apache 1.3.12, Solaris 2.6
Perl Makefile.PL with options runs successfully.
When I run make, I get output nearly identical to that reported by Steve
Hay. Here are the last few lines output from my make:
"/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE/perl.h", line 1929:
warning: operand treated as unsigned: 0x87654321
"./mod_perl.h", line 584: warning: macro replacement within a string
literal
"./mod_perl.h", line 587: warning: macro replacement within a string
literal
"./mod_perl.h", line 590: warning: macro replacement within a string
literal
"./mod_perl.h", line 593: warning: macro replacement within a string
literal
"mod_perl.c", line 347: fatal: macro recursion
cc: acomp failed for mod_perl.c
make[5]: *** [mod_perl.o] Error 2
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/export/home/fmiller/apache_1.3.12/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/export/home/fmiller/apache_1.3.12'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/export/home/fmiller/apache_1.3.12'
make: *** [apaci_httpd] Error 2
I have previously successfully installed Apache 1.3.12 on this system
without mod_perl.
Steve Hay reported that he solved his problem by re=compiling
"everything with the -Xa compiler flag".
I confess to being a bit naive when it comes to compiling and
installing.
Are there some simple steps I should follow to proceed?
Thanks for all the support.
Fred Miller
--
[EMAIL PROTECTED]
http://titan.iwu.edu/~fmiller/