Difference between revisions of "SQLite3"

From CBLFS
Jump to navigationJump to search
Line 18: Line 18:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --enable-threadsafe &&
 
  make
 
  make
  
Line 32: Line 32:
  
 
  export USE_ARCH=32 &&
 
  export USE_ARCH=32 &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr \
 +
    --enable-threadsafe &&
 
  make
 
  make
  
Line 46: 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 --with-tcl=/usr/lib32 &&
+
     --libdir=/usr/lib32 --with-tcl=/usr/lib32 \
 +
    --enable-threadsafe &&
 
  make
 
  make
  
Line 60: Line 62:
 
  export USE_ARCH=64 &&
 
  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 \
 +
    --enable-threadsafe &&
 
  make
 
  make
  

Revision as of 19:07, 9 October 2007

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

Introduction to SQLite3

Project Homepage: Unknown

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 --with-tcl=/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 --with-tcl=/usr/lib64 \
    --enable-threadsafe &&
make

Install the package

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