MiKTeX-安装期间编译错误

MiKTeX-安装期间编译错误

我一直在尝试在 Ubuntu 14.04.4 LTS 上安装 MiKTeX,我一直遵循http://miktex.org/howto/build-unx。经过多次尝试并安装了上述库后,我成功运行了该命令cmake -G "Unix Makefiles"。现在,我卡在第二步make,出现以下错误:

$ make
[  0%] Built target bintoc
[  0%] Built target j2000
[  0%] Built target web-n
[  0%] Building CXX object Libraries/3rd/graphite2/CMakeFiles/MiKTeX209-graphite2.dir/source/src/direct_machine.cpp.o
In file included from ~/Downloads/miktex-2.9-2016-02-26/Libraries/3rd/graphite2/source/src/direct_machine.cpp:42:0: ~/Downloads/miktex-2.9-2016-02-26/Libraries/3rd/graphite2/source/src/inc/Machine.h:36:22: fatal error: inc/Main.h: No such file or directory
compilation terminated.
make[2]: *** [Libraries/3rd/graphite2/CMakeFiles/MiKTeX209-graphite2.dir/source/src/direct_machine.cpp.o] Error 1
make[1]: *** [Libraries/3rd/graphite2/CMakeFiles/MiKTeX209-graphite2.dir/all] Error 2
make: *** [all] Error 2

有人可以协助我如何进行以及在哪里寻找错误吗?

答案1

我不会尝试为 Linux 编译 miktex。texlive 和 miktex 之间的差异相当小,我认为不值得这么麻烦。

答案2

sudo apt install libgraphite2*

相关内容