D 2008-10-23T16:13:00
L Building\sTDBC
P b95bf4ddefab39d2899b1ecdc3d754d30dcfbbc2
U kbk
W 1196
To build TDBC, you need either Tcl 8.5 plus the 'oo' extension from
the Tcl project at SourceForge or Tcl 8.6. Right now, the build system can't quite cope with both at the same time. There is a workaround, which is to copy the file 'tclooConfig.sh'
into the $tcl_library directory.
Once you've done that, you can go to the 'tdbc' directory and configure it with
the configure script there (Use 'chmod +x' if you need to).
'make', 'make test' and 'make install' should all
work, although the installer bails out because it can't find the (nonexistent
so far) man page.
The 'tdbcodbc' module should also be buildable. I've not tried any compilers other than mingw and gcc (4.2.3). At the moment, its configurator
needs --with-tdbc=/path/to/tcl/lib/Tdbc0.1a1. That's a bug.
The 'tdbcsqlite3' module doesn't yet have a configurator/builder, partly because it seems like overkill for a single Tcl script. You can test it by running the tempTest.tcl script in its directory. I promise to get an installer going for it Real Soon Now.
Z 47c420cf7446aa90b4164ad619584b4e