Difference between revisions of "SQLite"

From CBLFS
Jump to navigationJump to search
(SQLite moved to SQLite3)
 
m (Reverted edits by Jim (Talk); changed back to last version by Weibullguy)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#REDIRECT [[SQLite3]]
+
{| style="text-align: left; background-color: AliceBlue;"
 +
|-
 +
!Download Source:
 +
| http://www.sqlite.org/sqlite-{{SQLite-Version}}.tar.gz
 +
|}
 +
----
 +
 
 +
{{Package-Introduction|SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.|http://www.sqlite.org}}
 +
 
 +
== Dependencies ==
 +
 
 +
=== Optional ===
 +
* [[TCL]]
 +
 
 +
== Non-Multilib ==
 +
 
 +
Compile the package:
 +
 
 +
./configure --prefix=/usr &&
 +
make
 +
 
 +
Install the package
 +
 
 +
make install
 +
 
 +
== Multilib ==
 +
 
 +
=== 32Bit ===
 +
 
 +
Compile the package:
 +
 
 +
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 +
make
 +
 
 +
Install the package
 +
 
 +
make install
 +
 
 +
=== N32 ===
 +
 
 +
Compile the package:
 +
 
 +
sed -i 's:$(exec_prefix)/lib:&32:g' Makefile.in &&
 +
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib32 &&
 +
make
 +
 
 +
Install the package
 +
 
 +
make install &&
 +
sed -i "/^libdir=/s:=.*:='/usr/lib32':" /usr/lib32/libsqlite.la
 +
 
 +
=== 64Bit ===
 +
 
 +
Compile the package:
 +
 
 +
sed -i 's:$(exec_prefix)/lib:&64:g' Makefile.in &&
 +
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib64 &&
 +
make
 +
 
 +
Install the package
 +
 
 +
make install &&
 +
sed -i "/^libdir=/s:=.*:='/usr/lib64':" /usr/lib64/libsqlite.la
 +
 
 +
[[Category:General Libs]]

Latest revision as of 09:56, 22 March 2009

Download Source: http://www.sqlite.org/sqlite-2.8.17.tar.gz

Introduction to SQLite

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 &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

sed -i 's:$(exec_prefix)/lib:&32:g' Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
sed -i "/^libdir=/s:=.*:='/usr/lib32':" /usr/lib32/libsqlite.la

64Bit

Compile the package:

sed -i 's:$(exec_prefix)/lib:&64:g' Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
sed -i "/^libdir=/s:=.*:='/usr/lib64':" /usr/lib64/libsqlite.la
Retrieved from "?title=SQLite&oldid=17810"