缺少X系统开发相关文件,该怎么解决,不知道要下什么安装
安装ns的时候提示,
checking for X... no
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c xgraph.c
In file included from xgraph.c:32:
xgraph.h:10:21: X11/Xos.h: 没有那个文件或目录
xgraph.h:11:22: X11/Xlib.h: 没有那个文件或目录
xgraph.h:12:23: X11/Xutil.h: 没有那个文件或目录
xgraph.h:13:28: X11/cursorfont.h: 没有那个文件或目录
In file included from xgraph.c:32:
xgraph.h:138: error: syntax error before '*' token
xgraph.h:138: warning: data definition has no type or storage class
xgraph.h:139: error: syntax error before '*' token
xgraph.h:139: warning: data definition has no type or storage class
xgraph.h:140: error: syntax error before "cmap"
xgraph.h:140: warning: data definition has no type or storage class
xgraph.h:177: error: syntax error before "Window"
xgraph.h:177: warning: no semicolon at end of struct or union
xgraph.h:179: warning: data definition has no type or storage class
xgraph.h:180: error: syntax error before "rewind"
xgraph.h:180: error: 'rewind' redeclared as different kind of symbol
/usr/include/stdio.h:655: error: previous declaration of 'rewind' was here
xgraph.h:180: error: 'rewind' redeclared as different kind of symbol
/usr/include/stdio.h:655: error: previous declaration of 'rewind' was here
xgraph.h:180: warning: data definition has no type or storage class
xgraph.h:181: error: syntax error before "replot"
xgraph.h:181: warning: data definition has no type or storage class
xgraph.h:182: error: syntax error before "deriv"
xgraph.h:182: warning: data definition has no type or storage class
xgraph.h:185: error: syntax error before '}' token
xgraph.h:185: warning: data definition has no type or storage class
xgraph.h:188: error: syntax error before '*' token
xgraph.h:188: warning: data definition has no type or storage class
In file included from xgraph.c:33:
请问这样的问题该怎么解决,
缺少X系统开发相关文件,该怎么解决,不知道要下什么安装
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我现在不知道要下什么文件安装,对应什么rpm文件,
装上吧