gnupg-1.9.90 build problem
ladislav.hagara at unob.cz
Tue Sep 26 15:50:03 CEST 2006
trying to compile gnupg-1.9.90 and seems I have some problem with
readline (from gnupg's NEWS: Made readline work for gpg).
I have installed last 5.1 readline with last patches.
Please, is it a problem of my box (readline) or gnupg?
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gl -I/usr/include -O
-march=pentium4 -mmmx -mfpmath=sse -msse -msse2 -pipe -O3 -Wall
-Wno-pointer-sign -MT gpgrlhelp.o -MD -MP -MF ".deps/gpgrlhelp.Tpo" -c
-o gpgrlhelp.o gpgrlhelp.c; \
then mv -f ".deps/gpgrlhelp.Tpo" ".deps/gpgrlhelp.Po"; else rm
-f ".deps/gpgrlhelp.Tpo"; exit 1; fi
In file included from /usr/include/readline/readline.h:37,
/usr/include/readline/rltypedefs.h:65: error: syntax error before '*' token
In file included from gpgrlhelp.c:34:
/usr/include/readline/readline.h:416: error: syntax error before '*' token
/usr/include/readline/readline.h:532: error: syntax error before '*' token
/usr/include/readline/readline.h:533: error: syntax error before '*' token
/usr/include/readline/readline.h:823: error: syntax error before 'FILE'
/usr/include/readline/readline.h:840: error: syntax error before '}' token
gpgrlhelp.c: In function 'init_stream':
gpgrlhelp.c:66: warning: assignment from incompatible pointer type
make: make: Leaving directory `/usr/src/gnupg-1.9.90/common'
*** [gpgrlhelp.o] Error 1
make: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/gnupg-1.9.90'
make: *** [all] Error 2
More information about the Gnupg-devel