`
nwangwei
  • 浏览: 23373 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

sqlite for linux 安装

阅读更多
出处:http://www.linuxdiyf.com/bbs/archiver/tid-69089.html

sqlite for linux 安装
下载 sqlite-3.3.5.tar.gz
解压并拷贝至你想要安装到的目录下,我选择的是/usr/local/sqlite-3.3.5

接着在终端里:
# cd /usr/local/sqlite-3.3.5
# ./configure
# make
# make install
# make doc

make的时候提示错误
../sqlite-3.3.5/src/tclsqlite.c: In function `DbUpdateHandler':
../sqlite-3.3.5/src/tclsqlite.c:333: warning: passing arg 3 of `Tcl_ListObjAppendElement' makes pointer from integer without a cast
../sqlite-3.3.5/src/tclsqlite.c: In function `tclSqlFunc':
../sqlite-3.3.5/src/tclsqlite.c:419: warning: passing arg 1 of `Tcl_NewByteArrayObj' discards qualifiers from pointer target type

这个都是tcl相关的错误,可以先安装ActiveTcl以解决.假如你不需要tcl支持,那么这个错误可以这样避免:

# ./configure --disable-tcl --prefix=/usr/local/sqlite-3.3.5
# make     如果提示没有可以编译的文件,则是第一次make时已经执行过了,接着下面做就可以了;如果此次是第一次编译,应该不会再提示出错了
# make install
# make doc

测试是否安装成功
# cd /usr/lcoal/sqlite3.3.5
# ./sqlite3 text.db

如果安装成功,会出现下面这样的信息
SQLite version 3.3.5
Enter ".help" for instructions
sqlite>

接下来就可以自由操作啦,和在windows下是一样的啦。
分享到:
评论

相关推荐

    SQLite For Linux 3.7.10.zip

    SQLite是一个小巧、快速、可嵌入式的SQL数据库引擎,支持SQL92,同时支持跨平台系统。

    SQLite v3.28.0 for Linux

    SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作...

    sqlite3-linux下安装

    在 Linux 上安装 SQLite,验证方式,在终端执行sqlite3出现 SQLite version ******* Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> 安装成功

    sqlite_arm.rar_C SQLITE_SQLITE LINUX_sqlite_sqlite arm_sqlite fo

    Arm Linux平台下,sqlite数据库的全部文件,包括源代码、库文件。可直接在arm+linux中使用

    arm_linux_sqlite.rar_compiler for linux_cross compile_linux sqli

    Compile SQLite using the cross-compiler such as arm-linux-gcc first, get sqlite-3.3.6.tar.gz from www.sqlite.org unzip it, #tar -zxvf sqlite-3.3.6.tar.gz change into the sqlite-3.3.6 directory cd ...

    Sqlite3重编译版本,支持Sqlite3_key和Sqlite3_rekey方法.rar

    基于sqlite-amalgamation-3280000和wxsqlite3-3.3.1重编译版本,支持Sqlite3_key和Sqlite3_rekey方法

    SQLite在Window、WinCE、Linux、ARM系统下的编译和使用

    因为SQLite是完全开源的,本资料大部分是本人自己根据实际需求情况整理的,有少部分是从网上Down下来做为参考资料的,实用Window(XP、win7、win8)、WinCE、Linux、ARM平台,64位编译雷同

    SQLite v3.6.16 For Mac OSX

    SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作...

    DB.Browser.for.SQLite-3.12.0-win64.msi

    sqlite.SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的...

    嵌入式数据库sqlite3.6(LINUX版)

    目前最好用的嵌入式数据库,手机安桌系统也是用的此数据库,嵌入式开发的好帮手

    Sqlite For C#

    c#中使用Sqlite数据库,让你轻松使用Sqlite SQLite,是一款轻型的数据库,是遵守ACID的关系型数据库管理系统,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式...

    apache+sqlite+php_for_arm_linux.pdf

    apche与sqlite网上有不少资料,而php for arm-linux很少.为了在arm平台上安装php花了不少 时间.所以将搭建过程发表在此,希望对大家有所帮助.

    DISQLite3 Pro v5.10.0 for D4-XE10 SQLite 轻量级 组件

    DISQLite3 implements a self-contained, embeddable, zero-configuration SQL database engine for ...Database files created with DISQLite3 can also be accessed by Linux and MacOS using the SQLite3 libraries.

    sqlite-autoconf-3070800-arm.tar.gz_arm sqlite_arm sqlite-autocon

    嵌入式sqlite for arm版,在LINUX下已经交叉编译完成。可以直接使用。

    windows下远程linux工具-PuTTY WinSCP

    windows下远程linux工具-包含PuTTY和WinSCP,其中PuTTY作为远程命令行终端,可远程ssh连接到linux服务器,二winscp就可以解决文件从windows和linux之间互相拷贝的问题,enjoy!

    sqlite3.8.5源码

    SQLite3.8.5源码,官网说明:A tarball containing the amalgamation for SQLite 3.8.5 together with an configure script and makefile for building it. This tarball also contains in the "tea" subdirectory a...

    sqlite-amalgamation-3080500.zip

    SQLite3.8.5源码,官网说明:This ZIP archive contains all C source code for SQLite 3.8.5 combined into a single source file (the amalgamation). (sha1: fd65e80aa04b9c02d6a7154f513b10e0a5d29150)

    SQLite v3.25.1 for Linux

    SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持

    Subversion(svn) 1.8.5 for windows/linux/Mac/Unix

    安装方法: 1、下载后解码. 2、参考解码根目录下的...1、安装依赖库,如apr, sqlite等,自己根据需要安装 $ sudo apt-get install libapr1-dev libaprutil1-dev sqlite3 2、$ ./configure 3、$ make && make install

Global site tag (gtag.js) - Google Analytics