develooper Front page | perl.perl5.porters | Postings from March 2001

[ID 20010309.007] Problems building Perl under AIX

From:
blumenow
Date:
March 9, 2001 14:48
Subject:
[ID 20010309.007] Problems building Perl under AIX
Message ID:
6959D7181149D411AFF400062939DFF04FA397@cnts02.ClearMoney.Net
Hi,

I am experiencing difficulties building Perl under AIX, using the default
installation procedure:
   rm -f config.sh Policy.sh
   sh Configure -de
   make
The make command fails. A sample of the errors produced is as follows:
`sh  cflags libperl.a pp_sys.o`  pp_sys.c
          CCCMD =
 cc -DPERL_CORE -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=1
6384 -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O
"pp_sys.c", line 4306.14: 1506-068 (W) Operation between types "struct
hostent*" and "int" is
not allowed.
"pp_sys.c", line 4317.14: 1506-068 (W) Operation between types "struct
hostent*" and "int" is
not allowed.
"pp_sys.c", line 4324.14: 1506-068 (W) Operation between types "struct
hostent*" and "int" is
not allowed.
"pp_sys.c", line 4338.21: 1506-285 (S) The indirection operator cannot be
applied to a pointer
 to an incomplete struct or union.
"pp_sys.c", line 4339.35: 1506-285 (S) The indirection operator cannot be
applied to a pointer
 to an incomplete struct or union.
"pp_sys.c", line 4339.49: 1506-285 (S) The indirection operator cannot be
applied to a pointer
 to an incomplete struct or union.

output of myconfig:
-------------------
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=aix, osvers=4.3.3.0, archname=aix
    uname='aix caix01 3 4 0041179a4c00 '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/u
sr/local/inclu
de'
    ccflags
='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -I/usr/local
/inclu
de -q32 -D_LARGE_FILES -qlonglong'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    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 -ldbm -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,
cdlflags='  -bE:/usr/local/lib/perl5/5.6.0/ai
x/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'

Any assistance would be very much appreciated.

Thanks,
Warren.





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About