tdbc::postgres

Artifact [0674ee3620]
Login

Artifact 0674ee36204cb71b9c8b45c48ce03af4b16f22cb:

Wiki page [Building TDBC] by kbk 2008-10-23 16:13:00.
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
<a href="http://sourceforge.net/projects/tcl/">the Tcl project at SourceForge</a> 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 '<tt>tclooConfig.sh</tt>'
into the <tt>$tcl_library</tt> directory.

Once you've done that, you can go to the 'tdbc' directory and configure it with
the <tt>configure</tt> script there (Use '<tt>chmod +x</tt>' if you need to).
'<tt>make</tt>', '<tt>make test</tt>' and '<tt>make install</tt>' should all
work, although the installer bails out because it can't find the (nonexistent
so far) man page.

The '<tt>tdbcodbc</tt>' 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 <tt>--with-tdbc=/path/to/tcl/lib/Tdbc0.1a1</tt>. That's a bug.

The '<tt>tdbcsqlite3</tt>' 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 <tt>tempTest.tcl</tt> script in its directory. I promise to get an installer going for it Real Soon Now. 
Z 47c420cf7446aa90b4164ad619584b4e