新鲜、有趣,互联生活。令狐葱。

2007/08/13

Ubuntu 7.04下编译ffmpeg

1. 从svn上下载最新版本ffmpeg:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

2. 到ffmpeg目录执行./configure
可能会出现以下错误提示:
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --cross-compile option.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
解决办法:
 apt-get install gcc libc6-dev
或者直接使用新立得搜索libc6-dev 安装,然后再./configure 即可。

3. make
一大串乱七八糟的东西。

4. make install
安装完毕。

没有评论: