首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么我得到一个“配置:错误:无法编译基本X程序”。试图编译蜘蛛猴时出错吗?

为什么我得到一个“配置:错误:无法编译基本X程序”。试图编译蜘蛛猴时出错吗?
EN

Ask Ubuntu用户
提问于 2012-01-27 01:30:52
回答 1查看 3.3K关注 0票数 4

我正在尝试在11.10上安装蜘蛛猴。然而,我有许多编译问题。

最近我收到了这个错误,但是我不能确切地理解错误是什么。

代码语言:javascript
复制
checking whether C compiler supports -fprofile-generate... yes
checking whether C++ compiler has -pedantic long long bug... no
checking for correct overload resolution with const and templates... no
checking what kind of list files are supported by the linker... linkerscript
checking for glib-2.0 >= 1.3.7 gobject-2.0... yes
checking GLIB_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-   gnu/glib-2.0/include  
checking GLIB_LIBS... -pthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0  
checking for stdint.h... yes
checking for inttypes.h... yes
checking for sys/int_types.h... no
checking for iwlib.h... yes
checking for posix_fallocate... yes
configure: error: Could not compile basic X program.
renshaw@renshaw-TravelMate-5740G:~/spidermonkey$ 

我试着从stackoverflow -安装蜘蛛猴上得到一个答案。我没有多少成功。

上面的错误可以解决吗?

EN

回答 1

Ask Ubuntu用户

发布于 2012-07-25 09:15:37

您应该安装-dev包,它提供了必要的头文件

代码语言:javascript
复制
sudo apt-get update
sudo apt-get install libxt-dev
票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/98883

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档