우분투 14.04에 gmp 4.3.2를 설치하는 방법

우분투 14.04에 gmp 4.3.2를 설치하는 방법

gcc-4.4.3을 설치하려고 하는데 gmp 4.3.2를 설치해야 합니다. 내가 실행할 때 :

./configure
make

이 오류가 발생합니다. 도와주세요?

make  all-recursive
make[1]: Entering directory `/home/abc/Downloads/gmp-4.2.3'
Making all in tests
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests'
Making all in .
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests'
Making all in devel
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/devel'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/devel'
Making all in mpn
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/mpn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/mpn'
Making all in mpz
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/mpz'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/mpz'
Making all in mpq
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/mpq'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/mpq'
Making all in mpf
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/mpf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/mpf'
Making all in rand
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/rand'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/rand'
Making all in misc
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/misc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/misc'
Making all in cxx
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/cxx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/cxx'
Making all in mpbsd
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tests/mpbsd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests/mpbsd'
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tests'
Making all in mpn
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/mpn'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/mpn'
Making all in mpz
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/mpz'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/mpz'
Making all in mpq
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/mpq'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/mpq'
Making all in mpf
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/mpf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/mpf'
Making all in printf
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/printf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/printf'
Making all in scanf
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/scanf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/scanf'
Making all in cxx
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/cxx'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/cxx'
Making all in mpbsd
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/mpbsd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/mpbsd'
Making all in demos
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/demos'
Making all in calc
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/demos/calc'
make  all-am
make[4]: Entering directory `/home/abc/Downloads/gmp-4.2.3/demos/calc'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/demos/calc'
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/demos/calc'
Making all in expr
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/demos/expr'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/demos/expr'
make[3]: Entering directory `/home/abc/Downloads/gmp-4.2.3/demos'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/demos'
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/demos'
Making all in tune
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/tune'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/tune'
Making all in doc
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3/doc'
make[2]: Entering directory `/home/abc/Downloads/gmp-4.2.3'
make[2]: Leaving directory `/home/abc/Downloads/gmp-4.2.3'
make[1]: Leaving directory `/home/abc/Downloads/gmp-4.2.3'

답변1

이 컴파일 로그에는 오류가 없습니다. "Nothing to be done for ..." 메시지는 폴더에서 컴파일해야 하는 모든 항목이 이미 컴파일되었음을 의미합니다(예: 이전 make 호출 중).

다음 단계는 일반적으로 다음 명령을 실행하는 것입니다.

sudo make install

시스템이 볼 수 있는 위치에 컴파일된 라이브러리를 설치합니다. (보통 /usr/local/lib/에 복사됩니다.)

관련 정보