On Thu, 2005-09-22 at 07:23 -0700, Doug Hanks wrote: > Has anyone went through (what I feel is a painful process) of adding > sqlite in a GNU project? > > I'm not referring to sqlite specifically, but just with the GNU tools > in general. > > I would like to copy the sqlite distribution into my project directory > and just extract it. Then modify my configure.in and Makefile.am to > auto-magically configure sqlite, then go ahead and compile my project > and link my project against the static archives of sqlite, for > example: > > gcc obj1.o obj2.o obj3.o ../sqlite3-X.X.X/libsqlite3.a -o binary_name > > Any ideas? > > -- > - Doug Hanks = dhanks(at)gmail(dot)com
The Gnome-DB package does just this. The libgda package that is provided by them is a DB abstraction layer. One of the databases it supports is sqlite and it embeds sqlite into its library. libgda is licensed under the LGPL. However, it may be important that you make it possible for your package to use an external sqlite library still. In my case the inclusion of sqlite in libgda was a downside because now I would need to have two separate sqlite instances on my system that would both need to be updated when a new sqlite is released. In fact, libgda will be adding support for this shortly: http://mail.gnome.org/archives/gnome-db-list/2005-August/msg00048.html Mark Drago.
signature.asc
Description: This is a digitally signed message part