Subject: pkg/21249: pth error building security/gpgme
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/21/2003 11:36:35
>Number:         21249
>Category:       pkg
>Synopsis:       pth error building security/gpgme
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 21 11:37:00 UTC 2003
>Originator:     Ricard
>Release:        1.6
NetBSD 1.6R NetBSD 1.6R (RAVER_KERNEL) #1: Mon Apr 14 00:42:03 CEST 2003 i386
When trying to install gpgme-0.3.15 it ever got an error checking for pth.h file in /usr/pkg/include, but this file exists inside this directory.

I don't know if it will happen in all hosts, but I simply do:

cd /usr/pksrc/security/gpgme/
make  install
Unavailabling pthreads parameters of the Makefile it goes on. It's the patch:

Index: Makefile 
RCS file: /cvsroot/pkgsrc/security/gpgme/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile

--- Makefile    2003-04-21 12:37:31.000000000 +0200
+++ Makefile    2003-04-21 12:26:29.000000000 +0200
@@ -1,5 +1,5 @@
 # $NetBSD: Makefile,v 1.9 2003/03/11 00:11:31 salo Exp $

 DISTNAME=      gpgme-0.3.15
 CATEGORIES=    security
@@ -14,12 +14,13 @@
 USE_BUILDLINK2=                YES
 PTHREAD_OPTS+=         require
+CONFIGURE_ARGS+=       --with-pth=no

 USE_LIBTOOL=           YES


-.include "../../mk/"
+#.include "../../mk/"
 .include "../../mk/"
 .include "../../mk/"