在安装ffmpeg的过程中,用到faac-1.28
在执行./bootstrap时候出现 /bin/bash^M: bad interpreter: No such file or directory
/bin/bash^M: bad interpreter: No such file or directory
我们可以通过vi编辑器来查看文件的format格式。步骤如下:
1.首先用vi命令打开文件
Shell代码 收藏代码
[root@localhost]# vi bootstrap
2.在vi命令模式中使用 :set ff 命令
:set ff
可以看到改文件的格式为dos
3.修改文件format为unix
[root@localhost]#dos2unix bootstrap
然后继续执行,ok!