缺少X系统开发相关文件,该怎么解决,不知道要下什么安装

发布于 2022-07-20 05:47:28 字数 2121 浏览 11 评论 2

安装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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一绘本一梦想 2022-07-21 10:12:52

原帖由 hongzjx 于 2006-3-16 11:37 发表
装上吧

我现在不知道要下什么文件安装,对应什么rpm文件,

以酷 2022-07-20 08:56:47

装上吧

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文