
Ubuntu日本語フォーラム

ログインしていません。
教えてください。
下記ページを参考にして、ffmpegのソースをビルドしようとしたのですが
なぜか./configure --enable-libfaacを入力すると、エラーで弾かれてしまいます。
環境はデスクトップ版 Ubuntu 9.04です。
libfaac-devはapt-getでインストールしています。
念のためpurgeでアンインストールしてから、再度Synapticでインストールしてみましたが
症状が変わりませんでした。
http://yourpalm.jubenoum.com/2009/04/ubuntu-810%E3%81%A7flvmp4swf%E3%81%8B%E3%82%89%E9%9F%B3%E6%A5%BD%E3%82%92%E6%8A%BD%E5%87%BA/
エラーメッセージ
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
[email protected] 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.
オフライン
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -E -o /tmp/ffconf.eWLPqptb.o /tmp/ffconf.GLKcgxfy.c
/tmp/ffconf.GLKcgxfy.c:1:18: error: faad.h: No such file or directory
FAAD test failed.
$ cat ~/ffmpeg/config.err
で最後に表示されているのが同じなら次をためしてみて下さい。
$ sudo apt-get install libfaad-dev
オフライン
おそらくlibfaad-devが入ってれば平気だと思うのですが・・ それとそのエラーメッセージの前に何か足りないと表示が出ていませんか?
例えばこんな感じでこれは自分のビルドの時の物なんですが、ERROR: libamrnb not foundって出てます。この部分でもlibfaacが足りないと言ってきてますか?
$ ./configure --arch=amd64 --cpu=athlon64 --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-libfaac --enable-libfaad --enable-libx264 --enable-libxvid --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libgsm --enable-libdc1394 --disable-debug --enable-shared --prefix=/usr --enable-nonfree --enable-x11grab --enable-zlib --enable-libspeex --enable-libopenjpeg --enable-libdirac --enable-libschroedinger --enable-libfaadbin --enable-hardcoded-tables --enable-runtime-cpudetect --enable-libnut --extra-cflags="-march=athlon64-sse3 -O3 -msse3" --enable-libamr-nb --enable-libamr-wb
ERROR: libamrnb not found ← この部分です
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
[email protected] 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.
オフライン
./configure --enable-libfaac
libfaac is nonfree and --enable-nonfree is not specified.
上記のメッセージが表示されたため
./configure --enable-nonfree --enable-libfaacを実行したところ
aacにも対応させることができました。
jackalopeさん、hi0さん、takechanさんありがとうございました。
オフライン