You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jim Johnson <ji...@kc4hw.net> on 2002/04/09 13:36:53 UTC

gcc and installation problem

Hello Everyone, 

I am a Linux novice.  Have installed Red Hat 7.2 and kernel 2.4.18 on a 
P100.  Wanted to install Apache 1.3.24 and have run into some difficulty..

Here is the output from ./configure --prefix=/usr/local/apache

Configuring for Apache, Version 1.3.24
   + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
    + configured for Linux platform
    + setting C complier to gcc
    + setting C pre-processor to gcc -E
    + checking for system header files
    + adding selected modules
    + using builtin Expat
    + checking sizeof various data types
    + doing sanity check on compiler and options
   ** A test compliation with your Makefile configuration
   ** failed. The below error output from the compilation
   ** test will give you an idea what is failing. Note that
   ** Apache requires an ANSI C Complier, such as gcc.

=========== Error Output of sanity check ===============
cd ..; gcc  _DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-
lite - DNO_DL_NEEDED `./apaci`      -o helpers/dummy 
helpers/dummy.c     -lm
=========== End of Error Report =====================

 Aborting!
[jim@localhost apache_1.3.24]$ gcc-v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)

I check the FAQ and found this info...

Your system's C compiler is garbage.
        Some operating systems include a default C compiler that is either 
   not ANSI C-compliant or suffers from other deficiencies. The usual
        recommendation in cases like this is to acquire, install, and use       
        gcc.

So finally, is this what has to be done.... reinstall gcc?  Or can this one 
be fixed?  

Is there a CVS somewhere where I can just update my current 
installation?

Any help appreciated!

Thanks


Jim Johnson, Melbourne, Florida
jim@kc4hw.net - http://www.kc4hw.net
DXCluster RF Connection: 144.97
DXCluster Telnet: Coming Soon

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org