Darwin Streaming Server (DSS) 6.0.3, on Solaris 10
mai 27th, 2008 by Prune

DSS 6.0.3 is out ! Check this out at http://dss.macosforge.org/
I’m not sure what this new version brings, few things seems to have changed. I hope for the best..
They claim to be 64 bits compatible on OsX, with some speed up changes. Don’t know what this will bring on Solaris or Linux.
Whatever, this version will not compile out of the tar.
Sverker Abrahamsson have made a patch for Linux here.
He also provide a pre-patched source code there.
This will not compile on Solaris 10
So here are 2 patches for Solaris 10. I compiled using the coolthread Sun GCC, but it should be OK with whatever GCC you use.
Note that I had to so something dirty with the Timezone detection, and I still don’t know what the impact can be on a production server. I’ll come back here if I see any trouble one on production.
I also have few errors (warnings, in fact), that should be OK when running but detected by the pre-processor :
RTCPUtilitiesLib/RTCPAPPNADUPacket.h: In destructor `NaduList::~NaduList()': RTCPUtilitiesLib/RTCPAPPNADUPacket.h:205: warning: comparison between signed and unsigned integer expressions
FYI, I’m not using DSS on production right now, and DSS 6 will have to be heavily tested before it is validated.
So…
[EDIT]
Thanks to Stefan Parvu, I added in the patch the Solaris x86 things. So DSS now also compile on it (tested on Sun Fire X4100 Server with AMD Opteron(tm) Processor - gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath))
[/EDIT]
- dss-603-orig-to-solaris-v2.patch
Use this patch if you just download the plain source. untar it, patch it, then use “./buildtarball 6.0.3” to compile it.
Your install package will be in something like DarwinStreamingSrvr6.0.3-SunOS.tar.gz - dss-603-linux-to-solaris-v2.patch
Use this if you start from the modified source code for Linux, provided by Sverker. Compile it the same way as above.
Then, Copy the tar file on your production server, untar it, and use the “./Install” script for install in /usr/local.
I’m working on a modified installer script where you can change the root installation dir. Soon to come…
Good day,
Please review http://dss.macosforge.org/trac/ticket/7 snd submit the patches via the ticket,
This way we will ensure that DSS will build fine for future versions on Solaris !
As well review the modifications on Buildit for Solaris x86 too
Thanks,
stefan
Kool. Please update ticket:
http://dss.macosforge.org/trac/ticket/7
We need to submit patches to Apple in order to integrate our changes into DSS.
As well review 1). about Solaris x86 which you dont cover.
Patch edited. Now fully compile on Solaris 10 X86.
Still to do :
- add the patch for many multicast IP source.
- test, bench, load test, then test again
I have been trying to get dss up and running on a Solaris 10 u4 x86 server for a couple of weeks now. I ran across this site but I am having some difficulties understanding on how to patch the tar ball. The file I downloaded looks like a set of commands that was captured by the command script. Is there something I am missing?
Thanks
the patch is the result of a diff. You can apply it with a “patch” command line.
I know this is not efficient, and sometine does not work. I had a lot of troubles uploading this file here so it can work for everybody.
There are not so many line to change.
Something you can do is look at the file and change lines by hand.
What you’ll find in the file, first, is the file name of the source file.
Then you’ll find a line (starting line number and ending line number).
Then a minus “-” which means remove this line
Then a plus “+” line which means add this line.
What you can do is searche for the “-” line and replace it with the “+” line…
Once you know this it should be obvious….
I would definatly find somethins easier. Maybe provide a full tar with the source already patched, but I don’t think I’m allowed to by the licence…
Hope this wil help you. If not, let me know, I’ll send you the patched source for x86 solaris.