Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9

by roho (Monsignor)
on Aug 17, 2012 at 21:34 UTC ( #988100=note: print w/ replies, xml ) Need Help??


in reply to Re^2: 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

I have already worked through the "You didn't read the README file! No executable ESQL/C compiler found in $PATH" message. I do have an executable ESQL/C compiler in my path. The error I'm getting is because an invalid line is being generated (i.e., INFORMIXC='C:\Perl\bin\perl.exe esqlld' ESQLLD=..) which is not a valid command. I need to find out where/how this line is generated and how to correct it.

"Its not how hard you work, its how much you get done."


Comment on Re^3: Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9
Re^4: Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9
by bulk88 (Priest) on Aug 17, 2012 at 22:02 UTC
    use "nmake -n install" or "nmake -n all" http://msdn.microsoft.com/en-us/library/afyyse50.aspx and look at the output. Its the first step in repairing the makefile. There might be Makefile.PL code generating incompatible make syntax designed for a different make program in your module (I dont know anything specific about DBD::Informix).

      I have already worked through the...

      Well, I did see that :)

      The error I'm getting is because an invalid line is being generated (i.e., INFORMIXC='C:\Perl\bin\perl.exe esqlld' ESQLLD=..) which is not a valid command. I need to find out where/how this line is generated and how to correct it.

      You noticed that? Have you heard of grep/ack? http://search.cpan.org/grep?cpanid=JOHNL&release=DBD-Informix-2011.0612&string=INFORMIXC&i=1&n=1&C=0

      Makefile.PL 282: which recognizes the INFORMIXC environment variable. 637: $EV = [ "INFORMIXC=$Config{perlpath} esqlcc", "ESQLCC=$Con +fig{cc}" ]; 681:# INFORMIXC to define the loader and the LDDLFLAGS via the back do +or. 699:$opts{LD} = "INFORMIXC='\$(FULLPERL) esqlld' " . 936: ESQL_CC = INFORMIXC="$(FULLPERL) esqlcc" ESQLCC="$(CC) +" $(ESQL) 1006:# the INFORMIXC environment variable. 1016: if (/^CC=/o && !/INFORMIXC/o) 1018: print LOCAL "# INFORMIXC added by Makefile.PL for $pk +g.\n"; 1022: $_ = 'CC="${INFORMIXC:-' . $_ . "}\"\n";

      Now you know, its in Makefile.PL

      Thanks for the suggestion. I'm fairly sure that (like you said) Makefile.PL is generating invalid Makefile code for nmake. I'm just not sure what nmake is expecting instead of "INFORMIXC=...".

      "Its not how hard you work, its how much you get done."

        I'm just not sure what nmake is expecting instead of "INFORMIXC=...".

        Do you know what that line is supposed to do?

        What happens when you execute it manually?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988100]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-07-13 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (251 votes), past polls