| Miscellaneous Techie Stuff | |
There isn't much here yet. This might change over time. In the interim, you're welcome to use what there is. |
Added 2003-03-20; provided by Michael Hiskey mhiskey@us.ibm.com in his role as Worldwide Marketing Campaign Manager for Informix in IBM Data Management.
This is an autoconfiscated version of SQLCMD.
Some of the autoconfigure problems have been resolved.
There may be others which still need to be addressed.
This version will use the GNU Readline library if it is accessible on your machine.
Read the README file for more info about possible problems with the GNU Readline
library and how to circumvent them.
It is assumed you have a recent version of CSDK available.
Note that SQLCMD 80.04 understands the ESQL/C version in CSDK 2.90
(which has ESQL/C version 2.90, in contrast with CSDK 2.81 which has
ESQL/C version 9.53).
SQLCMD 80.04 gzipped tar file (420 KB)
If you have GNU tar and gzip, all you should need to do to build it is:
tar -xzf sqlcmd-80.04.tgz
cd sqlcmd-80.04
./configure
make
If you don't have GNU tar, you'll need an extra step (gunzip changes a
.tgz extension to .tar automagically):
gunzip sqlcmd-80.04.tgz
tar -xf sqlcmd-80.04.tar
cd sqlcmd-80.04
./configure
make
If that doesn't work, let me know.
NB: Since I keep the GNU Readline library in /usr/gnu/lib
and the headers in /usr/gnu/include, and I install into my
$HOME/.bin directory, the configure command line I actually
use is:
LDFLAGS=-L/usr/gnu/lib CPPFLAGS=-I/usr/gnu/include ./configure --prefix=$HOME
Tested on:
Known not to work correctly under 4.1x (SQLUPLOAD uses cursor and statement names with variables; no stored procedures so MKPROC does not compile). Needs modified ESQL/C script if not using default C compiler. Autoconfiguration is not going to deal with version 4.x ESQL/C.
This can also be used to patch older (4.1x and 5.x) ESQL/C compiler scripts. This is needed to compile SQLCMD 50 with ESQL/C 5.08, for example.
This contain sccs2rcs, a Bourne shell version of the open source sccs2rcs script, amongst other things. This was mentioned on the users@subversion.tigris.org mailing list on 2004-06-02.
Jonathan Leffler <jleffler@earthlink.net> <jleffler@us.ibm.com>