【问题标题】:Command not found, no root permission找不到命令,没有root权限
【发布时间】:2016-05-11 07:09:48
【问题描述】:

我正面临这个问题,

make: nvcc: Command not found
Makefile:134: recipe for target 'objs/core_nlmkernel.o' failed
make: *** [objs/core_nlmkernel.o] Error 127

我没有这台校机的root权限,所以无法编辑bashrc文件中的相关路径。有没有解决这个问题的另一种解决方案?

是否可以编辑 makefile 来解决这个问题?

【问题讨论】:

    标签: linux bash environment-variables


    【解决方案1】:

    使用带有完整路径的命令 nvcc。 如果您的主文件夹中有命令,您可以在 makefile 中调用 /home/your-folder/command。 希望这会有所帮助。

    【讨论】:

      猜你喜欢
      • 2020-10-02
      • 2016-12-30
      • 1970-01-01
      • 1970-01-01
      • 2020-10-08
      • 2015-01-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多