# Thrift RPC 서버 설정 시 발생한 문제입니다

**URL:** <https://discourse.ubuntu-kr.org/t/thrift-rpc/15900>\
**Category:** 자유 게시판\
**Tags:** 서버\_네트워크\
**Created:** [6월 27, 2011, 12:22오후 UTC](https://discourse.ubuntu-kr.org/t/thrift-rpc/15900 "2011-06-27T12:22:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![toughyi](https://discourse.ubuntu-kr.org/letter_avatar_proxy/v4/letter/t/bc8723/32.png) [@toughyi](https://discourse.ubuntu-kr.org/u/toughyi)\
**Post date:** [6월 27, 2011, 12:22오후 UTC](https://discourse.ubuntu-kr.org/t/thrift-rpc/15900/1 "2011-06-27T12:22:47Z")

</div>

클라우드 컴퓨팅 구현 기술 이라는 책에서 나온 내용을 실습하고 있습니다.  
시작에서부터 문제가 발생하는데요. libboost-dev,automake,libtool,flex,bison,pkg-config g++ 등 설치하라는 거 다 설치하고  
jdk와 thrift 도 설치했습니다.

그리고 아래와 같은 명령어를 입력했는데 다음과 같은 에러가 발생하는데 원인을 모르겠습니다.  
뭐가 문제 일까요^^; 이것때문에 아주 골아프네요…

root@ubuntu[color=#BF0000:2l3et5x5]:/usr/local/thrift/thrift-0.6.1# ./configure JAVAC=/usr/java/jdk1.6.0\_26 --prefix=/usr/local/thrift make[/color:2l3et5x5]  
configure: WARNING: you should use --build, --host, --target  
checking for a BSD-compatible install… /usr/bin/install -c  
checking whether build environment is sane… yes  
checking for gawk… gawk  
checking whether make sets $(MAKE)… yes  
checking how to create a ustar tar archive… gnutar  
checking for make-gcc… no  
checking for gcc… gcc  
checking whether the C compiler works… yes  
checking for C compiler default output file name… a.out  
checking for suffix of executables…  
checking whether we are cross compiling… no  
checking for suffix of object files… o  
checking whether we are using the GNU C compiler… yes  
checking whether gcc accepts -g… yes  
checking for gcc option to accept ISO C89… none needed  
checking for style of include used by make… GNU  
checking dependency style of gcc… gcc3  
checking how to run the C preprocessor… gcc -E  
checking for make-g++… no  
checking for make-c++… no  
checking for make-gpp… no  
checking for make-aCC… no  
checking for make-CC… no  
checking for make-cxx… no  
checking for make-cc++… no  
checking for make-cl.exe… no  
checking for make-FCC… no  
checking for make-KCC… no  
checking for make-RCC… no  
checking for make-xlC\_r… no  
checking for make-xlC… no  
checking for g++… g++  
checking whether we are using the GNU C++ compiler… yes  
checking whether g++ accepts -g… yes  
checking dependency style of g++… gcc3  
checking build system type… Invalid configuration `make': machine `make’ not recognized  
configure: error: /bin/bash ./config.sub make failed  
root@ubuntu:/usr/local/thrift/thrift-0.6.1# ^C  
root@ubuntu:/usr/local/thrift/thrift-0.6.1# apt-get install thrift  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
E: Unable to locate package thrift  
root@ubuntu:/usr/local/thrift/thrift-0.6.1# apt-get install jdk  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
E: Unable to locate package jdk  
root@ubuntu:/usr/local/thrift/thrift-0.6.1# ./configure JAVAC=/usr/java/jdk1.6.0\_26 --prefix=/usr/local/thrift make  
configure: WARNING: you should use --build, --host, --target  
checking for a BSD-compatible install… /usr/bin/install -c  
checking whether build environment is sane… yes  
checking for gawk… gawk  
checking whether make sets $(MAKE)… yes  
checking how to create a ustar tar archive… gnutar  
checking for make-gcc… no  
checking for gcc… gcc  
checking whether the C compiler works… yes  
checking for C compiler default output file name… a.out  
checking for suffix of executables…  
checking whether we are cross compiling… no  
checking for suffix of object files… o  
checking whether we are using the GNU C compiler… yes  
checking whether gcc accepts -g… yes  
checking for gcc option to accept ISO C89… none needed  
checking for style of include used by make… GNU  
checking dependency style of gcc… gcc3  
checking how to run the C preprocessor… gcc -E  
checking for make-g++… no  
checking for make-c++… no  
checking for make-gpp… no  
checking for make-aCC… no  
checking for make-CC… no  
checking for make-cxx… no  
checking for make-cc++… no  
checking for make-cl.exe… no  
checking for make-FCC… no  
checking for make-KCC… no  
checking for make-RCC… no  
checking for make-xlC\_r… no  
checking for make-xlC… no  
checking for g++… g++  
checking whether we are using the GNU C++ compiler… yes  
checking whether g++ accepts -g… yes  
checking dependency style of g++… gcc3  
checking build system type… Invalid configuration `make': machine `make’ not recognized  
configure: error: /bin/bash ./config.sub make failed

---

<div class="post-metadata">

**Author:** ![yemharc](https://discourse.ubuntu-kr.org/user_avatar/discourse.ubuntu-kr.org/yemharc/32/363_2.png) [@yemharc](https://discourse.ubuntu-kr.org/u/yemharc)\
**Post date:** [6월 27, 2011, 12:32오후 UTC](https://discourse.ubuntu-kr.org/t/thrift-rpc/15900/2 "2011-06-27T12:32:13Z")

</div>

일단 이게 눈에 띄는군요.

E: Unable to locate package xxx

software-properties-gtk (소프트웨어 소스)를 실행하셔서 [기타 소프트웨어] 탭에 [캐노니컬 파트너 (패키지와 소스코드)]가 체크되어 있는지 확인해보세요.

---

<div class="post-metadata">

**Author:** ![toughyi](https://discourse.ubuntu-kr.org/letter_avatar_proxy/v4/letter/t/bc8723/32.png) [@toughyi](https://discourse.ubuntu-kr.org/u/toughyi)\
**Post date:** [6월 27, 2011, 2:53오후 UTC](https://discourse.ubuntu-kr.org/t/thrift-rpc/15900/3 "2011-06-27T14:53:08Z")

</div>

해결 됬습니다!!  
yemharc 님 말씀대로 저 명령어로 들어가서 체크했습니다. 그리고 나서 했더니 아까와는 달리 무언가 됬다 라는 느낌이 나왔습니다.  
이런 걸로 몇시간을 날린건지…; yemharc 님 아니었으면 몇일이 더 걸렸을지도 몰랐었겠네요 …;;  
정말 감사합니다. ![:P]( "키키킥")

[quote="yemharc":34e0tma8]일단 이게 눈에 띄는군요.

E: Unable to locate package xxx

software-properties-gtk (소프트웨어 소스)를 실행하셔서 [기타 소프트웨어] 탭에 [캐노니컬 파트너 (패키지와 소스코드)]가 체크되어 있는지 확인해보세요.[/quote:34e0tma8]
