Oopsie!
I forgot the most important error of the bunch....
the file locking...
Why is configure missing these on OSF1 v5.1?
From config.log
----------------
configure:9534: checking for fflush declaration in stdio.h
configure:9593: checking for flock
configure:9621: gcc -o conftest -I/usr/local/gnu/include
-I/usr/local/gnu/include/readline conftest.c -lm -ltermcap\
1>&5
configure:9647: checking for flock declaration in sys/file.h
configure:9706: checking for fprintf
configure:19224: checking whether posix fcntl locking works
configure:19244: gcc -o conftest -I/usr/local/gnu/include
-I/usr/local/gnu/include/readline conftest.c -lm -ltermcap
\
1>&5