We should forget about small efficiencies — Donald Knuth
31 Aug
Gentoo Linux 2006.1 released, from LWN.
這次的比較大的改變是:
如果已經裝 Gentoo 2006.0 以前的話, 那升級主要就是升 gcc 和 glibc. 要小心的是, 安裝 glibc 的過程一但出狀況, 事情會很複雜, 可能絕大部份的指令都不能用 (ls, bash, emerge and so on). 要特別注意.
glibc 2.4 預設已經 enable NPTL only, 所以 Gentoo 的 glibc 也不會採 NPTL 和 LinuxThread 雙行的模式了, 因此沒有在 /etc/make.conf 中設 nptlonly 的 USE flag, 是沒辦法裝 glibc 2.4 的. 因為我之前就有設 nptlonly, 所以無法知道沒設的話 migration 會有甚麼問題.
根據 GWN 08/28/2006, 說要升級 gcc 要參考這篇 GCC Upgrading Guide. 那我的步驟大致如下:
(Do upgrade new version of gcc)
# emerge --sync
# emerge -uav gcc
(Select new version of gcc in current shell session)
# gcc-config i686-pc-linux-gnu-4.1.1
# source /etc/profile
(Very important Step!!)
# fix_libtool_files.sh 3.4.6
* Scanning libtool files for hardcoded gcc library paths...
* [1/4] Scanning /lib …
* [2/4] Scanning /usr/lib …
* FIXING: /usr/lib/libasprintf.la …[vl]
* FIXING: /usr/lib/libMagick++.la …[vl]
* FIXING: /usr/lib/libusbpp.la …[vl]
* FIXING: /usr/lib/libpcrecpp.la …[vl]
* FIXING: /usr/lib/libdb_cxx-4.2.la …[vl]
* [3/4] Scanning /usr/i686-pc-linux-gnu/lib …
* [4/4] Scanning /usr/local/lib …
(Rebuilding libtool)
# emerge --oneshot -av libtool
(Upgrade glibc to 2.4 and so on)
# emerge -eav system
# emerge -eav world
(remove the older gcc version)
# emerge -Ca `equery l gcc | grep 3.4`
這樣就可以把 gcc 從 gcc-3.4.6-r1 升到 sys-devel/gcc-4.1.1 (PS: I remove gcc-3.4.6-r1 here), sys-libs/2.3.6-r4 升到 sys-libs/glibc-2.4-r3 了.
題外話, 根據 DesktopLinux.com 的 2006 Desktop Linux Market survey 訪問一萬五千個 Linux User 票選 most popular desktop of Linux 的結果如下:
God, Gentoo 竟然打敗 Fedora?! :p
Popularity: 29% [?]
30 Aug
Mozilla Firefox 2.0b2 Branch builds (20060830)
Sepecial Check-in
Known Issues
Popularity: 13% [?]
30 Aug
Ubuntu upgrade ugliness, from linux-watch.
Ubuntu 在前幾天出大包, 在 UTC 時間 08/21/2006 17:30 到 08/22/2006 10:00 中有進行 update 系統的話, 會導致開 X-window 開不起來. 原因是 xserver-xorg-core 那個版本並不 stable. 解決的辦法就是裝更新過的 xserver-xorg-core 即可.
這個錯誤影響應該非常大, 畢竟 Ubuntu 主打是 End-user, 連 X-window 都進不去, 還要讓他們學怎麼用 command line 去更新 xserver-xorg-core 耶! 而且連這麼明顯的錯誤都沒發現, 那其它軟體的 stability 應該也要重新評估才對. 還蠻令失望的消息 :( 衷心的希望 Ubuntu 能夠 refine 整個 QA verify program 啊!
Popularity: 28% [?]
30 Aug
iTunes 6 finally cracked, from Engadget.
昨天才在說 WM DRM 可以被破解後, 今天又看到 Engadget 上說有個軟體 QTFairUse6 可以用來破解 iTunes (6.0.4 - 6.0.5). 沒錯, 看來就是之前 QTFairUse 的衍生版本.
It seems to me that QTFairUse6 is a python program using pydbg to grab the AAC from memory after it has been decrypted but before it has been decrypted.
Popularity: 28% [?]
29 Aug
What’s New
Known Issues
Mozilla SeaMonkey 1.0.4 Release en_US (20060829)
Popularity: 16% [?]
29 Aug
New Auto-Seeding Torrent Server Released, from Slashdot.
The University of Texas New Media Initiative in association with Google’s Summer of Code program have been working on a project to make sharing files over the internet easier than ever before.
Summer of Code intern Evan Wilson just released Project Snakebite, the first fully automatic BitTorrent server.
Just as with a normal webserver, you drop files in a folder to share them. Snakebite takes care of generating torrent files and running a tracker and a seeder for each file.
Additionally, it builds a user-customizable link page with all of your files. It will even register your Snakebite server with an easy to remember URL for people that can’t remember their IP.
Snakebite is free and open software and is currently released for Debian. It’s fully portable to both Windows and OS X and the developers just need some help packaging it.”
It’s friendly to combine tracker and .torror, and the sharing files when you want to share your files through BitTorrent.
Hello, tjs! Call for developer~ ^^
Popularity: 11% [?]
29 Aug
Installing Debian GNU/Linux using debootstrap, from Linux.com.
If you’re not afraid of getting your hands dirty with the command line when you install Gentoo Linux, you may like to try this alternative method for installing Debian GNU/Linux.
Debootstrap creates a basic Debian installation, and can also be used for creating custom, minimal installations on embedded systems or for replacing a pre-installed Linux distribution with Debian on a co-located server.
Popularity: 24% [?]