http://www.perlmonks.org?node_id=988143


in reply to Re^7: Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9
in thread Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9

It runs Perl program esqlld,...

Actually it doesn't :) I understand its supposed to, but thats wishful thinking, nmake doesn't work like that

I have a very low opinion of that whole Makefile.PL and the esqld program ( the word garbage comes to mind)

On nmake, doing program .. FOO=BAR doesn't set environment variable FOO to the value BAR -- I don't think any version of make does that

Here is what I would try, delete all that esqld malarky, and replace the whole thing with whatever its actually supposed to be, instead of

$opts{LD} = "INFORMIXC='\$(FULLPERL) esqlld' " . "ESQLLD='$Config{ld} \$(LDDLFLAGS)' \$(ESQL)";

Try something like

delete $opts{LD} ;
And do it right before WriteMakefile

Actually what I would do is Data::Dumper to dump \%opts right before WriteMakefile, and along with a copy of postamble from Makefile, write a new Makefile.PL by hand

Actually it looks like that mess shouldn't happen on win32, what is the output of perl -V:archname

Try setting $NTConfiguration to true manually

Yeah, I'd try $NTConfiguration first, then delete $opts{LD} ;, then writing my own Makefile.PL