2012-09-24 1 views
5

왜 내가 sqlite를 빌드하지 못했습니다?왜 내가 파이썬을 빌드 할 때 sqlite3 빌드에 실패 했습니까?

readline 또는 _tkinter 또는 다른 것과 관련이 있습니까?

pes/libffi/src/prep_cif.o build/temp.linux-i686-2.7/home/mirror/build/tmp/Python-2.7.3/Modules/_ctypes/libffi/src/closures.o build/temp.linux-i686-2.7/home/mirror/build/tmp/Python-2.7.3/Modules/_ctypes/libffi/src/dlmalloc.o build/temp.linux-i686-2.7/home/mirror/build/tmp/Python-2.7.3/Modules/_ctypes/libffi/src/x86/ffi.o build/temp.linux-i686-2.7/home/mirror/build/tmp/Python-2.7.3/Modules/_ctypes/libffi/src/x86/sysv.o -L/usr/local/lib -o build/lib.linux-i686-2.7/_ctypes.so 

Python build finished, but the necessary bits to build these modules were not found: 
_bsddb    _tkinter   bsddb185   
bz2    dbm    gdbm    
readline   sunaudiodev       
To find the necessary bits, look in setup.py in detect_modules() for the module's name. 
이러한 모듈 구축하는 데 실패

:

_sqlite3

running build_scripts 
creating build/scripts-2.7 
copying and adjusting /home/mirror/build/tmp/Python-2.7.3/Tools/scripts/pydoc -> build/scripts-2.7 
copying and adjusting /home/mirror/build/tmp/Python-2.7.3/Tools/scripts/idle -> build/scripts-2.7 
copying and adjusting /home/mirror/build/tmp/Python-2.7.3/Tools/scripts/2to3 -> build/scripts-2.7 
copying and adjusting /home/mirror/build/tmp/Python-2.7.3/Lib/smtpd.py -> build/scripts-2.7 
changing mode of build/scripts-2.7/pydoc from 664 to 775 
changing mode of build/scripts-2.7/idle from 664 to 775 
changing mode of build/scripts-2.7/2to3 from 664 to 775 
changing mode of build/scripts-2.7/smtpd.py from 664 to 775 
/usr/bin/install -c -m 644 ./Tools/gdb/libpython.py python-gdb.py 

자세한 내용 :

Python build finished, but the necessary bits to build these modules were not found: 
_bsddb    _tkinter   bsddb185 
bz2    dbm    gdbm 
sunaudiodev 
To find the necessary bits, look in setup.py in detect_modules() for the module's name 
Failed to build these modules: 
_sqlite3 
을 0

내 시스템에 CentOS 5.3

+1

를 설치합니까? –

+0

그리고 CentOS, sqlite3-dev 및 sqlite3이기 때문에? – abarnert

+0

@ samy.vilar 예. – hugemeow

답변

10

다음 주소에서 찾을 수 있습니다 (및 설명) 패치가 : http://bugs.python.org/issue14572

내가 원래 포스터와 똑같은 문제가 있고, 패치 해결했습니다.

은 파이썬 2.7.3 디렉토리에 터미널에서 patch 적용하려면 : 당신이 sqlite가이

curl -sk https://gist.github.com/msabramo/2727063/raw/59ea097a1f4c6f114c32f7743308a061698b17fd/gistfile1.diff | patch -p1 
+0

이 문제가 해결되었습니다. 고맙습니다! – Phanto

+1

2016 년이고이 패치를 적용해야합니다. – JohnMudd

관련 문제