【问题标题】:I' can't compile the next program我无法编译下一个程序
【发布时间】:2018-07-03 18:55:56
【问题描述】:

我试图执行以下程序,但发现下一个错误:

$ make install

rm -f /usr/games/install /usr/share/man/man6/greed.6
cp greed /usr/games
cp: can not perform `stat 'on' greed ': The file or directory does not exist
Makefile: 19: failure in the instructions for the 'install' objective

按照自述文件的建议安装 xmlo 后的所有这些 在自述文件中,它说明了以下内容: “要安装 Greed,只需编辑 Makefile 以配置您的系统类型” 这是什么意思?

https://gitlab.com/esr/greed

我尝试在 ubuntu 18.04 操作系统上执行此操作

谢谢!

【问题讨论】:

  • 没有 Ubuntu 18.06 这样的东西。我假设你的意思是 18.04。

标签: ubuntu makefile compilation


【解决方案1】:

此 makefile 没有将目标 greed 列为目标 install 的先决条件。因此,在运行 install 目标之前,您必须要求 make 自己构建它:

make
make install

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多