GPGME CVS branched

Michael Nottebrock michaelnottebrock at gmx.net
Sat Dec 11 22:27:49 CET 2004


On Saturday, 11. December 2004 21:58, Marcus Brinkmann wrote:
> At Sat, 11 Dec 2004 21:04:45 +0100,
>
> Michael Nottebrock <michaelnottebrock at gmx.net> wrote:
> > In the pth case this test needs to be linked against pth's libpthread
> > though, not the system threads library, i.e. an additional -L parameter
> > is needed that points to (PREFIX)/lib/pth so the libpthread that resides
> > there gets picked up (why exactly this is necessary I haven't
> > investigated, but it's definitely the case here).
>
> This makes no sense.  pth and pthread are two completely different
> libraries, and GPGME supports both.  gpgme-pthread is used with the
> systems pthread library, gpgme-pth is used with Pth.  gpgme-pthread is
> not related to pth in whatever way.  Pth doesn't even provide a
> pthread, as far as I know.  At least not on Debian GNU/Linux, is that
> different on your system?

Yes it does, if you configure pth with --enable-pthread. I suppose the debian 
package isn't configured that way. With --enable-pthread you'll get a 
pthread.h header in pth's include subdir and a libpthread shared library in 
pth's lib subdir. 

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : /pipermail/attachments/20041211/8619d52c/attachment-0001.bin


More information about the Gnupg-devel mailing list