CentOS -bash: ./xxx/make: No such file or directory

在安装mpfr时出现以下错误:

-bash: ./mpfr-3.1.2/make: No such file or directory

[[email protected] opt]# ./mpfr-3.1.2/make
-bash: ./mpfr-3.1.2/make: No such file or directory
[[email protected] opt]# /opt/mpfr-3.1.2/make
-bash: /opt/mpfr-3.1.2/make: No such file or directory
[[email protected] opt]# ../mpfr-3.1.2/make
-bash: ../mpfr-3.1.2/make: No such file or directory
[[email protected] opt]# mpfr-3.1.2/make
-bash: mpfr-3.1.2/make: No such file or directory
[[email protected] opt]# mpfr-3.1.2/configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
[[email protected] opt]# ./mpfr-3.1.2/configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
[[email protected] opt]# 

注意:

configure可 以像下面这样执行:

mpfr-3.1.2/configure

或:

./mpfr-3.1.2/configure

但是make和make install 就不能像下面这样执行:

mpfr-3.1.2/make

或:

./mpfr-3.1.2/make

mpfr-3.1.2/make install

或:

./mpfr-3.1.2/make install

时间: 2024-10-12 22:36:47

CentOS -bash: ./xxx/make: No such file or directory的相关文章

Visual Studio 2013: fatal error C1083: Cannot open include file: 'XXX.h': No such file or directory

So to do this in Visual Studio, open up Solution Explorer, right click on the main project's name and then select Properties. In the window that appears go to Configuration Properties->C/C++->General and in Additional Include Directories add the pat

交叉编译工具链bash: gcc:no such file or directory

在进行交叉编译工具链安装时,有三种方法: 1.源码编译,手动安装 2.二进制可执行文件直接安装 3.直接解压工具链,手动修改环境变量 为了方便,我们多用方法3进行安装.但是问题来了,你的工具链制作时有可能是针对32位OS的,但是你的虚拟机有可能是64位的. 这就导致一个问题: 修改了环境变量后,source以下,用tab按键能补齐命令,但是执行"cross-compiler-gcc -v"命令时,出现以下错误提示: bash:/opt/...../cross-compiler-gcc:

centos systemctl daemon-reload 提示 no such file or directory 的一个原因

service 的文件名写错了 比如 mongodb.service 写成了 mongodb.srvice 真的是坑,居然没有提示具体的路径,只是提示一个 no such file or directory 要是提示 xxx.service:no such file or directory 还好 原文地址:https://www.cnblogs.com/eleven24/p/9029357.html

sudo: unable to execute ./xxx.py: no such file or directory

$ ./mk_dataset.py -bash: ./mk_dataset.py: /home/ocean1101/anaconda3/bin/python^M: bad interpreter: No such file or directory $ sudo ./mk_dataset.py  sudo: unable to execute ./mk_dataset.py: No such file or directory  Hangup   这种现象是由于在pycharm中写的代码默认li

VS2010遇到fatal error C1083: 无法打开预编译头文件:“xxx.pch”: No such file or directory

对C++和VS2010非常不熟悉,但是无奈赶着项目,只能看了点基础就上手,然后就碰到这个问题了. 原因分析: http://bbs.csdn.net/topics/340191697?page=1 编译器一般都是以文件为单位进行编译,如果修改了工程中的一个文件,那么将导致所有文件都要从新编译,这样的编译将耗费很长时间.      为了提高编译速度,将那些不常被修改,比较稳定,文件单独包含到一个指定的头文件中, 然后生成一个预编译头文件 *.pch . VC中默认的头文件为 stdAfx.h, 但

error: xxx.h: No Such file or directory

名为xxx.h的文件或目录不存在. 注:在#include,#import中指定的文件不存在时会显示此种信息.最可能的原因是,文件名输入错误,好好检查一下文件名. 如果发生这种错误,最好也确认一下实际文件.因为还有可能是文件的检索路径没有指定正确.只要文件是包含在工程的文件夹中都是没有问题的.

jenkins 执行shell命令出错command not found 和No such file or directory

[[email protected] usr]# sh test.sh command not found [[email protected] ~]# cd usr-bash: cd: usr: No such file or directory 这里还碰到了一个问题,我用Xshell远程登录到服务器,直接可以执行我的一个脚本,这个脚本里有一些命令是在PATH路径下的. 但是在Jenkins里面直接执行脚本却报错了,说是找不到这些命令,最后我在执行脚本前先export PATH = /home

CentOS安装软件出现错误:bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

CentOS安装软件出现错误: bash: /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directorygoogle了一把才发现是64位系统中安装了32位程序解决方法:yum install glibc.i686 重新安装以后还有如下类系错误 再继续安装包 error while loading shared libraries: libstdc++.so.6: cannot open

终端SSH远程连接CentOS报错:-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

终端SSH远程连接CentOS时,报以下错误提示: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 在centos服务器上 sudo vim /etc/locale.conf 内容如下: LC_ALL=en_US.utf8 LC_CTYPE=en_US.utf8 LANG=en_US.utf8 重新连接就正常了. 原文地址:https://www.cnblog