[PATCH] Fix compilation of gpgme on Mac OS X Tiger
kloecker at kde.org
Thu Jun 28 21:42:49 CEST 2007
On Wednesday 27 June 2007 09:45, Werner Koch wrote:
> On Tue, 26 Jun 2007 21:35, kloecker at kde.org said:
> > 1.) assuan/assuan.h fails to include socket.h which is needed for
> > socklen_t.
> I don't see socklen_t type used in assuan.h.
Just to make sure we are talking about the same file: I'm talking about
> sys/socket.h is included by the internal header assuan-defs.h.
But assuan.h does not include assuan-defs.h.
> Well, I am looking at
> the SVN code and did not checked wheter it recently changed.
It is used in the latest released version and in svn trunk:
int _gpgme_ath_accept (int s, struct sockaddr *addr, socklen_t
int _gpgme_ath_connect (int s, struct sockaddr *addr, socklen_t length);
This code is compile if #ifdef _ASSUAN_IN_GPGME_BUILD_ASSUAN. Should
gpgme use an installed libassuan?
> > 2.) On Darwin funopen does exist. Nevertheless the code tries to
> > compile the replacement in funopen.c and fails doing so.
> funopen.c is an AC_LIBOBJ function and as such won't be build if not
> Afaik, other have build gnupg2 and thus also libassuan on Darwin.
Okay. Our confusion seems to stem from the fact that I'm not talking
about libassuan but about gpgme (see the subject). Maybe the real
problem is that gpgme's configure script did not find the previously
build and installed libassuan and therefore tried to build its own
(outdated) copy (is it a copy?) of assuan.
All I did was build and install all everything needed for compiling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20070628/69019c08/attachment.pgp
More information about the Gnupg-devel