views:

124

answers:

0

Hi all, I'm trying to compile BerkeleyDB-C 4.7.25 on Linux but .configure gives me an error I don't know how to fix.

uname -s -p -m -i -o -v
Linux #1 SMP Wed May 27 17:14:37 EDT 2009 i686 i686 i386 GNU/Linux

more /etc/redhat-release
Fedora release 11 (Leonidas)

../dist/configure --enable-cxx --enable-java  --enable-rpc
(...)
configure: WARNING: stddef.h: present but cannot be compiled
configure: WARNING: stddef.h:     check for missing prerequisite headers?
configure: WARNING: stddef.h: see the Autoconf documentation
configure: WARNING: stddef.h:     section "Present But Cannot Be Compiled"
configure: WARNING: stddef.h: proceeding with the preprocessor's result
configure: WARNING: stddef.h: in the future, the compiler will take precedence
(...)
configure: error: No unsigned 1-byte integral type

gcc and g++ were installed using yum.

Any idea how to fix this ?