Áîëüøîé Âîðîíåæñêèé Ôîðóì
» UNIX è äåðèâàòû>íå ñòàâèòñÿ PySQLite
Eg0_Bra1n 19:21 16.02.2007
ñêà÷àë ñàáæ ñ îôèö ñàéòà, íî ïðè óñòàíîâêå îí âûäàåò îøèáêó è íå ñòàâèòñÿ. ÷òî äåëàòü?


[eg0_bra1n@localhost pysqlite-2.3.3]$ python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/pysqlite2
copying pysqlite2/__init__.py -> build/lib.linux-i686-2.4/pysqlite2
copying pysqlite2/dbapi2.py -> build/lib.linux-i686-2.4/pysqlite2
creating build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/__init__.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/dbapi.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/factory.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/hooks.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/regression.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/transactions.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/types.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/userfunctions.py -> build/lib.linux-i686-2.4/pysqlite2/test
running build_ext
error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)



ïèòîí ñòàâèë âìåñòå ñ ìàíäðèâîé, âåðñèþ 2.4.3. âðîäå äîëæåí ðàáîòàòü, âñå ïëàãèíû äëÿ íåãî ñòîÿò. [Îòâåò]
dalex 19:51 16.02.2007
à python-devel ñòîèò? [Îòâåò]
Sh@rk 20:47 16.02.2007
Eg0_Bra1n, ñêîðåå âñåãî äåëî â python-devel... [Îòâåò]
Eg0_Bra1n 23:36 16.02.2007
äåéñòâèòåëüíî, ÷åòî ÿ ïðîïóñòèë äåâåë. ïîñòàâèë äåâåë, îïÿòü âîçíèêàåò çàòûê.

[eg0_bra1n@localhost pysqlite-2.3.3]$ python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/pysqlite2
copying pysqlite2/__init__.py -> build/lib.linux-i686-2.4/pysqlite2
copying pysqlite2/dbapi2.py -> build/lib.linux-i686-2.4/pysqlite2
creating build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/__init__.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/dbapi.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/factory.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/hooks.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/regression.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/transactions.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/types.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying pysqlite2/test/userfunctions.py -> build/lib.linux-i686-2.4/pysqlite2/test
running build_ext
building 'pysqlite2._sqlite' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -g -fPIC -DMODULE_NAME="pysqlite2.dbapi2" -I/usr/include -I/usr/include/python2.4 -c src/module.c -o build/temp.linux-i686-2.4/src/module.o
In file included from src/module.c:24:
src/connection.h:33:21: error: sqlite3.h: Íåò òàêîãî ôàéëà èëè êàòàëîãà
In file included from src/module.c:24:
src/connection.h:38: error: expected specifier-qualifier-list before ‘sqlite3’
In file included from src/module.c:25:
src/statement.h:37: error: expected specifier-qualifier-list before ‘sqlite3’
src/module.c:214: error: ‘SQLITE_OK’ undeclared here (not in a function)
src/module.c:215: error: ‘SQLITE_DENY’ undeclared here (not in a function)
src/module.c:216: error: ‘SQLITE_IGNORE’ undeclared here (not in a function)
src/module.c:217: error: ‘SQLITE_CREATE_INDEX’ undeclared here (not in a function)
src/module.c:218: error: ‘SQLITE_CREATE_TABLE’ undeclared here (not in a function)
src/module.c:219: error: ‘SQLITE_CREATE_TEMP_INDEX’ undeclared here (not in a function)
src/module.c:220: error: ‘SQLITE_CREATE_TEMP_TABLE’ undeclared here (not in a function)
src/module.c:221: error: ‘SQLITE_CREATE_TEMP_TRIGGER’ undeclared here (not in a function)
src/module.c:222: error: ‘SQLITE_CREATE_TEMP_VIEW’ undeclared here (not in a function)
src/module.c:223: error: ‘SQLITE_CREATE_TRIGGER’ undeclared here (not in a function)
src/module.c:224: error: ‘SQLITE_CREATE_VIEW’ undeclared here (not in a function)
src/module.c:225: error: ‘SQLITE_DELETE’ undeclared here (not in a function)
src/module.c:226: error: ‘SQLITE_DROP_INDEX’ undeclared here (not in a function)
src/module.c:227: error: ‘SQLITE_DROP_TABLE’ undeclared here (not in a function)
src/module.c:228: error: ‘SQLITE_DROP_TEMP_INDEX’ undeclared here (not in a function)
src/module.c:229: error: ‘SQLITE_DROP_TEMP_TABLE’ undeclared here (not in a function)
src/module.c:230: error: ‘SQLITE_DROP_TEMP_TRIGGER’ undeclared here (not in a function)
src/module.c:231: error: ‘SQLITE_DROP_TEMP_VIEW’ undeclared here (not in a function)
src/module.c:232: error: ‘SQLITE_DROP_TRIGGER’ undeclared here (not in a function)
src/module.c:233: error: ‘SQLITE_DROP_VIEW’ undeclared here (not in a function)
src/module.c:234: error: ‘SQLITE_INSERT’ undeclared here (not in a function)
src/module.c:235: error: ‘SQLITE_PRAGMA’ undeclared here (not in a function)
src/module.c:236: error: ‘SQLITE_READ’ undeclared here (not in a function)
src/module.c:237: error: ‘SQLITE_SELECT’ undeclared here (not in a function)
src/module.c:238: error: ‘SQLITE_TRANSACTION’ undeclared here (not in a function)
src/module.c:239: error: ‘SQLITE_UPDATE’ undeclared here (not in a function)
src/module.c:240: error: ‘SQLITE_ATTACH’ undeclared here (not in a function)
src/module.c:241: error: ‘SQLITE_DETACH’ undeclared here (not in a function)
src/module.c: In function ‘init_sqlite’:
src/module.c:368: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
error: command 'gcc' failed with exit status 1


÷å íå òàê òåïåðü? [Îòâåò]
Eg0_Bra1n 00:13 17.02.2007
error: sqlite3.h: Íåò òàêîãî ôàéëà èëè êàòàëîãà

õäå èñêàòü ýòîò ãð¸áàíûé õýäýð è ÷å ñ íèì äåëàòü? [Îòâåò]
Eg0_Bra1n 10:11 17.02.2007
àï!!!!!!!!!! [Îòâåò]
pmkras 11:00 17.02.2007
Ìîæåò íóæíî sqlite ïîñòàâèòü? [Îòâåò]
Eg0_Bra1n 11:35 17.02.2007
ñàìà sqlite3 ñòîèò, à âîò äåâåë äëÿ íå¸ íåò. ùà åãî ïîñòàâëþ [Îòâåò]
Eg0_Bra1n 13:13 17.02.2007
âñ¸ çàðàáîòàëî, âñåì ñïàñèáî [Îòâåò]
Ââåðõ