Difference between revisions of "SQLite3"
From CBLFS
Jump to navigationJump to searchm (→Optional) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.sqlite.org/sqlite-{{SQLite3-Version}}.tar.gz | + | | http://www.sqlite.org/sqlite-autoconf-{{SQLite3-Version}}.tar.gz |
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
Line 16: | Line 13: | ||
=== Optional === | === Optional === | ||
* [[TCL]] | * [[TCL]] | ||
+ | |||
+ | {{ Note|<nowiki>Use CXXFLAGS="-g -O2 DSQLITE_TCL=1" to install tcl bindings.</nowiki>}} | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 21: | Line 20: | ||
Compile the package: | Compile the package: | ||
− | + | ./configure --prefix=/usr --enable-threadsafe && | |
− | ./configure --prefix=/usr | ||
− | |||
− | |||
make | make | ||
Line 38: | Line 34: | ||
export USE_ARCH=32 && | export USE_ARCH=32 && | ||
− | + | CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-threadsafe && | |
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr | ||
− | |||
− | |||
make | make | ||
Line 54: | Line 47: | ||
export USE_ARCH=n32 && | export USE_ARCH=n32 && | ||
− | |||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
− | --libdir=/usr/lib32 | + | --libdir=/usr/lib32 --enable-threadsafe && |
− | |||
− | |||
make | make | ||
Line 71: | Line 61: | ||
export USE_ARCH=64 && | export USE_ARCH=64 && | ||
− | |||
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
− | --libdir=/usr/lib64 | + | --libdir=/usr/lib64 --enable-threadsafe && |
− | |||
− | |||
make | make | ||
Latest revision as of 10:15, 17 January 2013
Download Source: | http://www.sqlite.org/sqlite-autoconf-3071502.tar.gz |
---|
Contents
Introduction to SQLite3
SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
Project Homepage: http://www.sqlite.org/
Dependencies
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr --enable-threadsafe && make
Install the package
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 && CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-threadsafe && make
Install the package
make install && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 --enable-threadsafe && make
Install the package
make install && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 && CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 --enable-threadsafe && make
Install the package
make install && unset USE_ARCH
Contents
Installed Directories: | None |
---|---|
Installed Programs: | sqlite3 |
Installed Libraries: | libsqlite3.{a,la,so} |