Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 ( #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 (Abbot) 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
Node Status?
node history
Node Type: note [id://988090]
help
Chatterbox?
[Corion]: The fun show at $work continues, as The Big Project is now in its second week of frantic live-bugfixing and weekend releases where nobody knows what went live. Nothing has been tested anyway.
erix mutters cantankerously under his breath
Corion watches from the sidelines. Or rather, from behind, as my system only gets output from that process and my programs adhere strictly to the GIGO design principle.
[erix]: ah, that's nice to hear Corion :)
[Corion]: erix: Yeah, the sad thing is that all I can do is document things, so I can point fingers when the auditors come :-/
[Corion]: "I'm here to open tickets and point fingers. And I'm all out of tickets."
[erix]: didn't Sybase have pretty good auditing? :) (this is a vague memory)
[erix]: (culprits often are upstream of db of course)
[Corion]: Ah, how I missed it. After some years, I revisit slashdot on a click-bait link, and it provides the usual humor instantly: "I didn't know Drupal had rules for sex. It must be a plug-in"
[Corion]: erix: This is not for sybase, but for the input data files, resp. their contents.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-03-28 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (328 votes). Check out past polls.