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

Re:Perl under AIX 4.3.3

From:
Armin.Kunaschik
Date:
April 30, 2001 03:26
Subject:
Re:Perl under AIX 4.3.3
Message ID:
OF3994E9FF.47E77073-ONC1256A3E.002E75F3@pc-plus.de

Hi there,

>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.
I did not wanted to cause any confusion... I just wanted to make sure, that
it's no
compiler issue. The problem occurs with all the compilers I have access to
and
The error message is always the same. That's why I think, that the problem
is in
the auto detection of AIX 4.3.3, which is indeed different from earlier
versions.
However it does not differ that much from AIX 5L (beta). I'll report more
if I can get
my hands on AIX 5.1...

>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.
The installation is not mixed up. I'm the only person why installed any
software
on the mentioned hosts and I did not make any manual changes.

>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 netdb config.sh
i_netdb='define'
netdb_hlen_type='size_t'
netdb_host_type='const void *'
netdb_name_type='const char *'
netdb_net_type='in_addr_t'

>   grep 'd_get..*proto' config.sh
$grep 'd_get..*proto' config.sh
d_gethostprotos='define'
d_getnetprotos='define'
d_getprotoprotos='define'
d_getservprotos='define'

>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?
I'll attach netdb.h to this mail... hopefully this is what you need. Feel
free to ask
for more...
Just a wild guess: Maybe you check for AIX 4.3.0 and don't recognize 4.3.3
and
settings for AIX 3 are used?

Best regards,
Armin


(See attached file: netdb.h.gz)



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