我正在尝试为 RHEL6 构建perl-Heap-Priority。奇怪的是当我运行
cpan2rpm Heap::Priority
它时显示如下
...
Tarball extraction: [/root/rpm/SOURCES/Heap-Priority-0.01.tar.gz]
Can't stat /tmp/CldQkErG6r/18:51: No such file or directory
at /usr/bin/cpan2rpm line 392
get_meta(): No such file or directory at /usr/bin/cpan2rpm line 396.
...
实际上,不会创建此临时文件夹。买为什么?我的 tmp 文件夹权限是 777
drwxrwxrwt. 3 root root 4096 May 29 16:35 tmp