Linux 下串口终端,默认是字符界面minicom.这个软件优点是REHL自带,缺点也不少。一是在在LINUX桌面版下,对于嵌入式初学者,容易与字符终端搞混,。二是界面分隔不明显,如解释给开发板传送文件,不太容易看出是怎么进行。而在WINDOWS下,用超级终端就分隔的很明显,学生一操作就明白,三是与开发板有一些不太兼容,比如在某一个开发板上,发现光标经常丢失,这样造成使用上极为不方便,因此后我也就找到一款图形界面串口终端,gtkterm来代替minicom
gtkterm的使用说明
下载
http://www.jls-info.com/julien/linux/
最新版本是 http://www.jls-info.com/julien/linux/gtkterm-0.99.5.tar.gz
在RHEL5上它需要 libiconv库和libvte 0.10.以上库
这个是典型的configure & make & make install项目
1.安装libiconv
2.安装VTE,否则报相应的库找不到,RHEL自带光盘带了安装文件,但是默认开发库找不到。
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.10.4... yes
checking for TERMINAL_WIDGET... Package vte was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte' found
configure: error: Package requirements (vte >= 0.10.4) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed sofchecking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.10.4... yes
checking for TERMINAL_WIDGET... Package vte was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte' found
configure: error: Package requirements (vte >= 0.10.4) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the TERMINAL_WIDGET_CFLAGS and TERMINAL_WIDGET_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
tware in a non-standard prefix.
Alternatively you may set the TERMINAL_WIDGET_CFLAGS and TERMINAL_WIDGET_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
安装库文件,
[root@rhel5 Server]# rpm -ivh vte-0.14.0-2.el5.i386.rpm
warning: vte-0.14.0-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
package vte-0.14.0-2.el5 is already installed
[root@rhel5 Server]# rpm -ivh vte-devel-0.14.0-2.el5.i386.rpm
warning: vte-devel-0.14.0-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:vte-devel ########################################### [100%]
[root@rhel5 Server]#
3.生成make ,注意要把链接iconv库的语句加入,否则链接时找不到。
LDFLAGS=-liconv ./configure #生成Makefile,如果提示缺省的C找不到,可以先执行一次./configure后再执行上述语句
4.编译,安装 make & make install
安装后执行 gtkterm. 进行图形界面配置即可
来源:http://blog.chinaunix.net/u3/105675/showart_2108697.html
gtkterm的使用说明
下载
http://www.jls-info.com/julien/linux/
最新版本是 http://www.jls-info.com/julien/linux/gtkterm-0.99.5.tar.gz
在RHEL5上它需要 libiconv库和libvte 0.10.以上库
这个是典型的configure & make & make install项目
1.安装libiconv
2.安装VTE,否则报相应的库找不到,RHEL自带光盘带了安装文件,但是默认开发库找不到。
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.10.4... yes
checking for TERMINAL_WIDGET... Package vte was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte' found
configure: error: Package requirements (vte >= 0.10.4) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed sofchecking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.10.4... yes
checking for TERMINAL_WIDGET... Package vte was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte' found
configure: error: Package requirements (vte >= 0.10.4) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the TERMINAL_WIDGET_CFLAGS and TERMINAL_WIDGET_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
tware in a non-standard prefix.
Alternatively you may set the TERMINAL_WIDGET_CFLAGS and TERMINAL_WIDGET_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
安装库文件,
[root@rhel5 Server]# rpm -ivh vte-0.14.0-2.el5.i386.rpm
warning: vte-0.14.0-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
package vte-0.14.0-2.el5 is already installed
[root@rhel5 Server]# rpm -ivh vte-devel-0.14.0-2.el5.i386.rpm
warning: vte-devel-0.14.0-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:vte-devel ########################################### [100%]
[root@rhel5 Server]#
3.生成make ,注意要把链接iconv库的语句加入,否则链接时找不到。
LDFLAGS=-liconv ./configure #生成Makefile,如果提示缺省的C找不到,可以先执行一次./configure后再执行上述语句
4.编译,安装 make & make install
安装后执行 gtkterm. 进行图形界面配置即可
来源:http://blog.chinaunix.net/u3/105675/showart_2108697.html
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/2840/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
评论列表