SQLite3: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
 
Line 30: Line 30:
Compile the package:
Compile the package:


export USE_ARCH=32 &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
  make
  make
Line 35: Line 36:
Install the package
Install the package


  make install
  make install &&
unset USE_ARCH


=== N32 ===
=== N32 ===
Line 41: Line 43:
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 --with-tcl=/usr/lib32 &&
Line 47: Line 50:
Install the package
Install the package


  make install
  make install &&
unset USE_ARCH


=== 64Bit ===
=== 64Bit ===
Line 53: Line 57:
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 --with-tcl=/usr/lib64 &&
Line 59: Line 64:
Install the package
Install the package


  make install
  make install &&
unset USE_ARCH

Revision as of 13:33, 16 December 2006

http://www.sqlite.org/sqlite-3.3.8.tar.gz

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

Dependencies

Optional

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
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 --with-tcl=/usr/lib32 &&
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 --with-tcl=/usr/lib64 &&
make

Install the package

make install &&
unset USE_ARCH
Retrieved from "?title=SQLite3&oldid=4735"