Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-05-28
20:24 • Ticket [ff256d5a54] Compile SQLite tcl interface with its JSON extension sta... artifact: f7e7515858 user: jan.nijtmans
16:58 • Ticket [ff256d5a54]: 5 changes artifact: 5287d0a6f5 user: apnadkarni
12:54 • Ticket [ff256d5a54]: 5 changes artifact: 52b6428723 user: jmcuaz60
08:11 • Closed ticket [ff256d5a54]. artifact: 0dea432615 user: jan.nijtmans
08:02 • New ticket [ff256d5a54]. artifact: 96c4212baa user: jmcuaz60

Compile SQLite tcl interface with its JSON extension

Closed / Fixedff256d5a54d19a4aca2dc6e6cd93e76bba30b01eCreated 6 years agoUpdated 6 years ago
Descriptionplain2021-05-28 08:02:17
Hello

(sorry if it is not the right place to ask)

We are long time users of tcl/tk + SQLite3, exclusively at the script level on MS Windows (Magicsplat distribution) wich is great.

If possible it would be nice if the tcl interface of SQlite3 package boundled with the tcl langage could be provided/compiled with its JSON extension (https://sqlite.org/json1.html). This extension is mature and very usefull, allowing (for example) to create a sub table inside a cell of a database table (our usage). (we have no experience in compilation)

Thank you

Jean-Marie Cuaz
jan.nijtmanswiki2021-05-28 08:11:13

The standard TEA configure script provided with the SQLite extension already has JSON enabled. See:

http://cyqlite.sourceforge.net/cgi-bin/sqlite/file?udc=1&ln=84&ci=cf97ff291eb29ed8&name=configure.ac

jmcuaz60plain2021-05-28 12:54:32
Thank you for your prompt reply.

I will try to contact Mr Nadkarni (author of Magicsplat distribution) to understand why this SQLite extension is'nt included in his distribution.

Thank you again

Jean-Marie Cuaz
apnadkarniplain2021-05-28 16:58:55
This flag was added to the nmake make file as -DSQLITE_ENABLE_JSON=1 instead of -DSQLITE_ENABLE_JSON1=1. See original commit at http://cyqlite.sourceforge.net/cgi-bin/sqlite/artifact/50da2236bed30dea

Jan, could you make the fix? I'd rather not check out the repository just for this purpose.

/Ashok
jan.nijtmanswiki2021-05-28 20:24:50

Fixed now: http://cyqlite.sourceforge.net/cgi-bin/sqlite/info/f201291c2f4f751b

Thanks, @Jean-Marie and @Ashok! So it was a bug after all! I didn't realize that magicsplat was using the nmake build system.

Log in (anonymous is fine) to add a comment.