免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2489 | 回复: 3
打印 上一主题 下一主题

为什么我的linux输入命令之后的回显有乱码? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-22 10:38 |只看该作者 |倒序浏览
我是想安装ltp-full-20060412这个软件,但是回显里面存有乱码,我也不知道是否安装成功,请看:
[root@localhost ltp-full-20060412]# ll
鎬昏? 3408
-rw-r--r--  1 root root   85663 2006-04-12 ChangeLog
-rw-r--r--  1 root root   18007 2000-05-06 COPYING
-rw-r--r--  1 root root     764 2001-09-26 CREDITS
drwxr-xr-x  2 root root    4096 2006-04-12 CVS
-rw-r--r--  1 root root 3165914 2006-04-11 cvslog
drwxr-xr-x  7 root root    4096 2006-04-11 doc
-rwxr-xr-x  1 root root    4822 2006-02-09 IDcheck.sh
drwxr-xr-x  3 root root    4096 2006-04-11 include
-rw-r--r--  1 root root    3422 2004-03-02 INSTALL
drwxr-xr-x  3 root root    4096 2006-04-13 lib
-rwxr-xr-x  1 root root   19696 2004-10-01 ltpmenu
-rw-r--r--  1 root root    2290 2006-02-24 Makefile
drwxr-xr-x  4 root root    4096 2006-04-13 pan
-rw-r--r--  1 root root    2755 2004-02-06 README
-rwxr-xr-x  1 root root    2692 2004-09-03 runalltests.sh
-rwxr-xr-x  1 root root   12959 2005-03-12 runltp
-rwxr-xr-x  1 root root   10176 2005-04-19 runltplite.sh
drwxr-xr-x  3 root root    4096 2006-04-11 runtest
drwxr-xr-x 12 root root    4096 2006-04-13 testcases
drwxr-xr-x  3 root root    4096 2006-04-11 testscripts
drwxr-xr-x 10 root root    4096 2006-04-13 tools
-rwxr-xr-x  1 root root    2539 2005-10-04 ver_linux
[root@localhost ltp-full-20060412]# make
make[1]: Entering directory `/root/ltp/ltp-full-20060412/lib'
cc -Wall  -I../include  -Wall    -c -o dataascii.o dataascii.c
make[1]: cc锛氬懡浠ゆ湭鎵惧埌
make[1]: *** [dataascii.o] 閿欒? 127
make[1]: Leaving directory `/root/ltp/ltp-full-20060412/lib'
make: *** [libltp.a] 閿欒? 2

这是什么原因呢,我的操作步骤对么?

论坛徽章:
0
2 [报告]
发表于 2007-06-22 11:31 |只看该作者
在字符模式还是X模式呢.

论坛徽章:
0
3 [报告]
发表于 2007-06-22 12:04 |只看该作者
字符集有问题把
utf8?
gb2312?
输出没有定义把

论坛徽章:
0
4 [报告]
发表于 2007-06-22 12:16 |只看该作者
export LANG=C
然后再试一下那个命令
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP