无法在 RHEL 中启动 cscope

Could not launch cscope in RHEL

我无法启动 cscope.I 我收到以下错误,

    [naveen@hello]$ cscope -d
    cscope: Could not create private temp dir /tmp/cscope.9344

我在与 cscope 相关的同一文件夹中有以下文件。

    [naveen@hello]$ls
    :
    cscope.files
    cscope.in.out
    cscope.out
    cscope.po.out
    tags
    :

有什么解决方法吗?

查看以下内容

  • 如果您在 /tmp/

  • 上有足够的可用存储空间
  • 如果您所在的用户 运行 cscope 具有写入权限 至 /tmp/.

  • 尝试通过设置值来更改临时目录位置 TMPDIR 例如TMPDIR=/var/tmp

手册页 cscope 是 here

检查以下内容,

$ sudo cscope -d