SourceHanCodeをUbuntu14.04にインストールする時に嵌りました。
インストール手順はこちらを参考にしました。
command.sh実行時にエラー発生。
Please re-install the FDK.
The executable directory '/home/randika/FDK/Tools/linux' is missing the tools: ['tx', 'makeotfexe'].
for the files referenced by the shell script is missing.
調べてみるとFDKが32bit版にしか対応していないようなので、lib32z1をインストールして64bitOS上で32bitソフトウェアを実行できるようにします。
sudo apt-get install lib32z1
しかしまたエラー・・・
ERROR: FontTools Python module is not installed.
PythonのFontToolsモジュールが必要なようなので、pipでFontToolsをインストール。
sudo pip install fonttools
再びcommand.shを実行し、無事インストールすることができました。
参考URL:
https://github.com/adobe-type-tools/afdko/issues/55
https://github.com/behdad/fonttools/blob/master/README.md