GnuPG 1.3: Problems building hkp on Darwin

David Shaw dshaw at jabberwocky.com
Sat Oct 19 23:30:02 CEST 2002


On Sat, Oct 19, 2002 at 01:22:29PM -0400, Gordon Worley wrote:
> Everything is working fine except for the hkp program.  I get the 
> following when trying to build it:
> 
> source='gpgkeys_hkp.c' object='gpgkeys_hkp.o' libtool=no \
> depfile='.deps/gpgkeys_hkp.Po' tmpdepfile='.deps/gpgkeys_hkp.TPo' \
> depmode=gcc /bin/sh ../scripts/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/sw/include  -g -O2 
> -Wall -c `test -f 'gpgkeys_hkp.c' || echo './'`gpgkeys_hkp.c
> gcc  -g -O2 -Wall  -L/sw/lib -o gpgkeys_hkp  gpgkeys_hkp.o 
> ../util/libutil.a
> ld: Undefined symbols:
> _gettext
> make[2]: *** [gpgkeys_hkp] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> Any ideas?  I looked in libutil.a and it contains a symbol _gettext.

Hmm.  Can you try the attached patch to keyserver/Makefile.in ?

David

-- 
   David Shaw  |  dshaw at 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
-------------- next part --------------
--- Makefile.in.old	Sat Oct 19 16:27:59 2002
+++ Makefile.in	Sat Oct 19 16:29:08 2002
@@ -131,7 +131,7 @@
 install_sh = @install_sh@
 libexecdir = @GNUPG_LIBEXECDIR@
 
-INCLUDES = -I$(top_srcdir)/include
+INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
 EXTRA_PROGRAMS = gpgkeys_ldap gpgkeys_hkp
 EXTRA_SCRIPTS = gpgkeys_mailto
 
@@ -143,7 +143,7 @@
 noinst_SCRIPTS = gpgkeys_test
 
 gpgkeys_ldap_LDADD = @LDAPLIBS@ @NETLIBS@
-gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@
+gpgkeys_hkp_LDADD = ../util/libutil.a @NETLIBS@ @INTLLIBS@
 subdir = keyserver
 mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/config.h


More information about the Gnupg-devel mailing list