Build error on gpg 1.3.0

David Shaw dshaw@jabberwocky.com
Sat Oct 26 18:49:02 2002


On Sat, Oct 26, 2002 at 12:48:03PM -0400, David Shaw wrote:
> On Sat, Oct 26, 2002 at 06:35:20PM +0200, Johan Wevers wrote:
> > I'm trying to compile gpg 1.3.0 on my Linux libc5 system, kernel 2.0.38,
> > gcc 2.7.2.2. I get the following errors:
> > 
> > Making install in keyserver
> > make[1]: Entering directory /tmp/gnupg-1.3.0/keyserver'
> > gcc  -g -O2 -Wall   -o gpgkeys_hkp  gpgkeys_hkp.o ../util/libutil.a
> > ../util/libutil.a(miscutil.o): In function `answer_is_yes_no_default':
> > /tmp/gnupg-1.3.0/util/miscutil.c:296: undefined reference to `gettext'
> > /tmp/gnupg-1.3.0/util/miscutil.c:297: undefined reference to `gettext'
> > /tmp/gnupg-1.3.0/util/miscutil.c:298: undefined reference to `gettext'
> > /tmp/gnupg-1.3.0/util/miscutil.c:299: undefined reference to `gettext'
> > ../util/libutil.a(miscutil.o): In function `answer_is_yes_no_quit':
> > /tmp/gnupg-1.3.0/util/miscutil.c:331: undefined reference to `gettext'
> > ../util/libutil.a(miscutil.o):/tmp/gnupg-1.3.0/util/miscutil.c:332: more
> > undefined references to `gettext' follow
> 
> Edit keyserver/Makefile.am and change the gpgkeys_hkp_LDADD line to
> read:
> 
> gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @INTLLIBS@
> 
> Then re-run ./configure

Rather, run automake, *then* ./configure :)

David

-- 
   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson