Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: sqlite & tcl, sqlite tcl config< Next Oldest | Next Newest >
dslSmiley Offline





Group: Members
Posts: 10
Joined: April 2007
Posted: May 16 2007,14:53 QUOTE

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.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: May 16 2007,15:59 QUOTE

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


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
dslSmiley Offline





Group: Members
Posts: 10
Joined: April 2007
Posted: May 16 2007,17:00 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 16 2007,19:02 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
dslSmiley Offline





Group: Members
Posts: 10
Joined: April 2007
Posted: May 16 2007,19:22 QUOTE

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.
Back to top
Profile PM 
9 replies since May 16 2007,14:53 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: sqlite & tcl

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code