DSS(Darwin Streaming Server) install failed on OS X10.10 - macos

I want to build a Darwin Streaming Server on my mac for iOS development test. But after taking the following steps which I searched from google, it fails all the time.
Method 1:
Download from http://dss.macosforge.org/ ->Mac OS X Install -> Streaming Server;
Install the dmg;
It tries to open http://127.0.0.1:1220/ but fails with "This webpage is not available ERR_CONNECTION_REFUSED".
Method 2:
Download the source code of 6.0.3 version;
$ tar xvf DarwinStreamingSrvr6.0.3-Source.tar
$ cd DarwinStreamingSrvr6.0.3-Source
$ wget http://www.abrahamsson.com/dss-6.0.3.patch
$ patch -p0 < dss-6.0.3.patch
$ ./Buildit
Then, it fails with the following words.
Darwin Streaming Server
I don't know your platform. I'll assume this is a Linux x86 platform.
Please edit the BuildServer script & PlatformHeader.h to add your platform.
Building for Darwin.x86_64 with gcc
xcodebuild DarwinStreamingServer
=== BUILD LIBRARY TARGET AtomicLib (Library) OF PROJECT StreamingServer WITH CONFIGURATION Development ===
Check dependencies
Jam is deprecated and has been removed; targets that use Jam must be upgraded to native targets. For more information on doing this, consult the Xcode documentation.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)"
I tried to run ./Install, it showed me
Unable to perform install
You must be logged in as root to install Darwin Streaming Server
and I don't know what to do now.
PS: I've installed Xcode on my mac and didn't find any available document about Darwin Streaming Server, or I missed it?
Hope for any help. Thanks.

Calios and Jessica, thank you for your answers. I'm running using OS Windows 7 and installing DSS 5.5.5 for windows, and I also meet the condition same as with you.
However, after I followed your instructions, it's not close enough with our needs, because the button will lose meaning in presentation.
So I started digging more information from another articles, and I found interesting perception from a developer at this article. He said the following:
Maybe this has something to do with the perl script which generates the web sites?*
So starting from Jens's perception, I tried to downgrade my Perl Script from version 5.26 to 5.8. This resolved my problem, the interface displays correctly as in the DSS Tutorial.
Right now I'm still working on testing the DSS function
I hope this solution will help others.

Well, finally I solved this issue with the help of my friend.
Here's the steps of solution.
I've given up compiling and building on my own and downloaded the dmg file.(version 6.0.3)
Install the dmg as directions.
Then, go to /usr/sbin in terminal and find streamingadminserver.pl and QuickTimeStreamingServer.
Run them.
Check if they're running with ps aux|grep streaming.
Open http://localhost:1220/parse_xml.cgi in Safari or Chrome. It will show some textfield and a button.
However, there's no words at all ! Go to /Library/QuickTimeStreaming/AdminHtml and edit setup_assistant2.html.
Find line 333 and change it from return "$message{$name}"; to return $name;.
Then it shows some understandable words, though not exact words.
Till now, it can be partly work. However, in some steps I mentioned above, for example, html editing step, I really don't know why the words just don't show and just have a try.
Save the exact steps I did here for memory. It will be wonderful if it can help anyone or anyone have some good idea about it.
Thanks.

#SouravGupta, I am a newbie for stackoverflow, so I could not add comment to reply your question.
I just installed DDS 6.0.3 on Mac OS X El Capitan. I hit the same problem you had. I found that ** return "$message{$name}"; ** is no longer in setup_assistant2.html. It is in parse_xml.cgi (/Library/QuickTimeStreaming/AdminHtml). Just search for "sub foundString". There were two return places there. You need to change both in order to make it work.
It seems that DDS web admin software has localization function. Html files only contain string keywords. It suppose to use that "foundString" function to get translated string from keywords. However, for some reason, it returns empty string here even if there is a "messages" file inside html_en folder. I could not spend more time to figure out why right now.

QTSS/DSS Web Admin 6.0.3 requires Perl version 5.16 and earlier. OS X 10.11 El Capitan installs both Perl versions 5.16 and 5.18, but it defaults to using Perl version 5.18.
In order to run QTSS/DSS Web Admin in OS X 10.11 El Capitan, you need to examine each of the Perl script (.pl) within the AdminHtml folder and change the line #!/usr/bin/perl to #!/usr/bin/perl5.16.

