Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by Anonymous Monk
on Aug 17, 2012 at 19:53 UTC ( [id://988090]=note: print w/replies, xml ) Need Help??


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

According to AS this module has not passed its tests.

Nonsense, that is not what the log says at all , it says

*** You didn't read the README file! No executable ESQL/C compiler found in $PATH

Very similar to what the op gets

'INFORMIXC' is not recognized as an internal or external command, operable program or batch file.
  • Comment on Re^2: Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9

Replies are listed 'Best First'.
Re^3: Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9
by roho (Bishop) on Aug 17, 2012 at 21:34 UTC
    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."

      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."

Re^3: Problem Installing DBD::Informix on Windows 7 using AS Perl 5.8.9
by rpnoble419 (Pilgrim) on Aug 19, 2012 at 00:56 UTC
    I did read the log. When ever I debug a module running under AS, I always look to the AS site to see if the module has been tested. If it has not then I know I might have issues, if it has failed then I know I will have issues. Once armed with these details I know what to look for...

      I did read the log.

      So in which log does it complain about failing tests?

      It never compiles

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (10)
As of 2024-04-18 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found