From owner-freebsd-ports@FreeBSD.ORG Tue Aug 4 14:39:32 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9364F106564A for ; Tue, 4 Aug 2009 14:39:32 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 52D028FC12 for ; Tue, 4 Aug 2009 14:39:32 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id C31E034D434; Tue, 4 Aug 2009 15:39:20 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Tue, 4 Aug 2009 15:39:20 +0100 User-Agent: KMail/1.11.4 (FreeBSD/7.2-RELEASE-p2; KDE/4.2.4; amd64; ; ) References: <200908041516.07086.david@atf4.com> In-Reply-To: <200908041516.07086.david@atf4.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908041539.20674.david@vizion2000.net> Subject: Re: pth.h errors while compiling portupgrade -rf python26-2.6.2_1 -RESOLVED X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 14:39:32 -0000 > problems with pth.h > > In file included from extensions/pyexpat.c:5: > /usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or > directory > error: command 'cc' failed with exit status 1 > *** Error code 1 > > sr/local/include -IModules/_sqlite -I/usr/local/include/python2.6 -c > _sqlite/cache.c -o > build/temp.freebsd-7.2-RELEASE-p2-amd64-2.6/_sqlite/cache.o In file > included from _sqlite/cache.h:26, > from _sqlite/cache.c:24: > /usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or > directory > error: command 'cc' failed with exit status 1 > *** Error code 1 > > cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t - > DTHREAD_STACK_SIZE=0x100000 -O2 -fno-strict-aliasing -pipe -fPIC - > DMODULE_NAME="sqlite3" -I/usr/local/include -IModules/_sqlite - > I/usr/local/include/python2.6 -c _sqlite/cache.c -o build/temp.freebsd-7.2- > RELEASE-p2-amd64-2.6/_sqlite/cache.o > In file included from _sqlite/cache.h:26, > from _sqlite/cache.c:24: > /usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or > directory > error: command 'cc' failed with exit status 1 > *** Error code 1 > > Stop in /usr/ports/databases/py-sqlite3. > *** Error code 1 > > I tried compiling /usr/ports/devel/pth but that failed with the same > error!!! > > David I finally resolved this problem set with: dns1# ln -s /usr/local/include/pth/pth.h /usr/local/include/python2.6/ dns1# ln -s /usr/local/include/pth/pthread.h /usr/local/include/python2.6/ david