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版)
3815 0
|
2月前
|
Python
python 升级后 yum 无法使用 File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: `/usr/libexec/urlgrabber-ext-down`
python 升级后 yum 无法使用 File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: `/usr/libexec/urlgrabber-ext-down`
14 0
|
4月前
|
Ubuntu PHP
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
ubuntu php libzip安装 ./configure报错 checking for libzip... not found configure
88 1
|
5月前
|
Python
yum 安装报错 File "/usr/bin/yum", line 30
yum 安装报错 File "/usr/bin/yum", line 30
129 0
|
11月前
|
Ubuntu
./autogen.sh: 5: ./autogen.sh: autoreconf: not found
./autogen.sh: 5: ./autogen.sh: autoreconf: not found
145 1
./autogen.sh: 3: gtkdocize: not found
./autogen.sh: 3: gtkdocize: not found
95 0
|
Shell 数据库管理
/bin/sh: 1: tclsh: not found
/bin/sh: 1: tclsh: not found
273 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
593 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
428 0
|
Shell
-bash: wget: command not found 解决方法
-bash: wget: command not found 解决方法
2269 0
下一篇
无影云桌面