On 2008-11-30 00:37, Bill McKie wrote: > Török Edwin wrote: > >> On 2008-11-29 21:42, Bill McKie wrote: >> >>> Trying to build clamav-0.94.2 under Fedora-9 Linux (with all the latest >>> Fedora-9 updates installed). >>> >>> >> Does this work: >> >> $ cat <<EOF >foo.c >> #include <limits.h> >> EOF >> $ gcc -v -c foo.c >> > > No, that also fails.
Ok. You should open a fedora bugreport about it, it is not ClamAV's fault if system includes are broken. > Interestingly, some other 3rd party applications > build ok from source on this FC9 system, and I assume they are not > referencing this troublesome limits.h header file. Also, clamav-0.94.2 > builds ok under FC6 Linux. > > gcc -v -c foo.c > Using built-in specs. > Target: i386-redhat-linux > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info > --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap > --enable-shared --enable-threads=posix --enable-checking=release > --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions > --enable-languages=c,c++,objc,obj-c++,java,fortran,ada > --enable-java-awt=gtk --disable-dssi --enable-plugin > --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre > --enable-libgcj-multifile --enable-java-maintainer-mode > --with-ecj-jar=/usr/share/java/eclipse-ecj.jar > --disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux > Thread model: posix > gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) > COLLECT_GCC_OPTIONS='-v' '-c' '-mtune=generic' > /usr/libexec/gcc/i386-redhat-linux/4.3.0/cc1 -quiet -v foo.c -quiet > -dumpbase foo.c -mtune=generic -auxbase foo -version -o /tmp/ccqFwoX4.s > ignoring nonexistent directory > "/usr/lib/gcc/i386-redhat-linux/4.3.0/include-fixed" > ignoring nonexistent directory > "/usr/lib/gcc/i386-redhat-linux/4.3.0/../../../../i386-redhat-linux/include" > #include "..." search starts here: > #include <...> search starts here: > /usr/local/include > /usr/lib/gcc/i386-redhat-linux/4.3.0/include > /usr/include > End of search list. > GNU C (GCC) version 4.3.0 20080428 (Red Hat 4.3.0-8) (i386-redhat-linux) > compiled by GNU C version 4.3.0 20080428 (Red Hat 4.3.0-8), GMP version > 4.2.2, MPFR version 2.3.0-p2. > warning: MPFR header version 2.3.0-p2 differs from library version 2.3.1. > GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128087 > Compiler executable checksum: a6100d27c113f078654b8bcf6e8eb1d2 > 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 foo.c:1: > /usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h:122:61: error: > limits.h: No such file or directory > > --------------------------------------------------------------- > > Following is the FC9 file > /usr/lib/gcc/i386-redhat-linux/4.3.0/include/limits.h > Do you have a /usr/include/limits.h file? Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml