2011-07-05 75 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。 COM /。 –

回答

1

首先嚐試安裝要領:

sudo apt-get install build-essential 

再安裝其他東西,你可以使用:

sudo apt-get install PackageName 

例如:

sudo apt-get install ImageMagick 
相關問題