我尝试个性化 Makefile.tmpl makefile.rules,从那时起我就无法再让 imake 在 Fedora 25 下运行了。
该命令xmkmf -a
让我得到以下内容
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/share/X11/config
In file included from Imakefile.c:34:0:
/usr/share/X11/config/Imake.tmpl:2144:0: error: #include expects "FILENAME" or <FILENAME>
#include ProjectRulesFile
In file included from Imakefile.c:34:0:
/usr/share/X11/config/Imake.tmpl:2157:0: error: #include expects "FILENAME" or <FILENAME>
#include ProjectTmplFile
In file included from Imakefile.c:34:0:
/usr/share/X11/config/Imake.tmpl:2224:0: error: macro "MakefileTarget" requires 2 arguments, but only 1 given
MakefileTarget()
imake:Exit code 1.
Stop.
我需要重新安装 imake 才能开始工作。
答案1
软呢帽 25:# dnf reinstall imake