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

Re:Perl under AIX 4.3.3

Thread Previous
Andy Dougherty
April 29, 2001 06:54
Re:Perl under AIX 4.3.3
Message ID:
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
> >  -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
	grep 'd_get..*proto'

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?


> > ./myconfig gives:
> > Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
> >   Platform:
> >     osname=aix, osvers=, 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',
> > -qmaxmem=16384 -I/usr/local/include'
> >     ccversion='', gccversion='', gccosandvers=''

    Andy Dougherty
    Dept. of Physics
    Lafayette College, Easton PA 18042

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About