安裝中文時install.sh Permission denied?(Mac)
http://riemann.math.nccu.edu.tw/forum/viewtopic.php?f=5&t=797
我依上述指示安裝字型時,
忘了改 install.sh 內容就執行了 ./install.sh
視窗跑了一下,好像安裝了什麼,但中文字仍無法使用。
後來修改install.sh後重新執行 ./install.sh 或 ./uninstall.sh
卻出現 Permission denied 訊息,不准我執行安裝。
請問目前應如何處理?謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.122.161.110
※ 編輯: ballII 來自: 140.122.161.110 (04/26 23:41)
→
04/27 08:02, , 1F
04/27 08:02, 1F
→
04/27 10:38, , 2F
04/27 10:38, 2F
sudo: ./install.sh: command not found
用TextEdit更改install.sh內容後權限都會都會被改。
後來我是在虛擬win下用記事本改install.sh,放回mac可執行,
但TeXShop仍讀不到中文,第一錯誤訊息是 File 'CJKutf3.sty' not found
跟install.sh未改時的錯誤訊息是一樣的。
安裝時的訊息則是:
line 1: #!/usr/bin/env: No such file or directory
texhash: /usr/local/texlive/2010basic/texmf: directory not writable. Skipping...
texhash: /usr/local/texlive/2010basic/texmf-config: directory not writable. Skipping...
texhash: /usr/local/texlive/2010basic/texmf-dist: directory not writable. Skipping...
texhash: /usr/local/texlive/2010basic/texmf-local: directory not writable. Skipping...
texhash: /usr/local/texlive/2010basic/texmf-var: directory not writable. Skipping...
texhash: Done.
(這種中文安裝方法我在powerbook上跑過,是成功的。
為什麼現在權限上好像問題多多?應該先統統改掉嗎?)
不知mac雪豹使用者是怎麼成功安裝上中文的?能否推薦一下方法流程?謝謝。
※ 編輯: ballII 來自: 114.45.237.53 (04/28 00:37)
→
04/28 01:01, , 3F
04/28 01:01, 3F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 5 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章