Mailing List Archive

Perl 5.001m on HP-UX 9.04...
Folks,

Well, I've gotten confirmation, so I'll give you what I have so
far -- config.sh plus the errors from make.

-Brad

--------------------

config.sh
(Note: I *did* use the hpux_9 hints, and I even tried -DCRIPPELED_CC):

#!/bin/sh
#
# This file was produced by running the Configure script. It holds all the
# definitions figured out by Configure. Should you modify one of these values,
# do not forget to propagate your changes by running "Configure -der". You may
# instead choose to run each of the .SH files by yourself, or "Configure -S".
#

# Configuration time: Fri Sep 15 19:04:19 EDT 1995
# Configured by: brad
# Target system: hp-ux azathoth a.09.05 a 9000715 2002236641 two-user license

Author=''
Date='$Date'
Header=''
Id='$Id'
Locker=''
Log='$Log'
Mcc='Mcc'
RCSfile='$RCSfile'
Revision='$Revision'
Source=''
State=''
afs='false'
alignbytes='8'
aphostname=''
archlib='/opt/perl5/lib/perl5/hpux'
archlibexp='/opt/perl5/lib/perl5/hpux'
archname='hpux'
awk='awk'
baserev='5.0'
bash=''
bin='/opt/perl5/bin'
binexp='/opt/perl5/bin'
bison=''
byacc='byacc'
byteorder='4321'
c='\c'
castflags='0'
cat='cat'
cc='cc'
cccdlflags=''
ccdlflags=''
ccflags='-D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC'
cf_by='brad'
cf_time='Fri Sep 15 19:04:19 EDT 1995'
chgrp=''
chmod=''
chown=''
clocktype='int'
comm='comm'
compress=''
contains='grep'
cp='cp'
cpio=''
cpp='cpp'
cpp_stuff='1'
cppflags='-D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC'
cpplast='-'
cppminus='-'
cpprun='cc -E'
cppstdin='cc -E'
cryptlib='/usr/lib/libcrypt.a'
csh='csh'
d_Gconvert='sprintf((b),"%.*g",(n),(x))'
d_access='undef'
d_alarm='undef'
d_archlib='define'
d_attribut='undef'
d_bcmp='undef'
d_bcopy='undef'
d_bsd='define'
d_bsdpgrp='undef'
d_bzero='undef'
d_casti32='define'
d_castneg='define'
d_charvspr='undef'
d_chown='undef'
d_chroot='undef'
d_chsize='undef'
d_closedir='undef'
d_const='undef'
d_crypt='define'
d_csh='define'
d_cuserid='undef'
d_dbl_dig='define'
d_difftime='undef'
d_dirnamlen='define'
d_dlerror='undef'
d_dlopen='undef'
d_dlsymun='undef'
d_dosuid='undef'
d_dup2='undef'
d_eunice='undef'
d_fchmod='undef'
d_fchown='undef'
d_fcntl='undef'
d_fd_macros='define'
d_fd_set='define'
d_fds_bits='define'
d_fgetpos='undef'
d_flexfnam='define'
d_flock='undef'
d_fork='undef'
d_fpathconf='undef'
d_fsetpos='undef'
d_getgrps='undef'
d_gethent='undef'
d_gethname='undef'
d_getlogin='undef'
d_getpgrp2='undef'
d_getpgrp='undef'
d_getppid='undef'
d_getprior='undef'
d_htonl='define'
d_index='undef'
d_isascii='define'
d_killpg='undef'
d_link='undef'
d_locconv='undef'
d_lockf='undef'
d_lstat='undef'
d_mblen='undef'
d_mbstowcs='undef'
d_mbtowc='undef'
d_memcmp='undef'
d_memcpy='undef'
d_memmove='undef'
d_memset='undef'
d_mkdir='undef'
d_mkfifo='undef'
d_mktime='undef'
d_msg='undef'
d_msgctl='undef'
d_msgget='undef'
d_msgrcv='undef'
d_msgsnd='undef'
d_mymalloc='undef'
d_nice='undef'
d_oldsock='undef'
d_open3='define'
d_pathconf='undef'
d_pause='undef'
d_phostname='undef'
d_pipe='undef'
d_portable='define'
d_pwage='define'
d_pwchange='undef'
d_pwclass='undef'
d_pwcomment='define'
d_pwexpire='undef'
d_pwquota='undef'
d_readdir='undef'
d_readlink='undef'
d_rename='undef'
d_rewinddir='undef'
d_rmdir='undef'
d_safebcpy='undef'
d_safemcpy='undef'
d_seekdir='undef'
d_select='undef'
d_sem='undef'
d_semctl='undef'
d_semget='undef'
d_semop='undef'
d_setegid='undef'
d_seteuid='undef'
d_setlinebuf='undef'
d_setlocale='undef'
d_setpgid='undef'
d_setpgrp2='undef'
d_setpgrp='undef'
d_setprior='undef'
d_setregid='undef'
d_setresgid='undef'
d_setresuid='undef'
d_setreuid='undef'
d_setrgid='undef'
d_setruid='undef'
d_setsid='undef'
d_shm='undef'
d_shmat='undef'
d_shmatprototype='undef'
d_shmctl='undef'
d_shmdt='undef'
d_shmget='undef'
d_shrplib='undef'
d_sitelib='undef'
d_socket='undef'
d_sockpair='undef'
d_statblks='define'
d_stdio_cnt_lval='define'
d_stdio_ptr_lval='define'
d_stdiobase='define'
d_stdstdio='define'
d_strchr='undef'
d_strcoll='undef'
d_strctcpy='define'
d_strerrm='"unknown"'
d_strerror='undef'
d_strxfrm='undef'
d_suidsafe='undef'
d_symlink='undef'
d_syscall='undef'
d_sysconf='undef'
d_sysernlst=''
d_syserrlst='undef'
d_system='undef'
d_tcgetpgrp='undef'
d_tcsetpgrp='undef'
d_telldir='undef'
d_time='undef'
d_times='undef'
d_truncate='undef'
d_tzname='undef'
d_umask='undef'
d_uname='undef'
d_vfork='undef'
d_void_closedir='undef'
d_voidsig='define'
d_voidtty=''
d_volatile='define'
d_vprintf='undef'
d_wait4='undef'
d_waitpid='undef'
d_wcstombs='undef'
d_wctomb='undef'
d_xenix='undef'
date='date'
db_hashtype='int'
db_prefixtype='int'
defvoidused='15'
direntrytype='struct dirent'
dlext='none'
dlsrc='dl_none.xs'
dynamic_ext=''
echo='echo'
egrep='egrep'
emacs=''
eunicefix=':'
expr='expr'
extensions='Fcntl POSIX SDBM_File'
find='find'
flex=''
fpostype='fpos_t'
freetype='void'
full_csh='/bin/csh'
full_sed='/bin/sed'
gcc=''
gccversion=''
gidtype='gid_t'
glibpth='/usr/shlib /lib/pa1.1 /usr/lib/large /lib /usr/lib /usr/lib/386 /lib/386 /lib/large /usr/lib/small /lib/small /usr/ccs/lib /usr/ucblib /usr/local/lib '
grep='grep'
groupcat=''
groupstype='gid_t'
h_fcntl='false'
h_sysfile='true'
hint='previous'
hostcat='cat /etc/hosts'
huge=''
i_bsdioctl=''
i_db='undef'
i_dbm='undef'
i_dirent='define'
i_dld='undef'
i_dlfcn='undef'
i_fcntl='undef'
i_float='define'
i_gdbm='undef'
i_grp='define'
i_limits='define'
i_malloc='define'
i_math='define'
i_memory='undef'
i_ndbm='undef'
i_neterrno='undef'
i_niin='define'
i_pwd='define'
i_sgtty='define'
i_stdarg='undef'
i_stddef='define'
i_stdlib='define'
i_string='define'
i_sysdir='define'
i_sysfile='define'
i_sysfilio='undef'
i_sysin='undef'
i_sysioctl='define'
i_sysndir='undef'
i_sysparam='define'
i_sysselct='undef'
i_syssockio=''
i_sysstat='define'
i_systime='define'
i_systimek='undef'
i_systimes='define'
i_systypes='define'
i_termio='undef'
i_termios='undef'
i_time='undef'
i_unistd='define'
i_utime='define'
i_varargs='define'
i_varhdr='varargs.h'
i_vfork='undef'
incpath=''
inews=''
installarchlib='/opt/perl5/lib/perl5/hpux'
installbin='/opt/perl5/bin'
installman1dir='/usr/local/man/man1'
installman3dir='/opt/perl5/lib/perl5/man/man3'
installprivlib='/opt/perl5/lib/perl5'
installscript='/opt/perl5/bin'
installsitelib=''
intsize='4'
known_extensions='DB_File Fcntl GDBM_File NDBM_File ODBM_File POSIX SDBM_File Socket'
ksh=''
large=''
ld='ld'
lddlflags=''
ldflags=''
less=''
libc='/lib/libc.sl'
libpth='/lib/pa1.1 /lib /usr/lib /usr/local/lib'
libs='-lm -ldld'
libswanted='m dld'
line='line'
lint=''
lkflags=''
ln='ln'
lns='/bin/ln -s'
lp=''
lpr=''
ls='ls'
lseektype='off_t'
mail=''
mailx=''
make=''
mallocobj=''
mallocsrc=''
malloctype='void *'
man1dir='/usr/local/man/man1'
man1direxp='/usr/local/man/man1'
man1ext='1'
man3dir='/opt/perl5/lib/perl5/man/man3'
man3direxp='/opt/perl5/lib/perl5/man/man3'
man3ext='3'
medium=''
mips=''
mips_type=''
mkdir='mkdir'
models='none'
modetype='mode_t'
more=''
mv=''
myarchname='9000/715-hpux'
mydomain=''
myhostname='azathoth.ops.aol.com'
myuname='hp-ux azathoth a.09.05 a 9000715 2002236641 two-user license '
n=''
nm_opt=''
nroff='nroff'
optimize='+O1'
orderlib='false'
osname='hpux'
osvers='9'
package='perl5'
passcat=''
patchlevel='1'
perl='perl'
pg=''
phostname='hostname'
plibpth=''
pmake=''
pr=''
prefix='/opt/perl5'
prefixexp='/opt/perl5'
privlib='/opt/perl5/lib/perl5'
privlibexp='/opt/perl5/lib/perl5'
prototype='undef'
randbits='15'
ranlib=':'
rm='rm'
rmail=''
runnm='true'
scriptdir='/opt/perl5/bin'
scriptdirexp='/opt/perl5/bin'
sed='sed'
selecttype='int *'
sendmail=''
sh=''
shar=''
sharpbang='#!'
shmattype=''
shrpdir='none'
shsharp='true'
sig_name='ZERO HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM USR1 USR2 CLD PWR VTALRM PROF IO WINCH STOP TSTP CONT TTIN TTOU'
signal_t='void'
sitelib=''
sitelibexp=''
sizetype='size_t'
sleep=''
smail=''
small=''
so='sl'
sockethdr=''
socketlib=''
sort='sort'
spackage='Perl5'
spitshell='cat'
split=''
ssizetype='ssize_t'
startsh='#!/bin/sh'
static_ext='Fcntl POSIX SDBM_File'
stdchar='unsigned char'
stdio_base='((fp)->_base)'
stdio_bufsiz='((fp)->_cnt + (fp)->_ptr - (fp)->_base)'
stdio_cnt='((fp)->_cnt)'
stdio_ptr='((fp)->_ptr)'
strings='/usr/include/string.h'
submit=''
sysman='/usr/man/man1'
tail=''
tar=''
tbl=''
test='test'
timeincl='/usr/include/sys/time.h '
timetype='int'
touch='touch'
tr='tr'
troff=''
uidtype='uid_t'
uname='uname'
uniq='uniq'
usedl='undef'
usemymalloc='n'
usenm='true'
useposix='true'
usevfork='false'
usrinc='/usr/include'
uuname=''
vi=''
voidflags='15'
xlibpth='/usr/lib/386 /lib/386'
zcat=''
PATCHLEVEL=1
CONFIG=true
# Variables propagated from previous config.sh file.
POSIX_cflags='ccflags="$ccflags -DFLT_MIN=1.17549435E-38"'

