pth.h errors while compiling portupgrade -rf python26-2.6.2_1
David Southwell ARPS
david at atf4.com
Tue Aug 4 14:35:22 UTC 2009
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
More information about the freebsd-ports
mailing list