Trying to build clamav-0.94.2 under Fedora-9 Linux (with all the latest
Fedora-9 updates installed).
./configure --prefix=/usr/local/clamav
fails with a cpp error, apparently involving recursion on a reference of
limits.h within:
/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h
This limits.h file exists and is readable, but at its line 122, it
refers to limits.h again.
Possible clues within the clamav config.log:
configure:6942: /lib/cpp conftest.c
In file included from
/usr/lib/gcc/i386-redhat-linux/4.3.0/include/syslimits.h:7,
from
/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h:11,
from conftest.c:11:
/usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h:122:61: error:
limits.h: No such file or directory
configure:6948: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "clamav"
| #define PACKAGE_TARNAME "clamav"
| #define PACKAGE_VERSION "0.94.2"
| #define PACKAGE_STRING "clamav 0.94.2"
| #define PACKAGE_BUGREPORT "http://bugs.clamav.net/"
| #define PACKAGE PACKAGE_NAME
| #define VERSION "0.94.2"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7010: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml