pbc
pbc copied to clipboard
autoconf fails: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
The INSTALL doc says to run ./configure but of course that file does not exist. Running autotools throws this error:
$ aclocal
pbc/parser.y:20.1-14: warning: deprecated directive: ‘%error-verbose’, use ‘%define parse.error verbose’ [-Wdeprecated]
20 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
pbc/parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
aclocal: warning: couldn't open directory 'm4': No such file or directory
$ autoconf
pbc/parser.y:20.1-14: warning: deprecated directive: '%error-verbose', use '%define parse.error verbose' [-Wdeprecated]
20 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
pbc/parser.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
Does anyone know a working build route?
This appears to work:
libtoolize --force
aclocal
autoheader
automake --add-missing
autoconf
./configure
make
sudo make install