分页: 1 / 1

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

发表于 : 2007-09-19 17:24
cy_yuan
我下载安装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 上能正常编译,请各位帮帮忙!

发表于 : 2007-09-19 19:40
cy_yuan
终于解决了,安装sudo apt-get install libx11-dev

发表于 : 2008-06-11 0:53
bigben446
thx,我在安装emboss碰到同样的问题,安你所说的解决了问题