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!

Solution :

Just execute the blow commands:

Download the package, 

Extract that package,


Compile and install it.
# wget http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz

# tar -xf libogg-1.3.2.tar.gz

# cd libogg-1.3.2

# ./configure

# make && make install

Then, you will not get the configure error again.