Error compiling Apache 2.2

Discussion in 'Installation/Configuration' started by aldoh, Nov 14, 2006.

  1. aldoh

    aldoh New Member


    Im very new to linux and to apache. Im trying to configure it. I just download the last stable distibution of apache and run the command: /.configure, returning an error. I have fedora and the error in the config.log is:

    configure:4282: gcc -E -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE conftest.c
    In file included from /usr/lib/gcc/i386-redhat-linux/4.1.1/include/syslimits.h:7,
    from /usr/lib/gcc/i386-redhat-linux/4.1.1/include/limits.h:11,
    from conftest.c:10:
    /usr/lib/gcc/i386-redhat-linux/4.1.1/include/limits.h:122:61: error: limits.h: No such file or directory
    configure:4288: $? = 1
    configure: failed program was:
    | /* confdefs.h . */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | /* end confdefs.h. */
    | #ifdef __STDC__
    | # include <limits.h>
    | #else
    | # include <assert.h>
    | #endif
    | Syntax error
    configure:4357: error: C preprocessor "gcc -E" fails sanity check
    See `config.log' for more details.

    Thanks in advance!!
  2. falko

    falko Super Moderator ISPConfig Developer

    Please install the following packages:

    yum install glibc-headers gcc syslinux
    and try again.

Share This Page