SparkPlug

八月 17, 2007

升级出现错误

归类于: gentoo — sparkplugcn @ 2:30 pm

今天升级Gentoo,结果出现了下面的错误

checking for XML::Parser… configure: error: XML::Parser perl module is required for intltool

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gnome-base/gconf-2.18.0.1/work/GConf-2.18.0.1/config.log

!!! ERROR: gnome-base/gconf-2.18.0.1 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call ’src_compile’
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1322: Called gnome2_src_compile
gnome2.eclass, line 70: Called gnome2_src_configure
gnome2.eclass, line 66: Called econf ‘–enable-gtk’ ‘–disable-gtk-doc’
ebuild.sh, line 586: Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at ‘/var/tmp/portage/gnome-base/gconf-2.18.0.1/temp/build.log’.

于是先升级XML-praser

emerge -av XML-Parser

然后重新emerge -uDNa world就可以了.
最早我用过revdep-rebuild -X,可是到了stardict就断了,不知道什么原因,然后equery depends expat发现提示里XML-Parser,就先升级了它,就可以了,主要是看了这里才误打误撞瞎猫碰上死耗子:-)

Powered by ScribeFire.

八月 15, 2007

gentoo安装antivir

归类于: gentoo, howto — sparkplugcn @ 2:42 pm

Linux下装个杀毒软件,做个心理安慰,试过源里提供的BitDefender和F-prot,都感觉不太好,最后还是选择了过去在Win下也很喜欢的antivir,不过我没有用GUI的界面.
1,去www.freeav.com下载Linux版本的antivir
2,解压:tar xvzf antivir-workstation-pers.tar.gz
3,进入相应目录:cd antivir-workstation-pers-xxx
4,安装: ./install (需要root的执行权)
a,按加车看协议 ,不想看协议就直接按q,然后选择Y同意.
b,Enter the path to your key file: [hbedv.key] 直接回车就可以
c,Would you like to install the internet update daemon? [n] 不想自动升级选择”n”,回车.别担心可以手动升级的.
d,How should AvGuard be installed? [n] 是否要实时监控,选择no,Linux下没有必要实时监控.
e,Would you like to install the GUI (+ SMC support)? [y] 是否要图形界面.如果要用的话,要装一堆东东,选择no
f,Would you like to configure the AntiVir updater now? [y] 是否要现在配置升级.选择yes
g,Would you like email notification about updates? [n] 升级后是否要Email通知,选择no
h,Would you like the updater to log to a custom file? [y] 是否升级自己的升级log,选择yes,然后把文件放在想要的地方,不想修改的话,可以回车放在默认的地方.
i,Does this machine use an HTTP proxy server? [n] 是否要代理服务器,选择no
j,Save configuration settings? [y] 是否保存设置,选择yes,然后一路回车就可以了,安装完毕.
5,使用
需要root权限
升级:antivir –update
杀毒:antivir /. –allfiles -s

Powered by ScribeFire.

Blog at WordPress.com.