Related

Graphics Magick installation on Mac El Capitan 10.11.3 for TYPO3

I'm frustrated. I'm a total beginner in this (TYPO3), know well about HTML/CSS though but all the info I found on the web reads like Chinese for me. Like that one: http://mac-dev-env.patrickbougie.com/graphicsmagick/
I have no clue what that means!
I've downloaded GM, extracted the zip and double-clicked the configure file. The installation finished without any problems (as far as I can tell).
So here's the ting: can anybody please tell me, how this sort of installation is suppossed to be completed? I need it from the very beginning, actually from unpacking the zip.
Do I have to have another program, like this terminal program on the Mac, where you have to type in command lines? Do I have to write or edit code somewhere? Do I need to create folders? Where, in the TYPO3-Backend, can I check if it even works?
TYPO3 is installed and it works perfectly so far. THANKS A LOT! :)
PS: I really like to learn this (!), but my head is bumping right now :(
Easy way:
If you want to "just install" GM I suggest you to use one of OS X package managers like homebrew or macports. They can simplify configuration, building and installation process for you. So you'll only need to open Terminal and type (depending on chosen package manager):
brew install graphicsmagick or port install graphicsmagick
To verify that your installation is successful open Terminal and type gm version, as result you should see version and other details of your installation.
Fundamental way:
If you want learn how to build and install GM from sources, I recommend you to start reading official documentation. And then, by the way, read about "Make" and other tools used in build process.
As #Oles Savluk pointed easiest way to install such stuff is using homebrew. When you'll install it already, open new terminal window and use command which gm to find the path it will be i.e.: /usr/local/bin/gm - copy/write it and use in the TYPO3's Install Tool in proper place.

Is Haskell Platform 7.10.2-a1 missing documents?

I installed Haskell Platform 7.10.2-a1 64bit-signed.pkg on a MacBook Pro running OS X 10.11.1.
It brought up a nice display in Safari. When I click on 'Libraries' and the 'Codec.Compression.Zlib', i get a page of Safari can't find the file with the url file:///Library/Haskell/ghc-7.10.2-x86_64/lib/zlib-0.5.4.2/doc/html/Codec-Compression-Zlib.html
I searched the output of "ghc-pkg" and found a bunch more missing, including vector, syb, split, parsec, parallel, QuickCheck -- 42 in all.
What did I do wrong?
Thanks!
(Answer applies to version 7.10.3.)
You didn’t do anything wrong.
Yes, the Haskell Platform 7.10.3 64bit.pkg installer really is missing HTML Haddock documentation for all non-GHC packages. You can quickly verify this by opening up the installer, choosing File > Show Files (⌘I), and searching for Data-Text.html; the only result will be .../src/Data-Text.html, which is just the prettyprinted source code (produced by hscolour), not the Haddock documentation.
I'm not sure why the documentation is missing from the official packages. As a workaround you could do your own build of Haskell Platform. When I tried it, it worked for me, and all the documentation was there.
git clone https://github.com/haskell/haskell-platform.git
cd haskell-platform
git checkout tags/7.10.3
curl -OL http://downloads.haskell.org/~ghc/7.10.3/ghc-7.10.3-x86_64-apple-darwin.tar.xz
./platform.sh ghc-7.10.3-x86_64-apple-darwin.tar.xz
After several minutes, the package ended up in the build/product directory.

PortAudio for MAC Mavericks

Did anyone manage to build the latest stable version from PortAudio (v19 20140130) on OS-X 10.9 - MAC Maverick?I am new both to MAC and to PortAudio, but did follow all instructions and received many errors during the build, some of them very basic (for example - file 'assert.h' was not found). My assumption is that MAC SDK version might be different from what PortAudio was expecting.I am actually interested in the output binaries of the build - both x86 and x64, so if these could be downloaded from somewhere this also could be a solution.Many thanks for any tip, PazO
Problem resolvedBackground:In order to build PortAudio on MAC you need to run two commands: configure and make. This procedure is fully described here.The first command - configure - suppose to build your Makefile file, enabling the next command - make- to work correctly.One of the tasks of configure is to discover what MacOS-SDK version is installed on your system and what is the full path to it.The problem:The problem was that the configure script did not find the correct version of MacOS-SDK that is insalled on my Maverick system and thus made the next command - make - to fail.The fix:In the configure.in file there is a section that tries to discover what is the
version and location of the MacOS SDK that is installed on the local system.
Once discovered it will put the correct values into the local script variables
mac_version_min and mac_sysroot.Since this code was not working correctly I replaced it with the next two 'hard-coded'
lines:mac_version_min="-mmacosx-version-min=10.8"mac_sysroot="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"After this all was building correctly.PazO

Installing Cappuccino (Objective J)

I have to confess I am not an expert in Mac OS but I am trying to install Cappuccino. I ran the script and the following files are now in the "narwhal" subdirectory. Trouble is, I have no idea what to do next. There doesn't appear to be an install executable, and no icon has appeared to invoke the development environment. Any help is appreciated.
These are the downloaded files:
I'm assuming you've downloaded the package on the website, there's a shell script. In the terminal run the bootstrap.sh file:
./bootstrap.sh
Then, you're set to install Cappuccino.
Inside the Cappuccino directory type:
jake install
or sometimes
jake sudo-install
is required. (it'll complain about permissions if you need to use sudo-install)
That will install Cappuccino itself.
To create a new cappuccino project you'll need to use the "capp" tool
capp gen MyNewProjectName
or capp --help
will tell you how to use some of the more advanced features of the capp tool.
This will give you a blank project where you can get to work.
There are other tools you can (and will want to) use when you're ready to deploy, but we can get to those when the time comes.
Additionally, the mailing list is very helpful when it comes to these kinds of questions, and it monitored much more closely than SO. :)

How to set up Jeash for Haxe?

I am trying to setup Jeash for Haxe, so I read this: http://old.haxe.org/com/libs/jeash/firststeps
Now, I found out that I cannot do that just yet:
"This is the first time you are runing haxelib. Please run haxelib setup first"
(and I love the typo in there :P )
So I decided to read this: http://haxe.org/com/haxelib/setup
I tried what is suggested. First command, I get prompted for a password, so I enter what is necessary when I install software on my comp.
Then I ran "sudo chown jansensan -R /usr/lib/haxe" (replacing "myusername" with my actual username, "jansensan") and then I get an error: "chown: -R: No such file or directory"
Is there a way to get a little bit more information? I mean, the explanation on the Haxe website makes it sound as it if will magically happen, and it is not the case.
For anyone interested (if it helps you understand my issue), my computer is a MacBook Pro running Snow Leopard and I intend to code in FDT. BTW, I can already do some Haxe stuff in FDT, why would I need to run the Haxe setup to be able to install Jeash and NME?
haxelib is a lib repositories .It adds libs to your workflow. jeash and NME are one of them.
once you have installed haxe. you just have to run in the terminal haxelib setup.Normally it goes fine.
I'm on macpro snow leopard too.Never had issues with that !.
test haxelib on terminal .. wath does it tell ?
Another alternative is to use the NME installer:
http://www.haxenme.org
It will install Haxe, Neko, HXCPP, NME and Jeash in one go. NME supports Windows, Mac, Linux, Android, iOS, webOS, Flash and HTML5 -- the HTML5 target handled using Jeash.
You're using FDT and no other Haxe installation right? This is important because FDT comes with it's own 'installation' of Haxe.
You have it two ways:
Add it to Haxelib.
Just download the source code and put the jeash library in the
project your using.
Add it to Haxelib.
For command line: you're going to need to make haxelib visible to your command line.
Get started by typing 'which haxelib'. This will tell you
1) if you have haxelib via command line.
2) Where it is.
If there is an error, then it's not visible to your command line. This is ok, you'll just need to add the whole path when calling it. Like this:
Also notice that since FDT 5 is shipped as an OSX bundle you'll have to go 'inside' of it via right click FDT -> 'Show Contents'.
When you have this path (or if you are using your own version of the haXe SDK ), you can use it to call haxelib.
Add it to source path
Download the library source code and physically add it to your source path.
All these suggestions are quite good. An alternative to dealing with all this Terminal writing is to go to http://www.haxenme.org/developers/get-started/ and use the installers provided. Afterwards, go in the prefs of FDT > Haxe SDK and add the path where the haxelib was installed, "/usr/lib/haxe" most likely.

Resources