在CentOS7.0上安装配置ffmpeg4.0时遇到一些问题,将解决方案一并记录如下
[root@cooler_rs soft]#tar -xvf ffmpeg-4.0.tar.bz2 [root@cooler_rs soft]#cd /opt/soft/ffmpeg-4.0 [root@cooler_rs ffmpeg-4.0]# ./configure --disable-yasm --enable-libx264 --enable-gpl --enable-shared --prefix=/opt/app/ffmpeg gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the [email protected] mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. [root@cooler_rs ffmpeg-4.0]# [roo
[root@cooler_rs soft]#tar -xvf ffmpeg-4.0.tar.bz2 [root@cooler_rs soft]#cd /opt/soft/ffmpeg-4.0 [root@cooler_rs ffmpeg-4.0]# ./configure --disable-yasm --enable-libx264 --enable-gpl --enable-shared --prefix=/opt/app/ffmpeg gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the [email protected] mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. [root@cooler_rs ffmpeg-4.0]# [roo