码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-05-01 18:45:18      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:centos   mpfr   directory   make   file   

在安装mpfr时出现以下错误:
-bash: ./mpfr-3.1.2/make: No such file or directory

[root@localhost opt]# ./mpfr-3.1.2/make
-bash: ./mpfr-3.1.2/make: No such file or directory
[root@localhost opt]# /opt/mpfr-3.1.2/make
-bash: /opt/mpfr-3.1.2/make: No such file or directory
[root@localhost opt]# ../mpfr-3.1.2/make
-bash: ../mpfr-3.1.2/make: No such file or directory
[root@localhost opt]# mpfr-3.1.2/make
-bash: mpfr-3.1.2/make: No such file or directory
[root@localhost 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
[root@localhost 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
[root@localhost 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

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

标签:centos   mpfr   directory   make   file   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45420655

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!