expect简单安装

网友投稿 614 2022-09-23

expect简单安装

expect简单安装

安装前最好把相应的库软件包安装完 tar zxvf autoconf-2.61.tar.gz cd autoconf-2.61 ./configure && make && make install tar zxvf tcl8.5.8-src.tar.gz 必备软件包 cd tcl8.5.8/unix/ ./configure && make && make install tar zxvf tk8.5.8-src.tar.gz  必备软件包 cd tk8.5.8/unix/ ./configure && make && make install tar zxvf expect-5.44.1.15.tar.gz cd expect-5.44.1.15 ./configure && make && make install 安装tk遇到错误: In file included from /home/adwiser/tk8.5.8/unix/../generic/tkInt.h:21,                  from /home/adwiser/tk8.5.8/unix/../generic/tk3d.c:16: /home/adwiser/tk8.5.8/unix/../generic/tk.h:78:23: error: X11/Xlib.h: No such file or directory In file included from /home/adwiser/tk8.5.8/unix/../generic/tkInt.h:21,                  from /home/adwiser/tk8.5.8/unix/../generic/tk3d.c:16: /home/adwiser/tk8.5.8/unix/../generic/tk.h:549: error: expected declaration specifiers or ¡®...¡¯ before ¡®Window¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:549: warning: type defaults to ¡®int¡¯ in declaration of ¡®Window¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:549: error: ¡®Window¡¯ declared as function returning a function /home/adwiser/tk8.5.8/unix/../generic/tk.h:549: warning: parameter names (without types) in function declaration /home/adwiser/tk8.5.8/unix/../generic/tk.h:552: error: expected declaration specifiers or ¡®...¡¯ before ¡®XEvent¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:561: error: expected specifier-qualifier-list before ¡®Tk_ClassCreateProc¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:655: error: expected specifier-qualifier-list before ¡®Bool¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:677: error: expected specifier-qualifier-list before ¡®Bool¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:756: error: expected specifier-qualifier-list before ¡®Display¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:902: error: expected declaration specifiers or ¡®...¡¯ before ¡®XPoint¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:996: error: expected declaration specifiers or ¡®...¡¯ before ¡®Display¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:998: error: expected declaration specifiers or ¡®...¡¯ before ¡®Display¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:998: error: expected declaration specifiers or ¡®...¡¯ before ¡®Drawable¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:1099: error: expected specifier-qualifier-list before ¡®XColor¡¯ /home/adwiser/tk8.5.8/unix/../generic/tk.h:1162: error: expected specifier-qualifier-list before ¡®GC¡¯ 解决方法: yum  -y install libX11-*

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:复盘:大卖50亿元,中海营销的攻守道!
下一篇:UNIX信号初接触
相关文章

 发表评论

暂时没有评论,来抢沙发吧~