2011-07-05 7 views
0

ubuntu10.10에서 MC2 서버의 C++ 코드를 컴파일하려고합니다. 구성시 다음과 같은 오류가 발생합니다.패키지를 찾을 수 없습니다.

[email protected]:~/Downloads/wayfinder-Wayfinder-Server-fbd75c3$ ./waf configure 
Checking for program g++     : not found 
Checking for program c++     : not found 
Checking for program icpc    : not found 
Checking for program c++     : not found 
Checking for program CC     : not found 
Checking for program tex     : not found 
Checking for program latex    : not found 
Checking for program pdflatex   : not found 
Checking for program bibtex    : not found 
Checking for program dvips    : not found 
Checking for program dvipdf    : ok /usr/bin/dvipdf 
Checking for program ps2pdf    : ok /usr/bin/ps2pdf 
Checking for program makeindex   : not found 
Checking for program pdf2ps    : ok /usr/bin/pdf2ps 
Checking for openssl      : ok 
Checking for cairo      : not found 
Checking for ImageMagick     : not found 
Checking for librsvg-2.0     : not found 
Checking for program mysql_config  : not found 
sh: mysql_config: not found 
sh: mysql_config: not found 
Checking for libmemcached    : not found 
Checking for gtk+-2.0 >= 2.1.0   : Package gtk+-2.0 was not found in the pkg-config search path. 
Perhaps you should add the directory containing `gtk+-2.0.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'gtk+-2.0' found 

error: the configuration failed (see '/home/sonal/Downloads/wayfinder-Wayfinder-Server-fbd75c3/output/config.log') 

이러한 패키지가 이미 설치되어 있더라도. 먼저 필수 설치

+0

는 HTTP에이어야한다 : // askubuntu. co.kr /. –

답변

1

시도 :

sudo apt-get install build-essential 

다음 당신이 사용할 수있는 다른 물건을 설치 :

sudo apt-get install PackageName 

예 :

sudo apt-get install ImageMagick 
관련 문제