請問mount_smbfs的locale的問題

看板FreeBSD作者時間21年前 (2005/01/22 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
請問 mount_smbfs這個指令 是不是要在kernel加入什麼option才能使用呢 我照著以前的做法 mount_smbfs -I host //username@hostname/sharedir1 /mnt/dir1 出現的錯誤是 mount_smbfs: can't set locale '' mount_smbfs: smb_lib_init: can't initialise locale 查了一下locale -L locale Use locale for lower/upper case conversion routines. Set the locale for case conversion. By default, mount_smbfs tries to use an environment variable LC_* to determine it. 不太知道錯誤在哪邊... 也不知道-L以後要加什麼參數@@ 另外 不知道是不是整個系統的locale錯誤 我編譯p5-HTML-Template的時候 出現下列錯誤 ================== root@donkeykong [/usr/ports/www/p5-HTML-Template]#make ===> Vulnerability check disabled, database not found ===> Extracting for p5-HTML-Template-2.7 => Checksum OK for HTML-Template-2.7.tar.gz. ===> p5-HTML-Template-2.7 depends on file: /usr/local/bin/perl5.8.5 - found (null): Failed to set default locale ===> Patching for p5-HTML-Template-2.7 ===> p5-HTML-Template-2.7 depends on file: /usr/local/bin/perl5.8.5 - found ===> Applying FreeBSD patches for p5-HTML-Template-2.7 /usr/local/bin/perl -i -pe 's@%%PERL_INC%%@/usr/local/lib/perl5/site_perl/5.8. 5@' /usr/ports/www/p5-HTML-Template/work/HTML-Template-2.7/Template.pm perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LC_CTYPE = "en_US.ISO_8859-1", LANG = "zh_TW.Big5" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ===> p5-HTML-Template-2.7 depends on file: /usr/local/bin/perl5.8.5 - found ===> Configuring for p5-HTML-Template-2.7 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LC_CTYPE = "en_US.ISO_8859-1", LANG = "zh_TW.Big5" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Checking if your kit is complete... Looks good Unable to find a perl 5 (by these names: /usr/local/bin/perl5.8.5 perl perl5 p erl5.8.5 miniperl, in these dirs: /sbin /bin /usr/sbin /usr/bin /usr/games /us r/local/sbin /usr/local/bin /usr/X11R6/bin /root/bin /usr/local/bin) Writing Makefile for HTML::Template perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LC_CTYPE = "en_US.ISO_8859-1", LANG = "zh_TW.Big5" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ===> Building for p5-HTML-Template-2.7 0: not found *** Error code 127 Stop in /usr/ports/www/p5-HTML-Template/work/HTML-Template-2.7. *** Error code 1 Stop in /usr/ports/www/p5-HTML-Template. ============= 請問一下我需要改什麼地方 謝謝 -- ※ Origin: = 資本主義 CSEism = <cseism.trapx.net> ※ From : 140.117.197.150 -- ※ Origin: = 資本主義 CSEism = <cseism.trapx.net> ※ From : 140.117.197.150
文章代碼(AID): #11yRin00 (FreeBSD)
文章代碼(AID): #11yRin00 (FreeBSD)