RE: Re: DBD::Informix Win32 problem

From: Brian D Campbell (campbelb_at_lucent.com)
Date: 07/26/04


To: "'Nikolay Ananiev'" <hallmall@3dzone-bg.com>, perl-dbi <dbi-users@perl.org>
Date: Mon, 26 Jul 2004 15:39:13 -0500


Nikolay,

So it sounds like you were hit the same free memory issue.

Regarding the tests, were they t51, and t58? I find that they don't run successfully when when run with the entire test suite, but they do run OK when run individually.
So I attributed that to a test plan problem, not a DBD problem, although I'm not
100% certain of that.
 
-----Original Message-----
From: Nikolay Ananiev [mailto:hallmall@3dzone-bg.com]
Sent: Monday, July 26, 2004 1:30 PM
To: perl-dbi
Subject: Re: Re: DBD::Informix Win32 problem

Thanks Brian
I compiled and tested the module successfully under perl 5.6.1 and 5.8.4.
This is what I did:

changed lines 642 and 643 to
$opts{LD} = "INFORMIXC='\$(FULLPERL) esqlld' " .
   "ESQLLD='$Config{ld} \$(LDDLFLAGS)' \$(ESQL)" unless $NTConfiguration;

and then edited dbdimp.ec and set #define PERL_OBJECT
right above count_descriptors(char *stmt) function (at line 1603)

and everything compiled. Under perl 5.8 two tests failed but I think they
are minor ones.
Also thanks to Jonathan for pointing mi lines 642 and 643.

Note1: I didn't get all the wrong path errors, because my software resides
in directories that do not have spaces in their names
Note2: INFORMIXDIR environment variable must be set to the current
client-sdk directory, not to the actual informix dir or 'makefile.pl' and
'nmake test' will fail.