Quite some time ago I posted a set of scripts to compile Darwin Streaming Server under Debian and Ubuntu. Since that time some of the download links to the patches have disappeared, since that post gets quite a bit of traffic, and I was tasked with doing another install of DSS, I decided to update the script so that it actually works.
The root of the problem is that the last version of DSS that supports linux does not support 64 bit servers, which of course is a huge problem these days.
You shouldn’t run into problems with this, I’ve used it several times now and it works pretty well. Be sure to run as root though.
Debian DSS Compile Script:
#!/bin/bash apt-get install build-essential wget unzip addgroup --system qtss adduser --system --no-create-home --ingroup qtss qtss mkdir /usr/local/src/DSS cd /usr/local/src/DSS wget http://static.macosforge.org/dss/downloads/DarwinStreamingSrvr6.0.3-Source.tar wget http://shafe.n5net.com/dls/Darwin_6.0.3_patches.zip tar -xvf DarwinStreamingSrvr6.0.3-Source.tar unzip Darwin_6.0.3_patches.zip patch -p0 < Patches/dss-6.0.3.patch patch -p0 < Patches/dss-hh-20080728-1.patch cd DarwinStreamingSrvr6.0.3-Source ./Buildit mv Install Install.orig cp ../Patches/Install . chmod 755 Install ./Install
If you are running Ubuntu you need to run as root or add the sudo command where appropriate.