[Sunhelp] PHP3 support in Apache?

Gregory Leblanc gleblanc at cu-portland.edu
Sun Jan 2 10:01:59 CST 2000


Paul Khoury wrote:
> 
> I'm having trouble compiling Apache/PHP3
> I did a fresh install of gcc 2.8.0, and got the following error while doing "configure":
> 
> Creating Makefile in src
>  + configured for Solaris 260 platform
>  + setting C compiler to gcc
>  + setting C pre-processor to gcc -E
>  + checking for system header files
>  + adding selected modules
>  + checking sizeof various data types
>  + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. This is most likely because your C compiler
> ** is not ANSI. Apache requires an ANSI C Compiler, such
> ** as gcc. The above error message from your compiler
> ** will also provide a clue.
>  Aborting!
> #
> 
> Am I doing something wrong here?
> I downloaded 2.8.0 from nce.sun.ca (aka sunfreeware.com), installed using pkgadd as usual,
> installed okay, but I can't compile anything.

I'd check to see which header files you have installed for GCC.  You
might also find a config.log file in your Apache sources directory that
can tell you exactly where/what it doesn't like about your compiler.
	Greg






More information about the SunHELP mailing list