Page MenuHome GnuPG

gnupg fails to compiles on Solaris 9 Sparc using gcc 3.3
Closed, ResolvedPublic

Description

Release: gnupg-1.2.4

Environment

SunOS 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Blade-1000
gcc (GCC) 3.3

Description

make returns the following error:
In file included from compress-bz2.c:23:
/usr/include/bzlib.h:177: error: parse error before "FILE"
/usr/include/bzlib.h:205: error: parse error before "FILE"
make[2]: *** [compress-bz2.o] Error 1
lines from /usr/include/bzlib.h:
BZ_EXTERN BZFILE* BZ_API(BZ2_bzReadOpen) (

   int*  bzerror,
   FILE* f,
   int   verbosity,
   int   small,
   void* unused,
   int   nUnused
);

How To Repeat

./configure
make

Fix

Sun comes with an outdate version of bzlib. We have added an extra test for this - try the release candidate 1.2.5rc1.

Event Timeline

Known Solaris problem; already addressed incurrent release
candidate.