wiki:Packages/SQLite
Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Version 4 (modified by C Rempel, on 06/20/12 at 22:21:08) (diff)

/* Some quick notes */

SQLite

Some quick notes

To build SQLite, you need TCL...

~$ sudo apt-get tcl8.5

SQLite uses fossil for their development branch, so if you use their development branch, you have some steps to go through:

First, check out a "fossil" which is a single file with all the information

~/sqlite$ fossil clone http://www.sqlite.org/cgi/src/dir trunk.fossil

Second, make and navigate into an sqlite directory:

~$ mkdir sqlite ~$ cd sqlite

Third, open the fossil file

~/sqlite$ fossil open ../trunk.fossil

Fourth, archaive the sqlite folder (so you have an old copy to fall back on)...

~/sqlite$ cd .. ~$ tar -acf sqlite.fossil.tar.bz2 sqlite

close the fossil file

~$ cd sqlite ~/sqlite$ fossil close ../trunk.fossil

SQLite "Almalgamates" the source code before building, which can complicate finding required configuration changes, so using --disable-amalgamate seems to make it easier to find where needed changes are. Haven't gotten any farther, but I thought that was rather interesting...

References

This looks promising... http://www.crosscompile.org/static/pages/SQLite.html