On Sunday 07 June 2009 10:51:05 Jay A. Kreibich wrote: > > > > Howdy, I'd like to end up with a shared NON-threaded NON-TCL binary > > > > but also with a libsqlite3.a static lib. Could anyone suggest how I > > > > could alter this Makefile to support these requirements please? > > > > Is there a previous step need for a CVS checkout? > > Yes, but since I don't work with CVS I'm not exactly sure what it is. > In the brief time between when the amalgamation was introduced and > when it became the official distribution, there was a "make > amalgamation" target. The current process appears to require running > the tool/mksqlitec.tcl script. Obviously, that requires TCL.
Yikes, that will hurt when I go to build on a TCL-less system. > You might start here: > http://www.sqlite.org/cvstrac/wiki?p=SqliteBuildProcess Ah, thanks again for that. I would have found it eventually but your link certainly made my life a whole bunch easier. For the list archive, in case someone else Googles this issue, here is how I built from CVS... cd /usr/src cvs -d :pserver:anonym...@www.sqlite.org:/sqlite login cvs -d :pserver:anonym...@www.sqlite.org:/sqlite checkout sqlite cd sqlite make -f Makefile.linux-gcc target_source make -f Makefile.linux-gcc sqlite3.c mv sqlite3.c tsrc/ cd tsrc/ cc -DTHREADSAFE=0 -c sqlite3.c cc -DHAVE_READLINE=1 -o sqlite3 sqlite3.o shell.c -ldl -lreadline -ltermcap -I/usr/include/readline ar cru libsqlite3.a sqlite3.o install -Dm0755 sqlite3 $pkgdir/usr/bin/sqlite3 install -Dm0644 libsqlite3.a $pkgdir/usr/lib/libsqlite3.a install -Dm0644 ../sqlite3.1 $pkgdir/usr/share/man/man1/sqlite3.1 Where $pkgdir is somewhere else to tar/zip up a binary package. --markc _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users