Front page | perl.perl5.porters |
Postings from April 2001
Re:Perl under AIX 4.3.3
Thread Previous
From:
Andy Dougherty
Date:
April 29, 2001 06:54
Subject:
Re:Perl under AIX 4.3.3
Message ID:
Pine.SOL.4.10.10104290939470.18264-100000@maxwell.phys.lafayette.edu
On Wed, 25 Apr 2001, H.Merijn Brand wrote:
> I'm out of thoughts here (for the moment) I'm Cc'ing p5p and hope for better
> input. Andy?
I've never had the pleasure of using AIX, and I confess I'm lost in the
twisty maze of compiler and os versions referred to here.
> > `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.
[ more simlar problems omitted ]
This problem is usually a header file problem of some sort -- either a bad
mixed-up installation at your end or a failure on Configure's part to
detect your installation correctly.
To sort it out, we'll need your help. The problem appears to be related
to the netdb stuff from configure. Could you please do the following:
grep netdb config.sh
grep 'd_get..*proto' config.sh
Then, check out your man pages and include files to find what a struct
hostent is supposed to be on your system. Lastly, could you check if you
actually have prototypes for gethostbyaddr(), gethostbyname(), and
gethostent(). If you do have those prototypes in your header files, could
you let us know precisely what they are?
Thanks,
> > ./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 '
> > 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=''
--
Andy Dougherty doughera@lafayette.edu
Dept. of Physics
Lafayette College, Easton PA 18042
Thread Previous