Compiling Darwin Streaming Server 6.0.3 Under Debian.

By | February 28, 2011

This post is out of date! An Updated post with a new script is here: http://shafe.n5net.com/2013/01/09/compiling-darwin-streaming-server-6-0-3-under-debian-updated/


I was recently tasked with a Linux install of Darwin Streaming Server on a Debian server. Unfortunately for me Apple stopped making Windows and Linux builds of DSS when version 6.0 was released.

After a lot of failed attempts at compiling from source on Linux I came across a wonderful post that had a shell script that would install all dependencies, download the source plus a handful of patches, compile and install v6.0.3 on Ubuntu 10.x. A few tweaks and I was able to get it to work for my install of Debian.

For the life of me I can’t find the page again where that script was located, and apparently I’m not the only one. A google search brings up a whole lot of dated material mostly for DSS 5.x.

You shouldn’t run into problems with these, I’ve used them several times now and they work pretty well. Be sure to run them as root though.

Debian 5.0 & 6.0 DSS Compile Script:

 

#!/bin/bash
apt-get install build-essential wget
addgroup --system qtss
adduser --system --no-create-home --ingroup qtss qtss

wget http://static.macosforge.org/dss/downloads/DarwinStreamingSrvr6.0.3-Source.tar
tar -xvf DarwinStreamingSrvr6.0.3-Source.tar
mv DarwinStreamingSrvr6.0.3-Source DarwinStreamingSrvr6.0.3-Source.orig
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-6.0.3.patch
patch -p0 < dss-6.0.3.patch
mv DarwinStreamingSrvr6.0.3-Source.orig DarwinStreamingSrvr6.0.3-Source
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-hh-20080728-1.patch
patch -p0 < dss-hh-20080728-1.patch

#need to answer n then y
cd DarwinStreamingSrvr6.0.3-Source
mv Install Install.orig
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/Install
chmod +x Install
./Buildit
./Install

Download debian-dss.sh

 

 

Ubuntu 10.x DSS Compile Script

 

#!/bin/bash
sudo apt-get install build-essential wget
sudo addgroup --system qtss
sudo adduser --system --no-create-home --ingroup qtss qtss

wget http://static.macosforge.org/dss/downloads/DarwinStreamingSrvr6.0.3-Source.tar
tar -xvf DarwinStreamingSrvr6.0.3-Source.tar
sudo mv DarwinStreamingSrvr6.0.3-Source DarwinStreamingSrvr6.0.3-Source.orig
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-6.0.3.patch
sudo patch -p0 < dss-6.0.3.patch
sudo mv DarwinStreamingSrvr6.0.3-Source.orig DarwinStreamingSrvr6.0.3-Source
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/dss-hh-20080728-1.patch
sudo patch -p0 < dss-hh-20080728-1.patch

#need to answer n then y
cd DarwinStreamingSrvr6.0.3-Source
sudo mv Install Install.orig
wget http://dss.macosforge.org/trac/raw-attachment/ticket/6/Install
chmod +x Install
sudo ./Buildit
sudo ./Install

Download ubuntu-dss.sh

 

 


If you run into problems or are just plain lazy, here is Darwin Streaming Server 6.0.3 compiled for Linux. Simply unpack the archive and run ./Install :

 

Download: Darwin Streaming Server 6.0.3 Linux Binaries

Related Posts

9 thoughts on “Compiling Darwin Streaming Server 6.0.3 Under Debian.

  1. Alex

    Hi,
    Thanks, but here is a small misstake:
    Sudo ./Install

    sudo must be written small letters 😉

    regards

  2. Brendan

    Hi I previously ran Dss 6.0.3 but my pc crashed. I was streaming mp3s vial playlist to my site and since I reinstalled DSS I have not been able to stream to the website. Any ideas?

  3. Clayton Cottingham

    thank you so much!
    a couple of issues i had w the downloadable script:
    1) dos file had to convert to unix else the comands all end w %0D
    2) patch commands had %lt; instead of <

  4. Pingback: Darwin Streaming Sever: Instalando y configurando en Linux « donnierock

  5. Michael Mojadad

    I followed all the installation steps (with the corrections) on Ubuntu 10.10 (32-bit), however, when I point my Firefox browser to the management console at http://localhost:1220, it tries to load ‘www.localhost.com’ and when I use my Linux box local IP address (http://192.168.18.131:1220 http://127.0.0.1:1220) it get a server connection reset before the page loads. Any idea what might be wrong?

  6. Diego

    Do you still have the .patch files? Please mail-me then, i can’t find then anywhere. Also, have you tried the DSS or Ubuntu 12.04 64?

Leave a Reply

Your email address will not be published. Required fields are marked *