Re: [問題] ssh 連線顯示中文檔名的問題
※ 引述《fsyoung.bbs@bbs.wretch.cc (young)》之銘言:
> ※ 引述《gaod.bbs@bbs.hychen.org (雲淡風輕)》之銘言:
> > 抓source code
> > 然後去/usr/src下make buildworld installworld
> 可是我現在機器已經是6.0stable了
> 還是我還要再做一次make buildworld installworld 的動作?
這兩位會錯意了~~~
是指像是 port/package 裝的要重新 compile,
而不是 "去/usr/src下make buildworld installworld"
比如:用 portupgrade -rRfa
或是先切換為 root 打 pkg_delete -a 然後再重裝想裝的 port
當然另外非 port/package 裝的也是得重新 compile 比較好
==
11/13 chinsan => 請問5.4 cvsup到6.0的問題
作者 chinsan (我只是小小新手唷) 看板 freebsd
標題 Re: 請問5.4 cvsup到6.0的問題
時間 2005/11/13 Sun 18:57:29
※ 引述《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: SayYA 資訊站 <bbs.sayya.org>
◆ From: 61-63-0-host123.kbtelecom.net.tw
討論串 (同標題文章)
完整討論串 (本文為第 9 之 34 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章