您当前的位置: 首页 >  centos

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

发布时间:2015-05-01 17:52:43 ,浏览量:0

在安装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

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    106485博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0505s