国内最全IT社区平台 联系我们 | 收藏本站
华晨云阿里云优惠2
您当前位置:首页 > 服务器 > CentOS -bash: ./xxx/make: No such file or directory

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

来源:程序员人生   发布时间:2015-05-07 09:08:58 阅读次数:3257次

在安装mpfr时出现以下毛病:
-bash: ./mpfr⑶.1.2/make: No such file or directory

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

但是make和make install 就不能像下面这样履行:
mpfr⑶.1.2/make
或:
./mpfr⑶.1.2/make

mpfr⑶.1.2/make install
或:
./mpfr⑶.1.2/make install

生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠
程序员人生
------分隔线----------------------------
分享到:
------分隔线----------------------------
关闭
程序员人生