Re: [naviserver-devel] Tcl8.6 tdbc::mysql under NaviServer

2019-05-08 Thread David Osborne
Thank you for that Gustaf! On Wed, 8 May 2019 at 11:26, Gustaf Neumann wrote: > On 07.05.19 18:03, David Osborne wrote: > > Thanks again. > > Does this config snippet look OK? > > The snippet looks OK, but something went wrong during compilation > (you should have seen an error message during li

Re: [naviserver-devel] Tcl8.6 tdbc::mysql under NaviServer

2019-05-08 Thread Gustaf Neumann
On 07.05.19 18:03, David Osborne wrote: Thanks again. Does this config snippet look OK? The snippet looks OK, but something went wrong during compilation (you should have seen an error message during linking). The Makefile in the repository (and tar file) contained an outdated library name, a

Re: [naviserver-devel] Tcl8.6 tdbc::mysql under NaviServer

2019-05-07 Thread David Osborne
Thanks again. Does this config snippet look OK? Getting the following error on startup using both the tip code versions, and the versions in the 4.99.18 tarballs: [03/May/2019:20:52:12][25299.7fcd9d1de700][-main-] Notice: modload: loading module ns/db/driver/mysql from file nsdbmysql [03/May/201

Re: [naviserver-devel] Tcl8.6 tdbc::mysql under NaviServer

2019-05-07 Thread Gustaf Neumann
On 07.05.19 15:25, David Osborne wrote: Trying nsdbmysql now. Getting a few compiler warnings when building - are these all fairly benign? yes if you take the released version of the module (from the modules tar file) and compiled this against the latest released version of NaviServer you

Re: [naviserver-devel] Tcl8.6 tdbc::mysql under NaviServer

2019-05-07 Thread David Osborne
Thanks Gustaf, Trying nsdbmysql now. Getting a few compiler warnings when building - are these all fairly benign? gcc -I/usr/include/mysql -g -Wall -fPIC -g -O2 -fdebug-prefix-map=/build/tcl8.6-EAf4Te/tcl8.6-8.6.6+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fno-unit-at-a-ti

Re: [naviserver-devel] Tcl8.6 tdbc::mysql under NaviServer

2019-05-03 Thread Gustaf Neumann
On 03.05.19 16:35, David Osborne wrote: I was hoping someone could help us understand what's happening below. We use the nsdbpg driver to access our main PostgreSQL database, but we have a requirement to occasionally access a MysQL server database also. We thought Tcl8.6's tdbc might be an ea