My system is Ubuntu Feisty Fawn and I'm trying to compile the latest VLC build.
First I compiled latest revision of FFmpeg. It only gave me some trouble with the option --enable-libfaac, since I could not get installed libfaac-dev on my system (incompatibility with installed libafaac0).
Anyway, I don't think this makes any difference, the thing is I tried to compile with:
./configure --enable-v4l --enable-pvr
This exited with the following error:
configure: error: Missing header filconfigure: error: Missing header file ffmpeg/avcodec.h.
Ok, I then added the option:
--with-ffmpeg-tree=/var/tmp/ffmpeg
then eventually got this error:
checking for libavcodec.a in /var/tmp/ffmpeg... no
configure: error: cannot find /var/tmp/ffmpeg/libavcodec/libavcodec.a, make sure you compiled libavcodec in /var/tmp/ffmpeg
Ok, then, I realized indeed this library was not at this place, but in /usr/local/lib/, so I copied it from there and repeated the same config command, i.e.:
./configure --enable-v4l --enable-pvr --with-ffmpeg-tree=/var/tmp/ffmpeg
In the end, it exited with a new error:
checking for libavcodec.a in /var/tmp/ffmpeg... no
configure: error: cannot find libpostproc.a in /var/tmp/ffmpeg/libavcodec/libpostproc/. Make sure you configured ffmpeg with --enable-pp
Still it says it cannot check libavcodec.a, and now complains about libpostproc.a as well.
And not, I could not configure ffmpeg with --enable-pp because this flag does not exist anymore!
So what's wrong here? Somehow this configure file has errors? Or maybe latest versions of ffmpeg and vlc are not matching? Or is this simply some option I am missing for the configure?