Build fails on Fedora 11. I get the following error:
+ ./configure --exec-prefix=/usr --prefix=/usr --includedir=/usr/include
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking Checking for gcc version... 4.4.1
Applying architecture optimizations: -march=x86_64
checking for machine class... x86_64
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking stdio.h usability... no
checking stdio.h presence... yes
configure: WARNING: stdio.h: present but cannot be compiled
configure: WARNING: stdio.h: check for missing prerequisite headers?
configure: WARNING: stdio.h: see the Autoconf documentation
configure: WARNING: stdio.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdio.h: proceeding with the preprocessor's result
configure: WARNING: stdio.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------- ##
configure: WARNING: ## Report this to michele.noberasco@tiscali.it ##
configure: WARNING: ## ------------------------------------------- ##
checking for stdio.h... yes
checking for stdlib.h... (cached) no
configure: error: One or more system headers that are necessary to compile this program are missing on this system. Cannot continue.
stdio.h,, memory.h, stdint.h, string.h, etc. are all in /usr/include. No idea what's up. Is this an autoconfig preprocessor vs. compiler check issue?