Problem building 2.0.1 (on Mac OS X 10.4.8)
David Shaw
dshaw at jabberwocky.com
Tue Dec 12 05:08:43 CET 2006
On Sat, Dec 09, 2006 at 12:16:58PM -0500, Charly Avital wrote:
> Ludwig Hügelschäfer wrote the following on 12/9/06 10:32 AM:
> > Hi,
> >
> > David Shaw wrote on 08.12.2006 14:53 Uhr:
> >> On Fri, Dec 08, 2006 at 11:49:18AM +0100, Michael Bienia wrote:
> >>> On 2006-12-08 02:08:37 -0500, Charly Avital wrote:
> >>>> 1. Patch applied:
> >>>> - ----------
> >>>> $ cd /Users/shavital/Desktop/gnupg-2.0.1/
> >>>> Charly-Avitals-PBG4:~/Desktop/gnupg-2.0.1 shavital$ patch -p0 <
> >>>> /Users/shavital/Desktop/gnupg-2.0-osx-iconv.patch
> >>>> patching file tools/Makefile.am
> >>>> patching file g10/Makefile.am
> >>>> patching file agent/Makefile.am
> >>>> - ----------
> >>> This only patches Makefile.am. You need to have this changes also in
> >>> Makefile.in so either regenerate Makefile.in with automake or patch
> >>> Makefile.in manually and add the same changes there.
> >> That is correct. Charly, you have to run automake before the patch is
> >> useful to you.
> >
> > This still doesn't help - at least for me...
> >
> > Despite the applied patch and manually modifying Makefile.in in tools,
> > g10 and agent I get:
> >
> > ld: Undefined symbols:
> > _libiconv
> > _libiconv_close
> > _libiconv_open
> > make[2]: *** [kbxutil] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> >
> > After modifying Makefile.in and Makefile.am in kbx by adding $(LIBICONV)
> > to kbxutil_LDADD I get the following:
> >
> > gcc -I/usr/local/include -I/usr/local/include -I/usr/local/include
> > -I/usr/local/include -g -O2 -Wall -o gpgsm gpgsm.o misc.o keydb.o
> > server.o call-agent.o call-dirmngr.o fingerprint.o base64.o certlist.o
> > certdump.o certcheck.o certchain.o keylist.o verify.o sign.o encrypt.o
> > decrypt.o import.o export.o delete.o certreqgen.o qualified.o
> > ../jnlib/libjnlib.a ../kbx/libkeybox.a ../common/libcommon.a
> > ../gl/libgnu.a -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error
> > -L/usr/local/lib -lksba -lgpg-error -L/usr/local/lib -lassuan
> > -L/usr/local/lib -lgpg-error -lz -lbz2
> > ld: Undefined symbols:
> > _libiconv
> > _libiconv_close
> > _libiconv_open
> > make[2]: *** [gpgsm] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> >
> > *sigh*
> >
> > Ludwig
>
> Ludwig,
>
> I didn't dare modify the Makefile.in modules manually, after automake
> 1.6.3 didn't work. I have not succeeded to install a higher version of
> automake, the compiling and installing process seems to complete
> positively, but whenever I type automake --version, I get 1.6.3. Baffles me.
>
> I have been at it part of Thursday, and almost all Friday, always ending
> in one kind of error or another, including the ones you indicate in your
> message (ld: Undefines symbols etc., and kabxutil.
I think the best bet here would be to wait for the next 2.x rc
release. There have been a number of changes.
David
More information about the Gnupg-users
mailing list