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.

----- Original Message ----- 
From: "CAMPBELL, BRIAN D (BRIAN)" <[EMAIL PROTECTED]>
To: "'Nikolay Ananiev'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 26, 2004 7:16 PM
Subject: RE: DBD::Informix Win32 problem


> I built DBD::Informix on Win32 last fall.  There was a lot of stuff I had
to change to get it to compile under Win32, and it's all documented in this
posting.
>
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg19771.html
>
> Your problem below looks like it might be the free memory problem I ran
into.  It's documented in in DBD distribution somewhere as PTS Bug B83831.
I had to add a #define in the middle of the source to fix it.  Details are
in the posting.
>
> -----Original Message-----
> From: Nikolay Ananiev [mailto:[EMAIL PROTECTED]
> Sent: Sunday, July 25, 2004 4:16 AM
> To: [EMAIL PROTECTED]
> Subject: Re: DBD::Informix Win32 problem
>
>
>
> then everything is just fine, but the tests fail.
> When running nmake test a window pops-up, which says:
> perl.exe Application Error
> The instruction at 0x280869d7" referenced memory at "0x00000000". The
memory
> could not be "written"
>
> and in the console I get
> Free to wrong pool 15d33c8 not 80102 at
> E:\Downloads\DBD-Informix-2003.04\blib\lib/DBD/Informix.pm line 180.
>
> I have no idea what these thing mean.
>
> ----- Original Message ----- 
>
> >
> > One reason you're getting this to work is that your $INFORMIXDIR does
not
> > contain any spaces -- people who have Informix software installed under
> > C:\Program Files have many more problems.
> >
>
> FYI, the majority of the posting contains the gory details of what you
have to change if you have your Perl installed in C:\Program Files.  My
suggestion to other readers is don't install it there.
>
>


Reply via email to