Need help compiling gpgme fat
marcus.brinkmann at ruhr-uni-bochum.de
Sun Mar 5 17:37:13 CET 2006
At Sat, 4 Mar 2006 19:04:08 +0100,
Stéphane Corthésy wrote:
> I'm trying to compile gpgme 1.1.2 on MacOSX, as a fat static library.
Can you enlighten me? What's a "fat" library?
> I could compile gpg-error 1.2 as a fat library; I had some troubles,
> but could solve them: that new version needs now libintl (version 1.0
> didn't), and the configure script doesn't say anything when it
> doesn't find it; user notices it only when compiling library.
Well, we need to call bindtextdomain. It should be easy to add a
configure check for that, can you submit a patch? (Alternatively, I
can send you a patch for testing).
> I applied the same patch to gpgme's libtool, but it seems it is not
> enough, as I think gpgme is not built/linked the same way as gpg-error:
gpgme links a shared library from some files and a static library
(which it built itself). This requires special support on some
platforms, and in fact may not be available on all platforms. libtool
encapsulates this properly. You may need to extend libtool to support
"fat" libraries (whatever they are :)
The alternative would be to recompile every file for each of the
thread packages. This is certainly possible, however, there are other
packages where this trick is used. It's quite convenient.
More information about the Gnupg-devel