Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: sqlite-3.4.2   Print


Base Nav: first previous next last All Tab 2 spacerspacer
Source code is available here.

Run these commands:

cd /sources/  &&
tar -xzf sqlite-3.4.2.tar.gz &&
cd sqlite-3.4.2 &&
./configure --prefix=/usr &&
make &&
make install 

The output should look something like this:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output...
/bin/sed
checking for grep that handles long lines and -e...
/bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc...
/usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is
GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload
object files... -r
checking for BSD-compatible nm... /bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
.
.
.
./libtool --mode=link gcc -g -O2 -I. -I./src -DNDEBUG  
-DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_OMIT_LOAD_EXTENSION=1	-o libsqlite3.la alter.lo
analyze.lo attach.lo auth.lo btree.lo build.lo callback.lo
complete.lo date.lo delete.lo expr.lo func.lo hash.lo
insert.lo loadext.lo main.lo malloc.lo opcodes.lo os.lo
os_unix.lo os_win.lo os_os2.lo pager.lo parse.lo pragma.lo
prepare.lo printf.lo random.lo select.lo table.lo
tokenize.lo trigger.lo update.lo util.lo vacuum.lo vdbe.lo
vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbefifo.lo vdbemem.lo
where.lo utf.lo legacy.lo vtab.lo  \
 -rpath /usr/lib -version-info ""8:6:8""
gcc -shared  .libs/alter.o .libs/analyze.o .libs/attach.o
.libs/auth.o .libs/btree.o .libs/build.o .libs/callback.o
.libs/complete.o .libs/date.o .libs/delete.o .libs/expr.o
.libs/func.o .libs/hash.o .libs/insert.o .libs/loadext.o
.libs/main.o .libs/malloc.o .libs/opcodes.o .libs/os.o
.libs/os_unix.o .libs/os_win.o .libs/os_os2.o .libs/pager.o
.libs/parse.o .libs/pragma.o .libs/prepare.o .libs/printf.o
.libs/random.o .libs/select.o .libs/table.o
.libs/tokenize.o .libs/trigger.o .libs/update.o
.libs/util.o .libs/vacuum.o .libs/vdbe.o .libs/vdbeapi.o
.libs/vdbeaux.o .libs/vdbeblob.o .libs/vdbefifo.o
.libs/vdbemem.o .libs/where.o .libs/utf.o .libs/legacy.o
.libs/vtab.o   -Wl,-soname -Wl,libsqlite3.so.0 -o
.libs/libsqlite3.so.0.8.6
(cd .libs && rm -f libsqlite3.so.0 && ln -s
libsqlite3.so.0.8.6 libsqlite3.so.0)
(cd .libs && rm -f libsqlite3.so && ln -s
libsqlite3.so.0.8.6 libsqlite3.so)
ar cru .libs/libsqlite3.a  alter.o analyze.o attach.o
auth.o btree.o build.o callback.o complete.o date.o
delete.o expr.o func.o hash.o insert.o loadext.o main.o
malloc.o opcodes.o os.o os_unix.o os_win.o os_os2.o pager.o
parse.o pragma.o prepare.o printf.o random.o select.o
table.o tokenize.o trigger.o update.o util.o vacuum.o
vdbe.o vdbeapi.o vdbeaux.o vdbeblob.o vdbefifo.o vdbemem.o
where.o utf.o legacy.o vtab.o
ranlib .libs/libsqlite3.a
creating libsqlite3.la
(cd .libs && rm -f libsqlite3.la && ln -s ../libsqlite3.la
libsqlite3.la)
./libtool --mode=link gcc -g -O2 -I. -I./src -DNDEBUG  
-DTHREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_OMIT_LOAD_EXTENSION=1	-DHAVE_READLINE=1
-I/usr/include/readline  \
	-o sqlite3 ./src/shell.c libsqlite3.la \
	-lreadline -lreadline  
gcc -g -O2 -I. -I./src -DNDEBUG -DTHREADSAFE=0
-DSQLITE_THREAD_OVERRIDE_LOCK=-1
-DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=1
-I/usr/include/readline -o .libs/sqlite3 ./src/shell.c 
./.libs/libsqlite3.so -lreadline
creating sqlite3
/bin/install -c -d /usr/lib
./libtool --mode=install /bin/install -c libsqlite3.la
/usr/lib
/bin/install -c .libs/libsqlite3.so.0.8.6
/usr/lib/libsqlite3.so.0.8.6
(cd /usr/lib && { ln -s -f libsqlite3.so.0.8.6
libsqlite3.so.0 || { rm -f libsqlite3.so.0 && ln -s
libsqlite3.so.0.8.6 libsqlite3.so.0; }; })
(cd /usr/lib && { ln -s -f libsqlite3.so.0.8.6
libsqlite3.so || { rm -f libsqlite3.so && ln -s
libsqlite3.so.0.8.6 libsqlite3.so; }; })
/bin/install -c .libs/libsqlite3.lai /usr/lib/libsqlite3.la
/bin/install -c .libs/libsqlite3.a /usr/lib/libsqlite3.a
chmod 644 /usr/lib/libsqlite3.a
ranlib /usr/lib/libsqlite3.a
PATH=""$PATH:/sbin"" ldconfig -n /usr/lib
-----------------------------------------------------------
-----------
Libraries have been installed in:
   /usr/lib
If you ever happen to want to link against installed
libraries
in a given directory, LIBDIR, you must either use libtool,
and
specify the full pathname of the library, or use the
`-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment
variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to
`/etc/ld.so.conf'
See any operating system documentation about shared
libraries for
more information, such as the ld(1) and ld.so(8) manual
pages.
-----------------------------------------------------------
-----------
/bin/install -c -d /usr/bin
./libtool --mode=install /bin/install -c sqlite3 /usr/bin
/bin/install -c .libs/sqlite3 /usr/bin/sqlite3
/bin/install -c -d /usr/include
/bin/install -c -m 0644 sqlite3.h /usr/include
/bin/install -c -m 0644 ./src/sqlite3ext.h /usr/include
/bin/install -c -d /usr/lib/pkgconfig; 
/bin/install -c -m 0644 sqlite3.pc /usr/lib/pkgconfig; 


~~~
Please read our Terms of Use and our Privacy Policy
A tip o' the hat to the folks at Linux From Scratch, who provided a lot of the know-how and framing for the NoNIC OS.

Copyright 2006-2009 NoNIC.org

Created by:
MCJ
MCJ CMS