SQLite3: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
 
Cosmo (talk | contribs)
 
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
http://www.sqlite.org/sqlite-3.3.8.tar.gz
{| style="text-align: left; background-color: AliceBlue;"
{| style="text-align: left; background-color: AliceBlue;"
|-
|-
!Download Source:
!Download Source:
| http://www.sqlite.org/sqlite-3.3.8.tar.gz
| http://www.sqlite.org/sqlite-autoconf-{{SQLite3-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 ==
== Dependencies ==
Line 12: 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 17: Line 20:
Compile the package:
Compile the package:


./configure --prefix=/usr &&
  ./configure --prefix=/usr --enable-threadsafe &&
  make
  make


Line 30: Line 33:
Compile the package:
Compile the package:


  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
export USE_ARCH=32 &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-threadsafe &&
  make
  make


Install the package
Install the package


  make install
  make install &&
unset USE_ARCH


=== N32 ===
=== N32 ===
Line 41: Line 46:
Compile the package:
Compile the package:


export USE_ARCH=n32 &&
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
     --libdir=/usr/lib32 --with-tcl=/usr/lib32 &&
     --libdir=/usr/lib32 --enable-threadsafe &&
  make
  make


Install the package
Install the package


  make install
  make install &&
unset USE_ARCH


=== 64Bit ===
=== 64Bit ===
Line 53: Line 60:
Compile the package:
Compile the package:


export USE_ARCH=64 &&
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
     --libdir=/usr/lib64 --with-tcl=/usr/lib64 &&
     --libdir=/usr/lib64 --enable-threadsafe &&
  make
  make


Install the package
Install the package


  make install
  make install &&
unset USE_ARCH
 
== Contents ==
 
{| style="text-align: left;"
|-valign="top"
!Installed Directories:
|None
|-valign="top"
!Installed Programs:
|sqlite3
|-valign="top"
!Installed Libraries:
|libsqlite3.{a,la,so}
|}
 
[[Category:General Libs]]

Latest revision as of 10:15, 17 January 2013

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

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

Note

Use CXXFLAGS="-g -O2 DSQLITE_TCL=1" to install tcl bindings.

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}