Re: 請問5.4 cvsup到6.0的問題

看板FreeBSD作者時間20年前 (2005/11/13 20:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
※ 引述《amt.bbs@bbs.cs.pu.edu.tw (改變頻率)》之銘言: > error如下...不曉得有沒有人知道怎麼解決 > ===> lib/libypclnt (all) > ===> lib/libalias (all) > make: don't know how to make /usr/src/lib/libalias/alias.c. Stop 跨 Release 的話,(比如 4.10 -> 4.11, 5.3 -> 5.4 之類) 通常是要先 make buildwolrd 編譯時,從 6.0 起暫不建議指令參數加上 -jN (比如 -j4...會死更快而已 :p) 詳情還是建議直接看 /usr/src/UPDATING 解釋比較清楚 To upgrade in-place from 5.x-stable or higher to 6.x-stable ----------------------------------------------------------- <make sure you have good level 0 dumps> make buildworld [9] make kernel KERNCONF=YOUR_KERNEL_HERE [8] [1] <reboot in single user> [3] mergemaster -p [5] make installworld mergemaster -i [4] <reboot> (略,其實很有很多要注意的細節) 另外我之前遇到的 setlocale(3) 問題...解法在下面這找到,順便野人獻曝一下 http://www.freebsd.org/releases/6.0R/errata.html (2005/11/5) Changes of on-disk format of /usr/share/locale/*/LC_* files in 6.0-RELEASE prevent third-party software which uses setlocale(3) for its localization from working after a 5.x system upgraded. The software includes ones installed into the 5.x system by using FreeBSD Ports Collection and so on. To solve this problem, perform one of the following: * Install misc/compat5x package into the upgraded 6.0 system. This package installs a library lib/compat/libc.so.5 which makes the software complied in a 5.x system use the old locale files to keep compatibility. Note that you need to remove /lib/libc.so.5 after upgrading. This package is available only for Tier-1 platforms. * Recompile the software on the 6.0 system. 簡單講, 裝 /usr/ports/misc/compat5x 這樣會使原先已安裝的 i18n 程式採用相容 5.x 模式 記得重開機後,進 single user mode 把舊的 /lib/libc.so.5 拿掉或備份 最後,為確保沒有漏失,最好是重新 build/install 相關 i18n 程式 :p 比如: portupgrade -Rrf gettext intltool.... -- 靜中見真境,淡中識本然 -- ◢◣ - ● - ◢██◣◢◣ ` Origin: 宜蘭資教.山水蘭陽 telnet://yilan.twbbs.org ~~ ﹌ ~﹌ From : 220-135-110-151.HINET-IP.hinet.net
文章代碼(AID): #13Tp9500 (FreeBSD)
文章代碼(AID): #13Tp9500 (FreeBSD)