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

简介: 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

目录
相关文章
|
Linux Shell Python
-bash: pip: command not found pip命令报错 解决方法(Centos版)
-bash: pip: command not found pip命令报错 解决方法(Centos版)
3933 0
|
9月前
|
Python
yum 安装报错 File "/usr/bin/yum", line 30
yum 安装报错 File "/usr/bin/yum", line 30
184 0
|
Ubuntu
./autogen.sh: 5: ./autogen.sh: autoreconf: not found
./autogen.sh: 5: ./autogen.sh: autoreconf: not found
278 1
|
Shell
bash: cd: too many arguments 报错解决方法
bash: cd: too many arguments 报错解决方法
653 0
./autogen.sh: 3: gtkdocize: not found
./autogen.sh: 3: gtkdocize: not found
107 0
|
Ubuntu
WARNING: The scripts f2py, f2py3 and f2py3.9 are installed in ‘/home/ubuntu/.local/bin‘ which is no
WARNING: The scripts f2py, f2py3 and f2py3.9 are installed in ‘/home/ubuntu/.local/bin‘ which is no
620 0
WARNING: The scripts f2py, f2py3 and f2py3.9 are installed in ‘/home/ubuntu/.local/bin‘ which is no
onfigure: error: cannot find install-sh, install.sh, or shtool in
onfigure: error: cannot find install-sh, install.sh, or shtool in
458 0
|
Shell
-bash: wget: command not found 解决方法
-bash: wget: command not found 解决方法
2392 0
|
资源调度 Shell
-bash: hexo: command not found
Mac上搭建Hexo报错: 解决办法: yarn global add hexo-cli
1525 0