Apps :: sqlite & tcl



first THANKS for a great Linux distro ...

Q.
does anyone know how to setup SQLite with tcl/tk support?

I've tried to compile sqlite 3.3.17 (the latest version) which is meant to have
native tcl support built in. It compiles and runs fine.

but when I use tcl script to access a sqlite database. I get errors.
I don't think sqlite is setup properly.

Hints would be appreciated.

Are you calling sqlite or sqlite3? I've never had trouble with the sqlite version (2.8.6) in DSL 2.1b when using the tcl/tk 8.4 extension from MyDSL.

Quote
The interface to the SQLite library consists of single tcl command named sqlite (version 2.8) or sqlite3 (version 3.0). Because there is only this one command, the interface is not placed in a separate namespace.


http://www.sqlite.org/tclsqlite.html

lucky13
I have the tcltk8.3.dsl not the tcltk8.4 UCI.

When I compile sqlite, it thinks there is no tcl on my system. The makefile is looking for "tclConfig.sh" (which doesn't exist on my system).

Therefore sqlite is not installing the sqlite/tcl library. I hacked it but still no luck.

I'm gonna install the tcltk8.4. I think the problem is tcl configs
not sqlite.

Incidentally, I used the the exact same tcl code from the sqlite.org link you posted. Thanks.

tclConfig.sh and tkConfig.sh are both available in the uci package.  However, the headers are not included so you still will not be able to compile programs if they require Tcl source code.
The next version of the mydsl will definitely include all necessary files, but it might not be built until 8.4.15 or 8.5 is released, if one of them is released before i get back to packaging stuff.

Thanks O DSL-San !

I hacked every which way but Sqlite3.3.17 won't install with tcl support.

I eagerly await a new tcl/tk dsl-extension.
[ You may want to adjust path for ROOT so he can use tclsh :-) ]

Thanks for all the time & help ..... its appreciated.

Next Page...
original here.