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

Re: Perl under AIX 4.3.3

Thread Previous | Thread Next
From:
David Leigh
Date:
May 3, 2001 18:33
Subject:
Re: Perl under AIX 4.3.3
Message ID:
3AF1F7CF.6A3C26DE@us.ibm.com
Hello,

I was experiencing the same problem with perl 5.6.1, aix 4.3.3, and vac
5.0.2.  But the problem disappears if you answer 'n' to using
/usr/bin/nm in Configure.  
Not sure where the bug is, but it's decent workaround.

Here is a diff of config.sh generated with and without nm:

11c11
< # Configuration time: Thu May  3 19:48:57 EDT 2001
---
> # Configuration time: Thu May  3 20:11:33 EDT 2001
65c65
< cf_time='Thu May  3 19:48:57 EDT 2001'
---
> cf_time='Thu May  3 20:11:33 EDT 2001'
70c70
< clocktype='clock_t'
---
> clocktype='int'
103,104c103,104
< d_access='define'
< d_accessx='define'
---
> d_access='undef'
> d_accessx='undef'
120,121c120,121
< d_chown='define'
< d_chroot='define'
---
> d_chown='undef'
> d_chroot='undef'
146,147c146,147
< d_fchmod='define'
< d_fchown='define'
---
> d_fchmod='undef'
> d_fchown='undef'
163c163
< d_fstatfs='define'
---
> d_fstatfs='undef'
165c165
< d_fsync='define'
---
> d_fsync='undef'
172c172
< d_getgrps='define'
---
> d_getgrps='undef'
176c176
< d_gethname='define'
---
> d_gethname='undef'
192,193c192,193
< d_getppid='define'
< d_getprior='define'
---
> d_getppid='undef'
> d_getprior='undef'
217c217
< d_link='define'
---
> d_link='undef'
219c219
< d_lockf='define'
---
> d_lockf='undef'
224c224
< d_madvise='define'
---
> d_madvise='undef'
233c233
< d_mkdir='define'
 ---
> d_mkdir='undef'
239c239
< d_mmap='define'
---
> d_mmap='undef'
241,242c241,242
< d_mprotect='define'
< d_msg='define'
---
> d_mprotect='undef'
> d_msg='undef'
248,253c248,253
< d_msgctl='define'
< d_msgget='define'
< d_msgrcv='define'
< d_msgsnd='define'
< d_msync='define'
< d_munmap='define'
---
> d_msgctl='undef'
> d_msgget='undef'
> d_msgrcv='undef'
> d_msgsnd='undef'
> d_msync='undef'
> d_munmap='undef'
267,268c267,268
< d_pipe='define'
< d_poll='define'
---
> d_pipe='undef'
> d_poll='undef'
282,283c282,283
< d_readlink='define'
< d_rename='define'
---
> d_readlink='undef'
> d_rename='undef'
285c285
< d_rmdir='define'
---
> d_rmdir='undef'
293,299c293,299
< d_select='define'
< d_sem='define'
< d_semctl='define'
< d_semctl_semid_ds='define'
< d_semctl_semun='define'
< d_semget='define'
< d_semop='define'
---
> d_select='undef'
> d_sem='undef'
> d_semctl='undef'
> d_semctl_semid_ds='undef'
> d_semctl_semun='undef'
> d_semget='undef'
> d_semop='undef'
301c301
< d_seteuid='define'
---
> d_seteuid='undef'
303c303
< d_setgrps='define'
309c309
< d_setpgid='define'
---
> d_setpgid='undef'
312c312
< d_setprior='define'
---
> d_setprior='undef'
322c322
< d_setsid='define'
---
> d_setsid='undef'
325,330c325,330
< d_shm='define'
< d_shmat='define'
< d_shmatprototype='define'
< d_shmctl='define'
< d_shmdt='define'
< d_shmget='define'
---
> d_shm='undef'
> d_shmat='undef'
> d_shmatprototype='undef'
> d_shmctl='undef'
> d_shmdt='undef'
> d_shmget='undef'
333,336c333,336
< d_socket='define'
< d_socklen_t='define'
< d_sockpair='define'
< d_socks5_init='undef'
---
> d_socket='undef'
> d_socklen_t='undef'
> d_sockpair='undef'
> d_socks5_init='define'
363c363
< d_symlink='define'
---
> d_symlink='undef'
374,375c374,375
< d_times='define'
< d_truncate='define'
---
> d_times='undef'
> d_truncate='undef'
377,378c377,378
< d_umask='define'
< d_uname='define'
---
> d_umask='undef'
> d_uname='undef'
380c380
< d_ustat='define'
---
> d_ustat='undef'
404c404
< dynamic_ext='B ByteLoader Data/Dumper Devel/DProf Devel/Peek Fcntl
File/Glob IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket
Sys/Hostname Sys/Syslog attrs re'
---
> dynamic_ext='B ByteLoader Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob IO NDBM_File ODBM_File Opcode POSIX SDBM_File Sys/Hostname attrs re'
413c413
< extensions='B ByteLoader Data/Dumper Devel/DProf Devel/Peek Fcntl
File/Glob IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket
Sys/Hostname Sys/Syslog attrs re Errno'
---
> extensions='B ByteLoader Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob IO NDBM_File ODBM_File Opcode POSIX SDBM_File Sys/Hostname attrs re Errno'
562c562
< libc=''
---
> libc='/lib/libc.a'
670c670
< runnm='false'
---
> runnm='true'
689,690c689,690
< selectminbits='1'
< selecttype='fd_set *'
---
> selectminbits='32'
> selecttype='int *'
695c695
< shmattype='void *'
---
> shmattype=''
721c721
< socksizetype='socklen_t'
---
> socksizetype='int'
777c777
< usenm='false'
---
> usenm='true'


On Sun, 29 Apr 2001, Andy Dougherty wrote:
>
> 
> 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,

David Leigh
dleigh@us.ibm.com

Thread Previous | Thread Next


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