onfigure: error: cannot find install-sh, install.sh, or shtool in

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了onfigure: error: cannot find install-sh, install.sh, or shtool in相关的知识,希望对你有一定的参考价值。

详细错误:

configure: error: cannot find install-sh, install.sh, or shtool in "/home/tsit/jna-5.8.0/native/libffi" "/home/tsit/jna-5.8.0/native/libffi/.." "/home/tsit/jna-5.8.0/native/libffi/../.."
make: *** [Makefile:511:../build/native/libffi/.libs/libffi.a] 错误 1

解决办法:

sudo apt-get install automake autoconf libtool
./configure, make all, make install

# 注意检查目录。比如编译libffi,会提示:
# autoreconf: 'configure.ac' or 'configure.in' is required
# 这个时候,进入libffi目录即可。

$ autoreconf -vif
$ ./configure --prefix=/usr/lib/erlang/lib
$ make
$ sudo make instal

以上是关于onfigure: error: cannot find install-sh, install.sh, or shtool in的主要内容,如果未能解决你的问题,请参考以下文章

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such f

编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such f

SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are activ

error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

webpack-dev-server config.js Cannot find module