Finally: I get my first chance in a couple of years to contribute something!
I don't know how many Perl buffs there are in this family but I am one such nerd and had some minor grief installing this module, written by one of the GREAT Informix demigods, Jonathan Leffler.
Downloaded from https://metacpan.org/pod/DBD::Informix, gunzipped it, un-tar'ed it and started the standard CPAN install process with:
$ perl makefile.PL
There are two .ec files that this script compiles, just to make sure esql/c is working. Well, it is working but both files had compile errors. Without going into the exact error messages, there are a couple of buffers that are too small for their data.
The files and their needed changed are:
- esqlbasic.ec:
char fmtbuf[500]; /* Was originally [256] */
char sql_buf[500]; /* Was originally [256] */
- esqltest.ec:
char sql_buf[500]; /* was [256] */
char isambuf[500]; /* was [256] */
Who cares if [500] is a tiny bit of overkill?
After that, all 4 steps were smooth sailing.
(It may be helpful but concise it still ain't! <guilty grin> )
------------------------------
Jacob Salomon
---
Nobody goes there anymore, it's too crowded. --Attr: Yogi Berra
------------------------------