我正在尝试从源代码安装 ClamAV,但在运行时遇到问题制作命令。以下是我得到的结果:
/bin/sed: can't read files/clamav/clamav-0.98.1/libclamav/libclamunrar.la: No such file or directory
libtool: link: `files/clamav/clamav-0.98.1/libclamav/libclamunrar.la' is not a valid libtool archive
make[4]: *** [libclamunrar_iface.la] Error 1
make[4]: Leaving directory `/home/User/Temporary files/clamav/clamav-0.98.1/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/User/Temporary files/clamav/clamav-0.98.1/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/User/Temporary files/clamav/clamav-0.98.1/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/User/Temporary files/clamav/clamav-0.98.1'
make: *** [all] Error 2
答案1
我找到了问题所在。问题是我解压源代码的目录中有空格/临时文件/所以结论是尽可能避免目录中出现空格