From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 17:30:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 045AA16A42F for ; Thu, 22 Dec 2005 17:30:26 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from relay2.av-mx.com (relay2.av-mx.com [137.118.16.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FBF643D5A for ; Thu, 22 Dec 2005 17:29:54 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.60] (HELO mx2.av-mx.com) by relay2.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 111160660 for freebsd-questions@freebsd.org; Thu, 22 Dec 2005 12:29:52 -0500 Received: (qmail 20677 invoked from network); 22 Dec 2005 17:29:52 -0000 Received: from webx1.neonova.net (137.118.60.140) by 0 with SMTP; 22 Dec 2005 17:29:52 -0000 X-CLIENT-IP: 137.118.60.140 X-CLIENT-HOST: webx1.neonova.net Received: (from nobody@localhost) by webX1.neonova.net (8.11.6/8.11.6) id jBMHTqm03644; Thu, 22 Dec 2005 12:29:52 -0500 Received: from 216.227.116.226 (SquirrelMail authenticated user micahjon@ywave.com) by webx1.neonova.net with HTTP; Thu, 22 Dec 2005 12:29:52 -0500 (EST) Message-ID: <65530.216.227.116.226.1135272592.squirrel@webx1.neonova.net> Date: Thu, 22 Dec 2005 12:29:52 -0500 (EST) From: "Michael Lieske" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: GPGME fails to build under fresh 6.0 install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: micahjon@ywave.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 17:30:26 -0000 I'm doing a fresh install of FreeBSD 6.0 on my desktop system. While installing KDE from ports, the gpgme build crashed with the error quoted below. Google turns up little other than "try WITH_PTH and WITHOUT_PTH", neither of which makes any difference (I used make -DWITH_PTH build and make -DWITHOUT_PTH build). Since pointyhat indicates gpgme builds just fine, and it built just fine on the same machine under 5.4, I'm wondering if there's a dependency borked or a misconfiguration somewhere. Any clues on how to get it working? Thanks, Micah *** Error Excerpt *** cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-keylist-sig t-keylist-sig.o ../../gpgme/.libs/libgpgme.so -L/usr/local/lib /usr/local/lib/libgpg-error.so -lintl -Wl,--rpath -Wl,/usr/local/lib .../../gpgme/.libs/libgpgme.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() creating t-keylist-sig if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme -I/usr/local/include -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT t-thread1.o -MD -MP -MF ".deps/t-thread1.Tpo" -c -o t-thread1.o t-thread1.c; \ then mv -f ".deps/t-thread1.Tpo" ".deps/t-thread1.Po"; else rm -f ".deps/t-thread1.Tpo"; exit 1; fi /bin/sh /usr/local/bin/libtool15 --tag=CC --mode=link cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o t-thread1 -L/usr/local/lib/pth t-thread1.o ../../gpgme/libgpgme-pthread.la cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o .libs/t-thread1 t-thread1.o -L/usr/local/lib/pth ../../gpgme/.libs/libgpgme-pthread.so -L/usr/local/lib /usr/local/lib/libgpg-error.so -lintl -Wl,--rpath -Wl,/usr/local/lib .../../gpgme/.libs/libgpgme-pthread.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() t-thread1.o(.text+0x847): In function `main': : undefined reference to `pthread_create' t-thread1.o(.text+0x86a): In function `main': : undefined reference to `pthread_create' t-thread1.o(.text+0x87d): In function `main': : undefined reference to `pthread_join' t-thread1.o(.text+0x890): In function `main': : undefined reference to `pthread_join' gmake[3]: *** [t-thread1] Error 1 gmake[3]: Leaving directory `/usr/ports/security/gpgme/work/gpgme-1.0.3/tests/gpg' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/security/gpgme/work/gpgme-1.0.3/tests' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/security/gpgme/work/gpgme-1.0.3' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/security/gpgme.