Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by roho (Canon)
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

Replies are listed 'Best First'.
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?
[davido]: when i do get to that point I think I'll do it in a vm snapshot just in case. :)
[oiskuu]: tye, you were right: loginuid/sessionid are part of task struct if compiled with AUDITSYSCALL. I have some doubts if you should actually depend on that feature.
[Corion]: oiskuu: Depends on what you want to do with that information
[tye]: I'm not depending on that feature. But I could in this environment. I'm using getlogin(). shrug
[Corion]: For benign logging (which user started this DB instance), it's OK
[tye]: We use auditd for security monitoring. So we can rely on auditing being enabled. I'm not sure who would want to not be able to audit. Maybe some VM inside another system with audit?
[SuicideJunkie]: spies would want a system to not be able to audit.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-06-23 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (555 votes). Check out past polls.