<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana>I'm trying to install bogofilter-0.10.2 on RedHat 7.1 
with kernel 2.4.2-2.</FONT></DIV>
<DIV><FONT face=Verdana></FONT> </DIV>
<DIV><FONT face=Verdana>I've installed Berkeley DB (db-4.1.25.tar.gz) and the 
relevant patch.</FONT></DIV>
<DIV><FONT face=Verdana></FONT> </DIV>
<DIV><FONT face=Verdana>I'm using gcc version 2.96 20000731 (Red Hat Linux 7.1 
2.96-81).</FONT></DIV>
<DIV><FONT face=Verdana></FONT> </DIV>
<DIV><FONT face=Verdana>I'm using the following config command: ./configure 
--with-db=/usr/local/BerkeleyDB.4.1<BR></FONT></DIV>
<DIV><FONT face=Verdana>I get the following response: </FONT></DIV>
<DIV><FONT face=Verdana>checking for a BSD-compatible install... 
/usr/bin/install -c<BR>checking whether build environment is sane... 
yes<BR>checking for gawk... gawk<BR>checking whether make sets $(MAKE)... 
yes<BR>checking for gcc... gcc<BR>checking for C compiler default output... 
a.out<BR>checking whether the C compiler works... yes<BR>checking whether we are 
cross compiling... no<BR>checking for suffix of executables...<BR>checking for 
suffix of object files... o<BR>checking whether we are using the GNU C 
compiler... yes<BR>checking whether gcc accepts -g... yes<BR>checking for gcc 
option to accept ANSI C... none needed<BR>checking for style of include used by 
make... GNU<BR>checking dependency style of gcc... gcc3<BR>checking for 
ranlib... ranlib<BR>checking for flex... flex<BR>checking for yywrap in -lfl... 
yes<BR>checking lex output file root... lex.yy<BR>checking whether yytext is a 
pointer... yes<BR>checking for additional compiler options... ignoring 
-Wmissing-format-attribute<BR>ignoring -Wsequence-point<BR>ignoring 
-Wno-system-headers<BR> -Wall -W -Wstrict-prototypes -Wmissing-prototypes 
-Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings 
-Waggregate-return -Wmissing-declarations -Wnested-externs -ggdb -fno-common 
-Wchar-subscripts -Wcomment -Wimplicit -Wreturn-type -Wfloat-equal 
-Wpointer-arith<BR>checking for cos in -lm... yes<BR>checking how to run the C 
preprocessor... gcc -E<BR>checking for egrep... grep -E<BR>checking for 
db_create in -ldb-4... yes<BR>checking BerkeleyDB... BerkeleyDB<BR>checking for 
ANSI C header files... no<BR>checking for sys/types.h... yes<BR>checking for 
sys/stat.h... yes<BR>checking for stdlib.h... yes<BR>checking for string.h... 
yes<BR>checking for memory.h... yes<BR>checking for strings.h... yes<BR>checking 
for inttypes.h... yes<BR>checking for stdint.h... yes<BR>checking for 
unistd.h... yes<BR>checking for stdbool.h that conforms to C99... no<BR>checking 
for _Bool... no<BR>checking whether time.h and sys/time.h may both be 
included... yes<BR>checking syslog.h usability... yes<BR>checking syslog.h 
presence... yes<BR>checking for syslog.h... yes<BR>checking sys/param.h 
usability... yes<BR>checking sys/param.h presence... yes<BR>checking for 
sys/param.h... yes<BR>checking fcntl.h usability... yes<BR>checking fcntl.h 
presence... yes<BR>checking for fcntl.h... yes<BR>checking for stdlib.h... 
(cached) yes<BR>checking for string.h... (cached) yes<BR>checking sys/socket.h 
usability... yes<BR>checking sys/socket.h presence... yes<BR>checking for 
sys/socket.h... yes<BR>checking for unistd.h... (cached) yes<BR>checking 
sys/file.h usability... yes<BR>checking sys/file.h presence... yes<BR>checking 
for sys/file.h... yes<BR>checking stddef.h usability... yes<BR>checking stddef.h 
presence... yes<BR>checking for stddef.h... yes<BR>checking sys/time.h 
usability... yes<BR>checking sys/time.h presence... yes<BR>checking for 
sys/time.h... yes<BR>checking sys/select.h usability... yes<BR>checking 
sys/select.h presence... yes<BR>checking for sys/select.h... yes<BR>checking for 
inttypes.h... (cached) yes<BR>checking for stdint.h... (cached) yes<BR>checking 
limits.h usability... yes<BR>checking limits.h presence... yes<BR>checking for 
limits.h... yes<BR>checking float.h usability... yes<BR>checking float.h 
presence... yes<BR>checking for float.h... yes<BR>checking for an ANSI 
C-conforming const... yes<BR>checking for pid_t... yes<BR>checking for size_t... 
yes<BR>checking for uid_t in sys/types.h... yes<BR>checking return type of 
signal handlers... void<BR>checking for sys/select.h... (cached) yes<BR>checking 
for sys/socket.h... (cached) yes<BR>checking types of arguments for select... 
int,fd_set *,struct timeval *<BR>checking for uint32_t... yes<BR>checking for 
u_int32_t... yes<BR>checking for unsigned short... yes<BR>checking size of 
unsigned short... configure: error: cannot compute sizeof (unsigned short), 
77<BR>See `config.log' for more details.<BR></FONT></DIV>
<DIV><FONT face=Verdana>Can anyone please tell me how to solve this 
problem?</FONT></DIV>
<DIV><FONT face=Verdana></FONT> </DIV>
<DIV><FONT face=Verdana>Black Magic</DIV></FONT></BODY></HTML>