From: bob@cliff.NoSubdomain.NoDomain (Bob Palermo)
Newsgroups: comp.lang.perl
Subject: HELP: perl on DECstation 5000 (ULTRIX 4.3)
Date: 25 Jan 93 21:37:33 GMT
Article-I.D.: elroy.1k1miuINNli3
Distribution: world
Organization: Image Analysis Systems Group, JPL
NNTP-Posting-Host: cliff.jpl.nasa.gov

I am a new user of perl. I am trying to build perl version 4.035
on a DECstation 5000 running Ultrix 4.3. I have been having problems.

Included below are the steps I have taken in my attempts to build perl,
the output generated when I tried to "make" perl, and the config.sh file
that was generated when I ran Configure.


Any help would be greatly appreciated.  Please either post replies to this
newsgroup or email me at bob@popeye.jpl.nasa.gov.

Thanks bob@popeye.jpl.nasa.gov
________

Here are the steps I have taken:

    + I have run Configure taking all of the defaults except:
	 - Entered "none" for man pages installation directory
	 - Entered "y" for setuid/setgid emulation

    + I let Configure do the "make depend"

    + When I ran "make" I got the following:


Expect 27 shift/reduce and 57 reduce/reduce conflicts
/usr/bin/yacc -d perly.y

conflicts: 27 shift/reduce, 57 reduce/reduce
sh  ./perly.fixer y.tab.c perly.c
Patching perly.c to allow dynamic yacc stack allocation
Assuming bsd4.3 yaccpar
mv y.tab.h perly.h
echo 'extern YYSTYPE yylval;' >>perly.h
`sh  cflags perly.o` perly.c
          CCCMD =  cc -c  -DLANGUAGE_C -Olimit 2900 -O  
ccom: Error: ./cmd.h, line 151: unknown size
       CSV * volatile curcsv  =  ((CSV*)0);
      ------------------------^
ccom: Error: ./cmd.h, line 151: unknown size
       CSV * volatile curcsv  =  ((CSV*)0);
      ------------------------------------^
ccom: Error: ./cmd.h, line 151: operands of = have incompatible types
       CSV * volatile curcsv  =  ((CSV*)0);
      ------------------------------------^
ccom: Error: ./cmd.h, line 151: unknown size
       CSV * volatile curcsv  =  ((CSV*)0);
      ------------------------------------^
ccom: Warning: ./perl.h, line 999: illegal combination of pointer and integer, op =
       char * volatile goto_targ  =  ((char*)0); 
      -----------------------------------------^
ccom: Error: perly.y, line 117: operands of = have incompatible types
                                eval_root = block_head(yypvt[-0].cmdval);
      ------------------------------------------------------------------^
ccom: Error: perly.y, line 119: operands of = have incompatible types
                                main_root = block_head(yypvt[-0].cmdval); } break;
      ------------------------------------------------------------------^
ccom: Warning: perly.y, line 141: struct/union or struct/union pointer required
                          if (savestack->ary_fill > yypvt[-2].ival)
      ------------------------------------------^
ccom: Warning: perly.y, line 147: struct/union or struct/union pointer required
      { yyval.ival = savestack->ary_fill; } break;
      ---------------------------------^
ccom: Warning: perly.y, line 339: struct/union or struct/union pointer required
                          if (savestack->ary_fill > yypvt[-2].ival)
      ------------------------------------------^
*** Error code 1

Stop.

----------------------------< config.sh >--------------------------------------

