우분투에 CMake 소스를 받아 컴파일해서 설치하려고 하는데, 아래와 같은 오류가 발생합니다.

해결 방법 부탁드립니다.

root@bee:/usr/src/bee/cmake-3.1.3# ./bootstrap

---------------------------------------------

CMake 3.1.3, Copyright 2000-2015 Kitware, Inc.

---------------------------------------------

Error when bootstrapping CMake:

Cannot find appropriate C compiler on this system.

Please specify one using environment variable CC.

See cmake_bootstrap.log for compilers attempted.

 

---------------------------------------------

Log of errors: /usr/src/bee/cmake-3.1.3/Bootstrap.cmk/cmake_bootstrap.log

---------------------------------------------

1 답변

0 투표

root@bee:/usr/src/bee/cmake-3.1.3# apt-get install gcc

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:

  gcc-4.8 libasan0 libatomic1 libc-dev-bin libc6-dev libgcc-4.8-dev libgomp1

  libitm1 libquadmath0 libtsan0 linux-libc-dev manpages-dev

Suggested packages:

  gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc

  gcc-4.8-multilib gcc-4.8-doc gcc-4.8-locales libgcc1-dbg libgomp1-dbg

  libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libbacktrace1-dbg

  libquadmath0-dbg glibc-doc

The following NEW packages will be installed:

  gcc gcc-4.8 libasan0 libatomic1 libc-dev-bin libc6-dev libgcc-4.8-dev

  libgomp1 libitm1 libquadmath0 libtsan0 linux-libc-dev manpages-dev

0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.

구로역 맛집 시흥동 맛집
이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.
add
...