If you may get an error, When you are configure the FFMPEG, "configure: error: must have Ogg installed". You need to install libogg package in your system,
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed.
configure: error: must have Ogg installed!
Just execute the blow commands:
Download the package,
Extract that package,
Compile and install it.
Then, you will not get the configure error again.