You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Lucas Vogel <lu...@home.com> on 1999/09/04 23:36:15 UTC

config/4960: configure script doesn't read gcc as ANSI C compiler

>Number:         4960
>Category:       config
>Synopsis:       configure script doesn't read gcc as ANSI C compiler
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Sep  4 14:40:00 PDT 1999
>Last-Modified:
>Originator:     lucas7@home.com
>Organization:
apache
>Release:        1.3.9
>Environment:
Caldera OpenLinux, linux kernel version 2.2.5
uname -a returns:
Linux cx629828-a.chnd1.az.home.com 2.2.5 #1 Sat Apr 3 21:49:22 MST 1999 i586 unk
nown
gcc -v returns:
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)    
>Description:
When running the configure script I get this error message: 

[root@cx629828-a apache]# ./configure
Configuring for Apache, Version 1.3.9
 + Warning: Configuring Apache with default settings.
 + This is probably not what you really want.
 + Please read the README.configure and INSTALL files
 + first or at least run './configure --help' for
 + a compact summary of available options.
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux 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!                    
>How-To-Repeat:
./configure
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]