Difference between revisions of "SQLite"
From CBLFS
Jump to navigationJump to search (→Multilib) |
|||
Line 44: | Line 44: | ||
sed -i 's:$(exec_prefix)/lib:&32:g' Makefile.in && | sed -i 's:$(exec_prefix)/lib:&32:g' Makefile.in && | ||
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr && | + | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ |
+ | --libdir=/usr/lib32 && | ||
make | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | sed -i "/^libdir=/s:=.*:='/usr/lib32':" /usr/lib32/libsqlite.la | ||
=== 64Bit === | === 64Bit === | ||
Line 56: | Line 58: | ||
sed -i 's:$(exec_prefix)/lib:&64:g' Makefile.in && | sed -i 's:$(exec_prefix)/lib:&64:g' Makefile.in && | ||
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr && | + | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ |
+ | --libdir=/usr/lib64 && | ||
make | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | sed -i "/^libdir=/s:=.*:='/usr/lib64':" /usr/lib64/libsqlite.la |
Revision as of 17:18, 28 February 2007
Download Source: | http://www.sqlite.org/sqlite-2.8.17.tar.gz |
---|
Contents
Introduction to Sqlite
<Package Description Needed>
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