sqlite-3
6 编译安装与交叉编译全过程详细记录 下文介绍的内容都是基于 Linux RedHat 9
一、PC 机编译安装 请阅读在安装包里的 INSTALL 文件
或者使用 PEAR installer with "pear install sqlite"
SQLite 已经内置了,你不需要安装任何附加的软件(additional software)
Windows users 可以下载 SQLite 扩展 DLL(php_sqlite
这里简单介绍一下: 假设你得到的是源代码 sqlite-3
gz,这里将告诉你怎么编译它
解压 sqlite-3
gz 到 /home 目录下 For example: tar zxvf sqlite-3
gz -C /home cd /home mkdir sqlite-ix86-linux cd /home/sqlite-ix86-linux/
/sqlite-3
6/configure --prefix=/home/sqlite-ix86-linux/ 编译并安装,然后生成帮助文档 make && make install && make doc 如果出现下列错误
/sqlite-3
6/src/tclsqlite
c: In function `DbUpdateHandler':
/sqlite-3
6/src/tclsqlite
c:333: warning: passing arg 3 of `Tcl_ListObjAppendElement' makes pointer from integer without a cast
/sqlite-3
6/src/tclsqlite