gnupg-1.9.90 build problem

Rex Dieter rdieter at math.unl.edu
Tue Sep 26 18:23:01 CEST 2006


Ladislav Hagara wrote:

> trying to compile gnupg-1.9.90 and seems I have some problem with
> readline (from gnupg's NEWS: Made readline work for gpg).

ditto, same error, using fedora core 6, readline-5.1.

Also, trying to build *without* readline support (ie, when readline is not
installed) fails too (but differently):

...
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../gl     -I/usr/include -O2 -g -pipe  -Wall -Wno-pointer-sign -c
 gpgrlhelp.c
gpgrlhelp.c: In function 'set_completer':
gpgrlhelp.c:45: error: 'rl_attempted_completion_function' undeclared (first
use in this function)
gpgrlhelp.c:45: error: (Each undeclared identifier is reported only once
gpgrlhelp.c:45: error: for each function it appears in.)
gpgrlhelp.c:46: error: 'rl_inhibit_completion' undeclared (first use in this
function)
gpgrlhelp.c: In function 'inhibit_completion':
gpgrlhelp.c:52: error: 'rl_inhibit_completion' undeclared (first use in this
function)
gpgrlhelp.c: In function 'cleanup_after_signal':
gpgrlhelp.c:58: warning: implicit declaration of
function 'rl_free_line_state'
gpgrlhelp.c:59: warning: implicit declaration of
function 'rl_cleanup_after_signal'
gpgrlhelp.c: In function 'init_stream':
gpgrlhelp.c:65: error: 'rl_catch_signals' undeclared (first use in this
function)
gpgrlhelp.c:66: error: 'rl_instream' undeclared (first use in this function)
gpgrlhelp.c:66: error: 'rl_outstream' undeclared (first use in this
function)
gpgrlhelp.c:67: error: 'rl_inhibit_completion' undeclared (first use in this
function)
gpgrlhelp.c: In function 'gnupg_rl_initialize':
gpgrlhelp.c:80: error: 'readline' undeclared (first use in this function)
gpgrlhelp.c:81: error: 'add_history' undeclared (first use in this function)
gpgrlhelp.c:82: error: 'rl_readline_name' undeclared (first use in this
function)
make[2]: *** [gpgrlhelp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/builddir/build/BUILD/gnupg-1.9.90/common'




More information about the Gnupg-devel mailing list