找不到包

发布于 2024-11-18 15:20:55 字数 1694 浏览 2 评论 0原文

我正在尝试在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱人如己 2024-11-25 15:20:55

首先尝试安装必需品:

sudo apt-get install build-essential

然后安装其他可以使用的东西:

sudo apt-get install PackageName

例如:

sudo apt-get install ImageMagick

try installing the essentials first:

sudo apt-get install build-essential

then to install other stuff you can use:

sudo apt-get install PackageName

example:

sudo apt-get install ImageMagick
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文