#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
d_eunice='undef'
define='define'
eunicefix=':'
loclist='
cat
cp
echo
expr
grep
mkdir
mv
rm
sed
sort
tr
uniq
'
expr='/bin/expr'
sed='/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/bin/tr'
mkdir='/bin/mkdir'
sort='/usr/bin/sort'
uniq='/usr/bin/uniq'
grep='/usr/ucb/grep'
trylist='
Mcc
bison
cpp
csh
egrep
line
nroff
perl
test
uname
yacc
'
test='/bin/test'
inews=''
egrep='/usr/bin/egrep'
more=''
pg=''
Mcc='Mcc'
vi=''
mailx=''
mail=''
cpp='/usr/lib/cpp'
perl='perl'
emacs=''
ls=''
rmail=''
sendmail=''
shar=''
smail=''
tbl=''
troff=''
nroff='/usr/bin/nroff'
uname='/bin/uname'
uuname=''
line='/bin/line'
chgrp=''
chmod=''
lint=''
sleep=''
pr=''
tar=''
ln=''
lpr=''
lp=''
touch=''
make=''
date=''
csh='/bin/csh'
bash=''
ksh=''
lex=''
flex=''
bison='bison'
Log='$Log'
Header='$Header'
Id='$Id'
lastuname='ULTRIX carla 4.3 0 RISC'
alignbytes='8'
bin='/usr/local/bin'
installbin='/usr/local/bin'
byteorder='1234'
contains='grep'
cppstdin='/usr/lib/cpp'
cppminus=''
d_bcmp='define'
d_bcopy='define'
d_safebcpy='define'
d_bzero='define'
d_castneg='define'
castflags='0'
d_charsprf='define'
d_chsize='undef'
d_crypt='define'
cryptlib=''
d_csh='define'
d_dosuid='define'
d_dup2='define'
d_fchmod='define'
d_fchown='define'
d_fcntl='define'
d_flexfnam='define'
d_flock='define'
d_getgrps='define'
d_gethent='define'
d_getpgrp='define'
d_getpgrp2='undef'
d_getprior='define'
d_htonl='define'
d_index='undef'
d_isascii='define'
d_killpg='define'
d_lstat='define'
d_memcmp='define'
d_memcpy='define'
d_safemcpy='undef'
d_memmove='define'
d_memset='define'
d_mkdir='define'
d_msg='define'
d_msgctl='define'
d_msgget='define'
d_msgrcv='define'
d_msgsnd='define'
d_ndbm='define'
d_odbm='define'
d_open3='define'
d_readdir='define'
d_rename='define'
d_rewindir='define'
d_rmdir='define'
d_seekdir='define'
d_select='define'
d_sem='define'
d_semctl='define'
d_semget='define'
d_semop='define'
d_setegid='define'
d_seteuid='define'
d_setpgrp='define'
d_setpgrp2='undef'
d_setprior='define'
d_setregid='define'
d_setresgid='undef'
d_setreuid='define'
d_setresuid='undef'
d_setrgid='define'
d_setruid='define'
d_shm='define'
d_shmat='define'
d_voidshmat='undef'
d_shmctl='define'
d_shmdt='define'
d_shmget='define'
d_socket='define'
d_sockpair='define'
d_oldsock='undef'
socketlib=''
d_statblks='define'
d_stdstdio='define'
d_strctcpy='define'
d_strerror='define'
d_symlink='define'
d_syscall='define'
d_telldir='define'
d_truncate='define'
d_vfork='define'
d_voidsig='define'
d_tosignal='int'
d_volatile='define'
d_vprintf='define'
d_charvspr='undef'
d_wait4='undef'
d_waitpid='define'
gidtype='gid_t'
groupstype='int'
i_fcntl='undef'
i_gdbm='undef'
i_grp='define'
i_niin='define'
i_sysin='undef'
i_pwd='define'
d_pwquota='define'
d_pwage='undef'
d_pwchange='undef'
d_pwclass='undef'
d_pwexpire='undef'
d_pwcomment='define'
i_sys_file='define'
i_sysioctl='define'
i_time='undef'
i_sys_time='define'
i_sys_select='undef'
d_systimekernel='undef'
i_utime='define'
i_varargs='define'
i_vfork='undef'
intsize='4'
libc='/lib/libc.a'
nm_opts=''
libndir=''
i_my_dir='undef'
i_ndir='undef'
i_sys_ndir='undef'
i_dirent='define'
i_sys_dir='undef'
d_dirnamlen='undef'
ndirc=''
ndiro=''
mallocsrc='malloc.c'
mallocobj='malloc.o'
d_mymalloc='define'
mallocptrtype='void'
mansrc=''
manext=''
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize='-O'
ccflags=' -DLANGUAGE_C -Olimit 2900'
cppflags=' -DLANGUAGE_C'
ldflags=''
cc='cc'
nativegcc=''
libs='-ldbm  -lm'
n='-n'
c=''
package='perl'
randbits='31'
scriptdir='/usr/local/bin'
installscr='/usr/local/bin'
sig_name='ZERO HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH LOST USR1 USR2'
spitshell='cat'
shsharp='true'
sharpbang='#!'
startsh='#!/bin/sh'
stdchar='char'
uidtype='uid_t'
usrinclude='/usr/include'
inclPath=''
void=''
voidhave='7'
voidwant='7'
w_localtim='1'
w_s_timevl='1'
w_s_tm='1'
yacc='/usr/bin/yacc'
lib=''
privlib='/usr/local/lib/perl'
installprivlib='/usr/local/lib/perl'
PATCHLEVEL=35
CONFIG=true
tmp='ULTRIX carla 4.3 0 RISC'
Newsgroups: comp.lang.perl