程序安装编译问题 xwin.c 出错,请高手指点

为当前最终发行版之前的所有版本提供支持
回复
cy_yuan
帖子: 2
注册时间: 2007-09-19 17:19
送出感谢: 0
接收感谢: 0

程序安装编译问题 xwin.c 出错,请高手指点

#1

帖子 cy_yuan » 2007-09-19 17:24

我下载安装EMBOSS软件,需要编译,在./configure以后 make 出现以下错误
xwin.c:2482: error: 'XwDisplay' has no member named 'rw_cmap'
xwin.c:2491: error: 'XwDisplay' has no member named 'visual'
xwin.c:2492: error: 'PseudoColor' undeclared (first use in this function)
xwin.c:2495: error: 'GrayScale' undeclared (first use in this function)
xwin.c:2498: error: 'DirectColor' undeclared (first use in this function)
xwin.c:2514: error: 'XwDisplay' has no member named 'rw_cmap'
xwin.c: In function 'AllocBGFG':
xwin.c:2538: error: 'XwDisplay' has no member named 'color'
xwin.c:2541: error: 'XwDisplay' has no member named 'rw_cmap'
xwin.c:2543: error: 'XwDisplay' has no member named 'display'
xwin.c:2543: error: 'XwDisplay' has no member named 'map'
xwin.c:2543: error: 'False' undeclared (first use in this function)
xwin.c:2547: error: 'XwDisplay' has no member named 'cmap0'
xwin.c:2551: error: 'XwDisplay' has no member named 'cmap0'
xwin.c:2551: error: 'XwDisplay' has no member named 'display'
xwin.c:2552: error: 'XwDisplay' has no member named 'fgcolor'
xwin.c:2552: error: 'XwDisplay' has no member named 'display'
xwin.c:2553: error: 'XwDisplay' has no member named 'rw_cmap'

是不是缺少什么包还是其他问题,此程序在FC4 上能正常编译,请各位帮帮忙!
cy_yuan
帖子: 2
注册时间: 2007-09-19 17:19
送出感谢: 0
接收感谢: 0

#2

帖子 cy_yuan » 2007-09-19 19:40

终于解决了,安装sudo apt-get install libx11-dev
bigben446
帖子: 108
注册时间: 2007-09-12 14:45
送出感谢: 8 次
接收感谢: 1 次

#3

帖子 bigben446 » 2008-06-11 0:53

thx,我在安装emboss碰到同样的问题,安你所说的解决了问题
回复

回到 “老旧版本支持”