I did use IBM's vac AIX compiler, the only difference I can see is that I'm
on AIX 5.2. I'm using DBI 1.37 and DBD::Informix 2003.04 with perl 5.8.0
without threads. My perl -V is follows. I really can't remember the first
time I removed the -qlanglvl=ansi, or for that matter, why. It may have been
because I found that note, or on a suggestion from Jonathan.
-Darryl
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=aix, osvers=5.2.0.0, archname=aix
uname='aix mtwac02 2 5 0001a16a4c00 '
config_args='-Dprefix=/usr/local/perl5.8.0'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -q32 -D_LARGE_FILES
-qlonglong',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN'
ccversion='6.0.0.0', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -brtl -b32'
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW
perllibs=-lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-bE:/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -bnoentry -lc'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under aix
Compiled at Jul 24 2003 11:05:44
@INC:
/usr/local/perl5.8.0/lib/5.8.0/aix
/usr/local/perl5.8.0/lib/5.8.0
/usr/local/perl5.8.0/lib/site_perl/5.8.0/aix
/usr/local/perl5.8.0/lib/site_perl/5.8.0
/usr/local/perl5.8.0/lib/site_perl
.
-----Original Message-----
From: Jay Hannah [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 5:16 PM
To: 'Priest, Darryl - BALTO'
Cc: [EMAIL PROTECTED]
Subject: RE: Informix, AIX 5.1 -- no joy w/ AIX C or gcc
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');
-ponder-,
j
____________________________________________________________________________
The information contained in this communication may be confidential, is
intended only for the use of the recipient named above, and may be legally
privileged. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution, or copying of
this communication, or any of its contents, is strictly prohibited. If you
have received this communication in error, please re-send this communication
to the sender and delete the original message and any copy of it from your
computer system.
Thank you.
For more information please visit us at http://www.piperrudnick.com
____________________________________________________________________________