Front page | perl.perl5.porters |
Postings from April 2001
Re:Perl under AIX 4.3.3
Thread Previous
|
Thread Next
From:
H.Merijn Brand
Date:
April 25, 2001 12:14
Subject:
Re:Perl under AIX 4.3.3
Message ID:
20010425205537.F849.H.M.BRAND@hccnet.nl
I'm out of thoughts here (for the moment) I'm Cc'ing p5p and hope for better
input. Andy?
On Wed 25 Apr 2001 17:59, <Armin.Kunaschik@varetis.de> wrote:
> >I have no experience with this version of the compiler. AFAIK AIX 4.3 best
> >works with VAC.
> ibmcxx was released before vac 4.x and included a C and C++ compiler...
> but because there were problems with the makefile support of VAC++ 4 we
> used to
> stay with 3.6.6.
>
> >Though I know 5.0.1.3 is available, but we didn't pay for it (yet)
> 5.0.2 is out some days... I have checked with this version (on another
> 4.3.3 host)
> and get the same results.
>
> >which could imply that you are unable to run lslpp. DRAT!
> >(the fact that you included the output of lslpp proves otherwise: I'm
> puzzled)
> lslpp works everytime not depending on the user...
Then why is your ccversion not filled?
> >I do not have 5.6.1 by hand right now. Can you check if this section is
> also in
> >hints/aix.sh?
> ibmcxx is not listed in the aix hint file. There was a bug in the
But it's looking for the same pattern, so it /should/ be recognized.
> optimization but
> as I remember it's already fixed... there should be no need to turn off
> optimization.
How can it be fixed if the version is the same? It's not put in there just for
the fun of it. Well, I can't tell why, cause I've never used 3.6.6.0
> >HTH. (please try again with -Doptimize=none
> No change. Same compiler errors.
>
> To show that it's not the compiler I have installed the latest 3.1.4 C
> compiler (3.1.4.10)
> on 4.3.3 and tried with your configure options.
> While installing the compiler precompiled headers are generated for 4.2...
> therefore
> I think AIX 4.3 is not supported by xlC 3.1.4.
> The output looks familiar:
>
> <snip>
> `sh cflags libperl.a pp_sys.o` pp_sys.c
> CCCMD = xlc -DPERL_CORE -c -DDEBUGGING -D_ALL_SOURCE
> -D_ANSI_C_SOURCE
> -D_POSIX_SOURCE -qmaxmem=16384 -I/usr/local/include -q32 -D_LARGE_FILES
> -qlongl
> ong -O2
> 1506-173 (W) Option 32 is not valid. Enter xlc for list of valid options.
> "pp_sys.c", line 4356.14: 1506-068 (S) Operation between types "struct
> hostent*" and "int" is not allowed.
> "pp_sys.c", line 4367.14: 1506-068 (S) Operation between types "struct
> hostent*" and "int" is not allowed.
> "pp_sys.c", line 4374.14: 1506-068 (S) Operation between types "struct
> hostent*" and "int" is not allowed.
> "pp_sys.c", line 4388.21: 1506-022 (S) "h_addr" is not a member of "struct
> hostent".
> "pp_sys.c", line 4389.35: 1506-022 (S) "h_addr" is not a member of "struct
> hostent".
> "pp_sys.c", line 4389.49: 1506-022 (S) "h_length" is not a member of
> "struct hostent".
> "pp_sys.c", line 4392.37: 1506-022 (S) "h_name" is not a member of "struct
> hostent".
> "pp_sys.c", line 4399.29: 1506-022 (S) "h_name" is not a member of "struct
> hostent".
> "pp_sys.c", line 4401.21: 1506-022 (S) "h_aliases" is not a member of
> "struct hostent".
> "pp_sys.c", line 4407.26: 1506-022 (S) "h_addrtype" is not a member of
> "struct hostent".
> "pp_sys.c", line 4409.15: 1506-022 (S) "h_length" is not a member of
> "struct hostent".
> "pp_sys.c", line 4418.13: 1506-022 (S) "h_addr" is not a member of "struct
> hostent".
> "pp_sys.c", line 4419.27: 1506-022 (S) "h_addr" is not a member of "struct
> hostent".
> <snip>
>
> ./myconfig gives:
> Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
> Platform:
> osname=aix, osvers=4.3.3.0, archname=aix
> uname='aix mawenzi 3 4 00400a6a4c00 '
> config_args='-Dcc=xlc -Dccflags=-DDEBUGGING -Doptimize=-O2 -des'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> Compiler:
> cc='xlc', ccflags ='-DDEBUGGING -D_ALL_SOURCE -D_ANSI_C_SOURCE
> -D_POSIX_SOURCE -qmaxmem=16384 -I/usr/local/include -q32 -D_LARGE_FILES
> -qlonglong',
> optimize='-O2',
> cppflags='-DDEBUGGING -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -qmaxmem=16384 -I/usr/local/include'
> ccversion='3.1.4.10', 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, usemymalloc=n, prototype=define
> Linker and Libraries:
> ld='ld', ldflags =' -L/usr/local/lib -b32'
> libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
> libs=-lbind -lnsl -lgdbm -ldbm -ldl -lld -lm -lC -lc -lcrypt -lbsd -lPW
> -liconv
> perllibs=-lbind -lnsl -ldl -lld -lm -lC -lc -lcrypt -lbsd -lPW -liconv
> libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
> Dynamic Linking:
> dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
> -bE:/usr/local/packages/perl-5.6.1/lib/5.6.1/aix/CORE/perl.exp'
> cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
> -bE:$(BASEEXT).exp -b noentry -lC -lc -L/usr/local/lib'
>
> If you want me to, I'll install vac 4.4 on that machine. But I don't think
> it will improve the results.
> It's the OS... and since 4.3.3 is nearly AIX 5.1 the problem will probably
> come back then :-(
> The strange thing is, when I do the configure under 4.1.5 and compile under
> 4.3.3 it works fine.
> Somehow Configure does detect the right settings for 4.3.3...
>
> What do you suggest to do? Contact the IBM guys listed in the hint file? Is
> there any mailing list?
Yep, p5p (See cc)
> Regards,
> Armin
>
--
H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 623 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/
Thread Previous
|
Thread Next