From: Priest, Darryl - BALTO [mailto:[EMAIL PROTECTED]
Your lslpp looks identical to what I have, with the remaining caveat that
I'm on 5.2. However, I now remember that I needed to remove the
'-qlanglvl=ansi' compile option from the Makefile to get it to compile.
So you used AIX's compiler? Did you install DBD::Informix successfully? What version of DBI and DBD::Informix? My own build seemed to work OK on Perl and DBI, but failed on DBD::Informix.
It's ironic if you had to remove -qlanglvl=ansi in DBD::Informix since line 442 of Makefile.PL looks like it's in there explicitly to *help* AIX/cc:
# Ensure that __STDC__ is defined for cc on AIX (ie if Perl was not # compiled with xlc); reported by Joachim Schrod <[EMAIL PROTECTED]> in # January 1998. $opts{DEFINE} .= ' -qlanglvl=ansi' if ($Config{osname} eq 'aix' and $Config{cc} eq 'cc');
I've note spent more time than it takes to notice that you had a frustrating weekend, for which I'm sorry.
Note that there is a date (Jan 1998) associated with the comment for a very good reason - it indicates that was when it was reported applicable. You may well have found and demonstrated that it is no longer applicable to the general run'o't'mill version of AIX any more.
Darryl has had chats with me about builds on occasion, though I regret to say I don't recall whether it covered this point. I'll take advice on it.
There was a phase when Perl did not require ANSI C compilers, but DBD::Informix did - it was always written with prototypes. I think that is one hangover from that era. I doubt that it is the only one. Note that the hangup is not so much that __STDC__ is defined as that the compiler accept prototypes without whingeing. The only compiler that I know of that does not support them is the bundled C compiler on HP-UX - but that can't compile Perl so it is not a problem any more.
I'll see if I can make head or tail of the rest of this.
If you (and Darryl) could send me outputs of 'perl -V' from your working versions of Perl + DBI + DBD::Informix, it may help me - thanks.
--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED]) #include <disclaimer.h>
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/