--------------------

output from make:

`sh cflags libperl.a miniperlmain.o` miniperlmain.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a perl.o` perl.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a gv.o` gv.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a toke.o` toke.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a perly.o` perly.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a op.o` op.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a regcomp.o` regcomp.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a dump.o` dump.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a util.o` util.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
cc: "util.c", line 835: warning 533: Inconsistent type declaration for function "vsprintf".
`sh cflags libperl.a mg.o` mg.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a hv.o` hv.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a av.o` av.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a run.o` run.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a pp_hot.o` pp_hot.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a sv.o` sv.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a pp.o` pp.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a scope.o` scope.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a pp_ctl.o` pp_ctl.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
`sh cflags libperl.a pp_sys.o` pp_sys.c
CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
cc: "pp_sys.c", line 2341: error 1588: "sys_nerr" undefined.
cc: "pp_sys.c", line 2341: error 1566: Test expression in for must be scalar.
*** Error code 1

Stop.
Re: Perl 5.001m on HP-UX 9.04... [ In reply to ]
> Well, I've gotten confirmation, so I'll give you what I have so
> far -- config.sh plus the errors from make.

> `sh cflags libperl.a pp_sys.o` pp_sys.c
> CCCMD = cc -c -D_POSIX_SOURCE -D_HPUX_SOURCE -DCRIPPLED_CC +O1
> cc: "perl.h", line 757: warning 533: Inconsistent type declaration for function "time".
> cc: "pp_sys.c", line 2341: error 1588: "sys_nerr" undefined.
> cc: "pp_sys.c", line 2341: error 1566: Test expression in for must be scalar.
> *** Error code 1
>
> Stop.

Hmm. My include files only define sys_nerr within a cpluscplus definition.
It must be buried inside libc or somewhere.

Time to look some more.

Jeff