checkinstall 在构建 vim8 时冻结在“将文件复制到临时目录...”

pei*_*aqi 3 linux make checkinstall

我在尝试构建 vim8 时遇到了 checkinstall 一个非常奇怪的问题。这是我所做的(虽然可能无关紧要):

  • 从 vim8 git 源克隆
  • Ran configure & make --enable-gui=auto。没问题。

然后我运行 sudo checkinstall,安装和手册页生成进展顺利,但不知何故程序卡在了最后一步:

Some of the files created by the installation are inside the build
directory: /mnt/C/XXXX

You probably don't want them to be included in the package,
especially if they are inside your home directory.
Do you want me to list them?  [n]: y
Should I exclude them from the package? (Saying yes is a good idea)  [y]: y

Copying files to the temporary directory...
Run Code Online (Sandbox Code Playgroud)

我也试过:checkinstall --install=no,也没有用。

任何人有任何想法?谢谢!

小智 6

checkinstall对于较大的程序,“将文件复制到临时目录...”过程通常需要相当长的时间。你的机器会不同,你打包的程序也不同,但是当我使用checkinstallGNU Emacs 时,这部分大约需要 10 分钟。

如果您正在等待除此之外的任何事情,您可以使用系统监视器(例如top)来检查checkinstall产生了哪些子进程;在这个“...临时目录...”部分中,通常会启动和完成进程。