1.從rhel 4 srpms 源 中下載srpms 文件
firefox-1.0.2-1.4.1.src.rpm
thunderbird-1.0.2-1.4.1.src.rpm
安裝srpms .
[hantsy@localhost hantsy]$rpm -ivh firefox-1.0.2-1.4.1.src.rpm thunderbird-1.0.2-1.4.1.src.rpm
2.下載我的specs(參見前面的文章)
3.下載firefly 中文增強補丁(字體中文名稱顯示,下劃線的修正).
mozilla.patch.tar.gz
假設下載后文件位于個人目錄下:
[hantsy@localhost hantsy]$cd rpmbuild/SOURCE
[hantsy@localhost hantsy]$tar xzvf ../../mozilla.patch.tar.gz
4.重新編譯
[hantsy@localhost hantsy]$cd rpmbuild/SPECS
[hantsy@localhost hantsy]sudo rpmbuild -ba firefox-1.0.2.spec
[hantsy@localhost hantsy]sudo rpmbuild -ba thunderbird-1.0.2.spec
這兩包編譯時間比較長,根據機器不同大概2-4個小時,另外不要同時編譯。