DSS(Darwin Streaming Server)在OS X10.10上安装失败 [英] DSS(Darwin Streaming Server) install failed on OS X10.10

查看:227
本文介绍了DSS(Darwin Streaming Server)在OS X10.10上安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Mac上构建一个Darwin Streaming Server,以进行iOS开发测试.但是,按照我从Google搜索到的以下步骤进行操作之后,它一直都失败.

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.

方法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".

方法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

我不知道您的平台.我假设这是一个Linux x86平台. 请编辑BuildServer脚本& PlatformHeader.h添加您的平台. 使用gcc构建Darwin.x86_64 xcodebuild DarwinStreamingServer

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

===具有配置开发功能的PROJECT StreamingServer的内置库目标AtomicLib(库)===

=== BUILD LIBRARY TARGET AtomicLib (Library) OF PROJECT StreamingServer WITH CONFIGURATION Development ===

检查依赖项 卡纸已弃用并已被移除;使用Jam的目标必须升级为本机目标.有关执行此操作的更多信息,请查阅Xcode文档.

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.

**生成失败**

以下构建命令失败: 检查依赖项 (1次失败)"

The following build commands failed: Check dependencies (1 failure)"

  • 我尝试运行./Install,它向我显示
    • I tried to run ./Install, it showed me
    • 无法执行安装 您必须以root用户身份登录才能安装Darwin Streaming Server

      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:我已经在Mac上安装了Xcode,但是找不到有关Darwin Streaming Server的任何可用文档,还是错过了它?

      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.

      推荐答案

      好吧,最后,我在朋友的帮助下解决了这个问题. 这是解决方法的步骤.

      Well, finally I solved this issue with the help of my friend. Here's the steps of solution.

      • 我已经放弃了自行编译和下载dmg文件.(版本6.0.3)
      • 安装dmg作为说明.
      • 然后,在终端中转到/usr/sbin,找到streamingadminserver.plQuickTimeStreamingServer.
      • 运行它们.
      • 检查它们是否与ps aux|grep streaming一起运行.
      • 在Safari或Chrome中打开http://localhost:1220/parse_xml.cgi.它将显示一些文本字段和一个按钮.
      • 但是,什么都没有!转到/Library/QuickTimeStreaming/AdminHtml并编辑setup_assistant2.html.
      • 找到第333行并将其从return "$message{$name}";更改为return $name;.
      • 然后它显示了一些可以理解的词,尽管不是完全的词.
      • 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.

      到现在为止,它可以部分起作用.但是,在我上面提到的某些步骤(例如html编辑步骤)中,我真的不知道为什么这些单词只是不显示而只是尝试一下.

      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.

      谢谢.

      这篇关于DSS(Darwin Streaming Server)在OS X10.10上安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