CentOS, official website of centos
The following error occurs when installing 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/configurechecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yesconfigure: error: source directory already configured; run "make distclean" there first[root@localhost opt]# ./mpfr-3.1.2/configurechecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yesconfigure: error: source directory already configured; run "make distclean" there first[root@localhost opt]#
Note:
Configure can be executed as follows:
Mpfr-3.1.2/configure
Or:
/Mpfr-3.1.2/configure
However, make and make install cannot be executed as follows:
Mpfr-3.1.2/make
Or:
/Mpfr-3.1.2/make
Mpfr-3.1.2/make install
Or:
./Mpfr-3.1.2/make install