pbc icon indicating copy to clipboard operation
pbc copied to clipboard

autoconf fails: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

Open ilka-schulz opened this issue 4 years ago • 1 comments

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?

ilka-schulz avatar Dec 21 '21 15:12 ilka-schulz

This appears to work:

libtoolize --force
aclocal
autoheader
automake --add-missing
autoconf
./configure
make
sudo make install

ilka-schulz avatar Dec 21 '21 17:12 ilka-schulz