[comp.lang.perl] Installation problems

barry@playfair.stanford.edu (Barrett P. Eynon) (07/23/90)

I'm trying to install perl (patch 18, fresh from jpl) on a Vax/750
running BSD 4.3. I went with the defaults in Configure, not knowing
any reason to change them, and proceeded successfully up to the 
test phase. There I encountered four problems, which seem to be of
two sorts:

1) printf( and sort( cause compilation errors. E.g.

syntax error in file comp.package at line 22, next token "sort(keys"
syntax error in file io.print at line 17, next token "printf("

Taking out the parentheses and/or leaving a space before them in the script
allows the scripts to run successfully.

2) The use of ' & ' in a conditional construct causes problems, 
e.g. in the script op.dbm the line

print (($mode & 0777) == 0640 ? "ok 2\n" : "not ok 2\n");

outputs the string '416', neither the 'ok' nor the 'not ok' message
are displayed. A similar error occurs in the same construct in op.vec,
this is the only two places in the test suite where such constructs
are used, and the rest of the test suite performs correctly.

I'm afraid this is the limit of my ability to understand the problem,
aside from guessing that I've configured something wrong. Any advice
or suggestions are welcome. 

I used the default cc,yacc, etc. implementations as we do not have
the gnu versions installed, if this matters.

Thanks,
Barry Eynon
barry@playfair.stanford.edu
--
Barry Eynon
barry@playfair.stanford.edu