Chinaunix首页 | 论坛 | 博客
  • 博客访问: 151887
  • 博文数量: 54
  • 博客积分: 1732
  • 博客等级: 上尉
  • 技术积分: 520
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-23 23:29
文章分类

全部博文(54)

文章存档

2011年(3)

2010年(26)

2009年(25)

分类: BSD

2009-12-15 16:55:52

按照FreeBSD China上的高手的提示,我把/etc/make.conf改成了以下的样子

# added by use.perl 2009-12-12 06:24:14
PERL_VERSION=5.8.9

# 以下部分是我添加的
MASTER_SITE_BACKUP?=\
{DIST_SUBDIR}/
ftp://ftp.FreeBSDChina.org//pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
ftp://ftp8.jp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP}

当我使用以下命令安装kde4汉化包时
cd /usr/ports/chinese/kde4-l10n-zh_CN/
make install clean
提示错误退出,具体错误如下
The target system byte order could not be detected!
Turn on verbose messaging (-v) to see the final report.
You can use the -little-endian or -big-endian switch to
./configure to continue.
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/qt4-uic/work/qt-x11-opensource-src-4.5.2/src/tools/uic/../../..//config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/qt4-uic.
*** Error code 1

Stop in /usr/ports/chinese/kde4-l10n-zh_CN.
*** Error code 1

Stop in /usr/ports/chinese/kde4-l10n-zh_CN.

因为对ports还不熟,没仔细研究上面的东东,直接跑到
ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/amd64/packages-8.0-release/chinese/
下了个zh_CN-kde-l10n-4.3.1.tbz
然后用pkg_add zh_CN-kde-l10n-4.3.1.tbz搞定,之后就是设定环境变量了,我用的是bash
在.bash_profile中加入
export LANG=zh_CN.UTF-8
export LC_CTYPE=zh_CN.UTF-8
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
其中后面三项是为输入法设定的,但是不知道怎么回事,从kdm登录时,我的scim死活不能自动启动,感觉.xinitrc文件压根就没自动执行,因为里面设定的环境变量也没有定义,但是如果我从字符界面登录然后startx,scim就可以自动启动,太诡异了



阅读(755) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~