Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2009 15:16:06 +0100
From:      David Southwell ARPS <david@atf4.com>
To:        freebsd-ports@freebsd.org
Subject:   pth.h errors while compiling portupgrade -rf python26-2.6.2_1
Message-ID:  <200908041516.07086.david@atf4.com>

next in thread | raw e-mail | index | archive | help
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                      




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908041516.07086.david>