How to compile Mediatomb 0.9 for Windows / Cygwin

April 7, 2007 on 12:00 pm | In Dev, General, Software, UPnP |

In my experience the build worked with minor difficulties: You need to download

After installing Cygwin and getting the gcc to run (I won’t help you on this), you will need to unpack SQLite3:

tar xvf sqlite-<version>.tar.gz
cd sqlite-<version>
./configure –disable-tcl
make
make sqlite3.dll
make install

Then you can unpack, configure and make the Mediatomb server:

tar xvf mediatomb-0.9.0.tar.gz
cd mediatomb-0.9.0
./configure –enable-static
make
make install

Then you should be able to start your server with the command ‘mediatomb’ from the Cygwin bash shell. However I couldn’t start the server, there was a strange error code “ERROR: ‘..’ not allowed in path!”.

I’d appreciate feedback if someone manages tom compile it to a running version and also if someone could include spidermonkey, libid3 and libexif in the static build. If there is a way to package all binary files needed in one zip to run it on systems without Cygwin I’d provide an installer for Windows.



2 Comments »

RSS feed for comments on this post. TrackBack URI

  1. There is a code bug in MT that will fail if your home folder is exactly 2 chars.

    Mine was /gp and it hit this.

    Comment by gp — April 13, 2007 #

  2. Why didn’t you file a bugreport for it? :)
    Anyway, I will look into this… we plan to improve cygwin support at some point, add an installer and a tray icon.

    Btw, another workaround: you could manually create a config.xml and start MediaTomb with the -c option.

    Comment by Jin — April 27, 2007 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2004-2007 by Mathias Lux
>> Contents of this page are licensed under the CreativeCommons Attribution 2.5 license <<