+ -
当前位置:首页 → 问答吧 → 求教,安装ddd时出现错误

求教,安装ddd时出现错误

时间:2011-09-02

来源:互联网

在安装ddd时候,

第一步进行配置时,运行 ./configure后

出现如下错误:

checking for XOpenDisplay in -lX11... yes
checking for _Xlcmbcurmax in -lXintl... no
checking for shmap in -lipc... no
checking for XtToolkitInitialize in -lXt... no
configure: error: The X toolkit library '-lXt' could not be found.
  Please use the configure options '--x-includes=DIR'
  and '--x-libraries=DIR' to specify the X location.
  See the files 'config.log' and 'ddd/config.log'
  for further diagnostics.


请教如何解决

谢谢!

作者: attop   发布时间: 2011-09-02

试试
装上xorg-x11-libXt-devel 
看你的系统是什么发行版的,选择相应命令安装,用软件管理器也行.

apt-get install xorg-x11-libXt-devel 
yum install xorg-x11-libXt-devel 
zyapper install xorg-x11-libXt-devel 
......

作者: zmlovelx   发布时间: 2011-09-02

依赖的x11相当多的lib与头文件的.

这个如果后面还是configure不过, 请自行安装其他相应的 xxxx-libxxx--devel

作者: zmlovelx   发布时间: 2011-09-02

比如 -lXext 应试是对应 xorg-x11-libXext-devel
 -lXmu xorg-x11-libXmu-devel
-lXpm xorg-x11-libXpm-devel 

类推, 不明白,可以在软件管理里用模糊搜索.

作者: zmlovelx   发布时间: 2011-09-02

谢谢

debian linux

我用系统自带的synaptic成功安装了ddd-3.3.11版

所以依赖文件应该都有


我想升级为ddd-3.3.12

手工安装,第一步./configure

却出现上面的问题。



作者: attop   发布时间: 2011-09-02