Это больше вопрос по одминству, но вдруг кто сталкивался:
Собран питон с тредами и прочим, хочу поставить py-sqlite3, и при мейке вылезает от такое:
===> Building for py26-sqlite3-2.6.2_1
running build
running build_ext
building ‘_sqlite3’ extension
creating build
creating build/temp.freebsd-7.2-RELEASE-amd64-2.6
creating build/temp.freebsd-7.2-RELEASE-amd64-2.6/_sqlite
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-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
P.S. При сборке питона выдаётся такое:
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h: check for missing prerequisite headers?
configure: WARNING: pthread.h: see the Autoconf documentation
configure: WARNING: pthread.h: section “Present But Cannot Be Compiled”
configure: WARNING: pthread.h: proceeding with the preprocessor's result
configure: WARNING: pthread.h: in the future, the compiler will take precedence
configure: WARNING: ## ———————————————— ##
configure: WARNING: ## Report this to http://www.python.org/python-bugs ##
configure: WARNING: ## ———————————————— ##