gnome-keyring的烦恼
gentoo多版本gcc共存
前几天装xorp的时候发现我当前的gcc版本是4.4.4,编译时提示
error: #ident is a deprecated GCC extension
看来是gcc的版本太新了,已经不兼容这样的一些老用法,于是想emerge一个老版本的gcc,emerge过程倒是简单,到/usr/portage/下找到老版本的ebuild再emerge它就可以了,但是在编译老版本gcc的出现下面的错误:
/var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/errors.c:1: error: bad value (native) for -march= core2
阅读全文…
libstdc++.so.6引起的问题两则
问题一:
今天准备升级到firefox-3.6.4,在编译xulrunner-1.9.2.4时出现下面的错误:
./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by ./../../dist/bin/js) ./../../dist/bin/js: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by ./../../dist/bin/js) make[3]: *** [libs] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.4/work/mozilla-1.9.2/js/src' make[2]: *** [libs_tier_js] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.4/work/mozilla-1.9.2' make[1]: *** [tier_js] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.4/work/mozilla-1.9.2' make: *** [default] Error 2 * ERROR: net-libs/xulrunner-1.9.2.4 failed:
gnome升级后出现一点问题及解决方案
昨天中午emerge -avuDN world发现portage中的GNOME可以升级到2.30了,于是就升级,但是升级完毕后重新启动发现桌面主题全部失效,图标变得特丑~~~~~通过图形设置界面来更改主题设置也没有效果~
执行revdep-rebuild发现GNOME-settings-daemon需要重新编译,但是它并未升级到2.30,还是2.28版本,编译时由于依赖的关系无法编译成功。看来这个问题就是由于portage中gnome升级,但是有部分组件没有同步升级导致的,遇到这样可以等待一天左右的时间,portage一般会将其它的组件更新。不过我觉得面对如此丑陋的桌面没谁会耐心地去等吧~~~所以可以加入gnome的overlay,直接从gnome官方升级所有的组件,来解决这个问题。
阅读全文…
A reversion of Lighttpd’s dir-generator.php
I got the dir-generator.php worked in my own server, but I found that in some particular circumstance the script worked not very well. For instance, if the filenames has Chinese words, the script displays it in error codes, and because the script uses PHP function filesize() and filemtime() to get the file size and mtime, if the file is very large (for example 4GB), the functions will not work. Even worse, the PHP function is_file() cannot work with large file either, and it makes the large file disappear from the directories list. For normal user, it is very hard to deal with these problem, and maybe they will drop the script.
阅读全文…
ATI显卡闭源驱动造成窗口最大化延迟 卡的gentoo解决方案
xorg-server在使用ATI闭源驱动时会有一个BUG,具体表现在窗口最大化最小化等操作时会有明显延迟,让人很不爽,对于其它的比如ubuntu等发行版已经有了简便的解决方案,给xorg-server打上补丁即可,但是在gentoo中使用了ATI-drivers后也有此现象,遍历众多网站终于找到解决这个问题的方案。实际上也是给xorg-server打上一个补丁,与其它发行版的解决途径是相同的,补丁的名字叫作blackclear,下面说一下给xorg-server(我的版本是1.7.6,更高的版本未经测试)打此补丁的具体步骤
阅读全文…
一点好玩的东西:蓝屏404页面
前几天有同学发现http://ftp.ubuntu.org.cn的404页面很雷人,于是访问了一下果然出现了亲切的bluescreen,想到俺博客有关Linux的内容比较多,何不把这个404页面搬过来调侃调侃M$喃~~~~
网页代码就直接搬的http://ftp.ubuntu.org.cn的页面,有时间自己再动手DIY一下~~
现在大家可以访问www.chenhuan.net/abcde来看看已经生效的404页面了~~哈哈
阅读全文…
最新评论