找不到包
我正在尝试在ubuntu10.10上编译MC2服务器的c++代码。在配置它时,我收到以下错误:
sonal@vlab:~/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')
即使大多数这些软件包已经安装。
I am trying to compile MC2 server's c++ code on ubuntu10.10. on configuring it i get the following error:
sonal@vlab:~/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')
even though most of these packages are already installed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先尝试安装必需品:
然后安装其他可以使用的东西:
例如:
try installing the essentials first:
then to install other stuff you can use:
example: