On 4/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > "Miguel Bazdresch" <[EMAIL PROTECTED]> wrote: > > I must be missing something obvious, but I can't figure out how to > > compile/install the tcl bindings. I've been trying to install > > sqlite-3.3.5 for the last few hours. > > The TEA (Tcl Extension Architecture) package from the download > page might work better for you.
Thanks, but it didn't help. Following the instructions in the README, after 'make install' I got: [/tmp/sqlite-3_3_5-tea]$ su -c 'make install' Password authentication bypassed. If you have documentation to create, place the commands to build the docs in the 'doc:' target. For example: xml2nroff sample.xml > sample.n xml2html sample.xml > sample.html /usr/bin/install -c libsqlite3.3.5.so /usr/lib/sqlite3.3.5/libsqlite3.3.5.so : /usr/lib/sqlite3.3.5/libsqlite3.3.5.so Install pkgIndex.tcl /usr/lib/sqlite3.3.5 Installing header files in /usr/include Installing documentation in /usr/man Installing ./doc/sqlite3.n [/tmp/sqlite-3_3_5-tea]$ It's not installing anything TCL-related. Also, many file permissions in the tarball are wrong, being 755 where they should probably be 644. However, I found the following. As I mentioned previously, inside the build dir (for sqlite, not the TEA) I have the following after 'make': [/tmp/build]$ l .libs/*tcl* -rw-r--r-- 1 miguel users 1.5M Apr 7 18:35 .libs/libtclsqlite3.a lrwxrwxrwx 1 miguel users 19 Apr 7 18:35 .libs/libtclsqlite3.la -> ../libtclsqlite3.la -rw-r--r-- 1 miguel users 871 Apr 7 18:35 .libs/libtclsqlite3.lai lrwxrwxrwx 1 miguel users 22 Apr 7 18:35 .libs/libtclsqlite3.so -> libtclsqlite3.so.0.8.6* lrwxrwxrwx 1 miguel users 22 Apr 7 18:35 .libs/libtclsqlite3.so.0 -> libtclsqlite3.so.0.8.6* -rwxr-xr-x 1 miguel users 1.1M Apr 7 18:35 .libs/libtclsqlite3.so.0.8.6* -rw-r--r-- 1 miguel users 77K Apr 7 18:35 .libs/tclsqlite.o Well, it turns out that I can do the following: [/tmp/build]$ cd .libs [/tmp/build/.libs]$ tclsh % load ./libtclsqlite3.so Sqlite3 % sqlite3 db1 ./testdb % exit [/tmp/build/.libs]$ My conclusions so far are the following: 1. The sqlite-3.3.5 tarball includes all the tcl stuff, the TEA stuff is not needed 2. For some reason, the libraries needed for tcl interaction (libtclsqlite3.so) are not installed by 'make install' 3. The quickstart.html page is wrong. It states one needs to do: load /usr/lib/tclsqlite3.so Sqlite3 when actually one needs to do: load /usr/lib/libtclsqlite3.so Sqlite3 at least on Linux. -- Miguel Bazdresch