DLNA server
Target of this section of the wiki is to explain how to install and configure your Debian server so that it can act as a multimedia repository for your DLNA-capable equipment. In this case, we're going to optimize our DLNA server for a Samsung SmartTV, which supports Samsung's "AllShare", a slightly extended variant of DLNA.
We start out by downloading the latest version of MiniDLNA from its SourceForge website. At the time of writing, it's version 1.0.25. This file is extracted to the /usr/src/ directory:
localhost:/usr/src# tar xzf minidlna_1.0.25_src.tar.gz localhost:/usr/src# cd minidlna-1.0.25/ localhost:/usr/srcminidlna-1.0.25# make ./genconfig.sh ERROR! Cannot continue. The following required libraries are either missing, or are missing development headers: libavcodec libavformat libavutil libflac libvorbis libogg libid3tag libexif libjpeg make: *** [config.h] Error 1 localhost:/usr/srcminidlna-1.0.25# _
MiniDLNA has some dependencies; executing the make command has shown us which dependencies are unfulfilled (your list will probably differ). After installing all packages that MiniDLNA needs, the output of make becomes: