Release: 1.2.4
Environment
Slackware Linux 8.0.0, AMD Athlon(tm) XP 1600+
Description
When compiling 1.2.4 from source, I received the following error:
<quote>
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -DGNUPG_LIBEXECDIR="\"/usr/local/libexec/gnupg\"" -g -O2 -Wall -c test -f 'compress-bz2.c' || echo './'compress-bz2.c
In file included from compress-bz2.c:23:
/usr/include/bzlib.h:177: parse error before `FILE'
/usr/include/bzlib.h:205: parse error before `FILE'
make[2]: * [compress-bz2.o] Error 1
make[2]: Leaving directory `/home/dodge/gnupg-1.2.4/g10'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/dodge/gnupg-1.2.4'
make: *** [all] Error 2
</quote>
"./configure" was run without any arguments. This system has /usr/include/bzlib.h present.
I will note that on a slackware-8.1 system I have, /usr/include/bzlib.h is _not_ present, and gnupg-1.2.4 compiled cleanly.
How To Repeat
Install slackware 8.0.0, then run "./configure && make all"
Fix
add "#include <stdio.h>" about "#include <bzlib.h>"