[comp.lang.perl] problems with kit28

toivo@uniwa.uwa.oz (Toivo Pedaste) (09/28/90)

I have kit28 perl source from jpl-devvax. When I try and run make depend it
fails with an error which turns out to be due to a construct in makedepend of
the form

    for file in `cat .shlist`; do
	$echo `$expr X$file : 'X\(.*\).SH`: $file config.sh \; \
    done

When I remove the last \ it works ok but the perl binary produced
isn't able to run shell commands (ie `command` doesn't work).

I'm doing this on a vax running Ultrix 3.0.

Any suggestions as to what is going wrong.
-- 
	Toivo Pedaste				ACSNET:   toivo@uniwa.uwa.oz
	WARCC,					INTERNET: toivo@uniwa.uwa.oz.au
	University of Western Australia		Phone:    (09) 382 0245

bernards@ecn.nl (Marcel Bernards) (10/01/90)

I too have problems with PL28

On a Sun wit SunOS 4.1 all seems to compile fairly well.
No redelclaration blues at all. There is some haslle with
perl.man.2 and perl_man.2 names in the patch file.
somehow the renameal of some files is initiated without a proper patch

This can be fixed easily. just put a soft link and patch again

The problem is when I run make at CONVEX OS V8.1 and Convex C V4.0 
I got several redeclaration stuff 
cc -O  perl.c
cc: Warning on line 1438 of perl.y: label 'yyerrlab' defined but not referenced.cc -c -O  array.c
cc -c -O  cmd.c
cc -c -O  cons.c
cc -c -O  consarg.c
cc -c -O  doarg.c
cc -c -O  doio.c
cc: Error on line 1876 of doio.c: 'getpwuid' redeclared: incompatible types.
cc: Error on line 1955 of doio.c: 'getgrgid' redeclared: incompatible types.
*** Exit 1
if I fix this manual some other redelcaration of sprintf is barfed.

Any solutions known anywhere ?

Thanx in advance.

ejk@uxh.cso.uiuc.edu (Ed Kubaitis) (10/02/90)

bernards@ecn.nl (Marcel Bernards) writes:
 >The problem is when I run make at CONVEX OS V8.1 and Convex C V4.0

The problems you are having are probably ANSI/POSIX related.  I was able to 
build perl at patch level 28 succesfully with:

   CFLAGS = -pcc -O


----------------------------------
Ed Kubaitis (ejk@uxh.cso.uiuc.edu)
Computing Services Office - University of Illinois, Urbana