[APSW 3.3.13-r1] Fails compiling in CentOS?
Fred <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Hello I'm not really a developer, and need to find a solutin to use SQLite from command-line scripts in AstLinux, which is a Compact Flash-based distro which comes with Python 2.4.2 and SQLite (I tell make to use the latest from SQLite's site). The problem I have is that, even though I followed I tried installing the APSW library first on a CentOS 5.1 host to see how it worked, and it fails installing: ========== # pwd /root/python_apsw # wget http://initd.org/pub/software/pysqlite/apsw/3.3.13-r1/apsw-3.3.13-r1.zip # unzip apsw-3.3.13-r1.zip # cd apsw-3.3.13-r1 # python setup.py install [bunch of warnings and errors] apsw.c:4706: error: âSQLITE_IOERR_DIR_FSYNCâ undeclared (first use in this function) apsw.c:4707: error: âSQLITE_IOERR_TRUNCATEâ undeclared (first use in this function) apsw.c:4708: error: âSQLITE_IOERR_FSTATâ undeclared (first use in this function) apsw.c:4709: error: âSQLITE_IOERR_UNLOCKâ undeclared (first use in this function) apsw.c:4710: error: âSQLITE_IOERR_RDLOCKâ undeclared (first use in this function) apsw.c:4714: warning: statement with no effect error: command 'gcc' failed with exit status 1 ========== Did I miss something from http://initd.org/pub/software/pysqlite/apsw/3.3.13-r1/apsw.html ? Any idea what I need to do before unzipping and running "python setup.py install"? Thank you.