L1g3r Logo           SignalQ Sites: NetAdminTools - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
Sqlitebrowser-1.3
Topic:MCJ GNU/Linux Reference OS   Date: 2010-05-23
Printer Friendly: Print   

spacerspacer
<<  <   >  >>

Base Reference GNU/Linux Build Sequence

Source code is available here.

To compile and install, run these commands:

cd /sources/ &&
rm -rf sqlitebrowser &&
tar -xzf sqlitebrowser-1.3-src.tar.gz &&
cd sqlitebrowser/sqlitebrowser/sqlite_source &&
/usr/local/qt/bin/qmake &&
make &&
cd ../ &&
/usr/local/qt/bin/qmake &&
make &&
cp sqlitebrowser /usr/bin &&
rm -rf sqlitebrowser

The output should look something like this:

gcc -c -pipe -Wall -W -O2  -DNDEBUG -DTHREAD_SAFE=1 -DTEMP_STORE=2 -DQT_NO_DEBUG 
-I/usr/mkspecs/default -I. -I/include -I.ui/ -I.moc/ -o .obj/alter.o alter.c
In file included from sqliteInt.h:60,
                 from alter.c:17:
sqlite3.h:1482:7: warning: no newline at end of file
In file included from sqliteInt.h:61,
                 from alter.c:17:
hash.h:111:29: warning: no newline at end of file
In file included from sqliteInt.h:62,
                 from alter.c:17:
parse.h:151:46: warning: no newline at end of file
In file included from vdbe.h:106,
                 from sqliteInt.h:241,
                 from alter.c:17:
.
.
.
g++ -Wl,-rpath,/usr/local/qt/lib -o sqlitebrowser .obj/browsermain.o .obj/sqlitedb.o 
.obj/sqlbrowser_util.o .obj/aboutform.o .obj/addfieldform.o .obj/addfieldtypeform.o 
.obj/choosetableform.o .obj/createindexform.o .obj/createtableform.o .obj/deleteindexform.o 
.obj/deletetableform.o .obj/editfieldform.o .obj/editform.o .obj/edittableform.o 
.obj/exporttablecsvform.o .obj/findform.o .obj/form1.o .obj/importcsvform.o 
.obj/renametableform.o .obj/sqllogform.o .obj/qmake_image_collection.o 
.obj/moc_aboutform.o .obj/moc_addfieldform.o .obj/moc_addfieldtypeform.o 
.obj/moc_choosetableform.o .obj/moc_createindexform.o .obj/moc_createtableform.o 
.obj/moc_deleteindexform.o .obj/moc_deletetableform.o .obj/moc_editfieldform.o 
.obj/moc_editform.o .obj/moc_edittableform.o .obj/moc_exporttablecsvform.o 
.obj/moc_findform.o .obj/moc_form1.o .obj/moc_importcsvform.o .obj/moc_renametableform.o 
.obj/moc_sqllogform.o   -L/usr/local/qt/lib -L/usr/X11R6/lib ./sqlite_source/libsqlite_source.a 
-lqt-mt -lXext -lX11 -lm



People:
Places:
Things:
sqlitebrowser
Times:



None of this would be possible without the diligent work of the Linux From Scratch (LFS) project. A tip o' the hat to those intrepid hackers. Much of the OS buld configuration is taken directly from LFS and BLFS.