当前位置:首页 > 开发 > 开源软件 > 正文

编译mcu media server

发表于: 2012-03-07   作者:arcko   来源:转载   浏览次数:
摘要: Building http://sourceforge.net/projects/mcumediaserver/ install jdk1.6.0_30 vi /etc/environment add following lines: --------------------------------------------------------------------------
Building http://sourceforge.net/projects/mcumediaserver/

install jdk1.6.0_30
vi /etc/environment

add following lines:
------------------------------------------------------------------------------------------
export JAVA_HOME=/usr/local/jdk1.6.0_30
export JRE_Home=/usr/local/jdk1.6.0_30/jre
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
------------------------------------------------------------------------------------------

vi /etc/profile

add following lines:
------------------------------------------------------------------------------------------
export JAVA_HOME=/usr/local/jdk1.6.0_30
export JRE_Home=/usr/local/jdk1.6.0_30/jre
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOME/bin
------------------------------------------------------------------------------------------

logout and reloggin in

1. cd /usr/local/src/mcu
   and run svn update -revision 423
2. add -lcrypto to the media/Makefile (after -lssl)
3. root@video:/usr/local/src/mcu# cp XmlRpcMcuClient/nbproject/project.properties XmlRpcMcuClient/nbproject/project.properties.bak
4. cd /usr/local
5. root@video:/usr/local# wget http://www.apache.org/dist/ws/xmlrpc/binaries/apache-xmlrpc-3.1.3-bin.tar.gz
6. tar zvxf apache-xmlrpc-3.1.3-bin.tar.gz
7. vi /usr/local/src/mcu/XmlRpcMcuClient/nbproject/project.properties:

file.reference.commons-logging-1.1.jar=/usr/local/apache-xmlrpc-3.1.3/lib/commons-logging-1.1.jar
file.reference.ws-commons-util-1.0.2.jar=/usr/local/apache-xmlrpc-3.1.3/lib/ws-commons-util-1.0.2.jar
file.reference.xmlrpc-client-3.1.3.jar=/usr/local/apache-xmlrpc-3.1.3/lib/xmlrpc-client-3.1.3.jar
file.reference.xmlrpc-common-3.1.3.jar=/usr/local/apache-xmlrpc-3.1.3/lib/xmlrpc-common-3.1.3.jar

8. vi /usr/local/src/mcu/mcuWeb/nbproject/project.properties:

file.reference.commons-logging-1.1.jar=/usr/local//apache-xmlrpc-3.1.3/lib/commons-logging-1.1.jar
file.reference.ssa-api.jar=/usr/local/sailfin/lib/ssa-api.jar
file.reference.ws-commons-util-1.0.2.jar=/usr/local//apache-xmlrpc-3.1.3/lib/ws-commons-util-1.0.2.jar
file.reference.xmlrpc-client-3.1.3.jar=/usr/local/apache-xmlrpc-3.1.3/lib/xmlrpc-client-3.1.3.jar
file.reference.xmlrpc-common-3.1.3.jar=/usr/local/apache-xmlrpc-3.1.3/lib/xmlrpc-common-3.1.3.jar
file.reference.XmlRpcMcuClient.jar=../XmlRpcMcuClient/dist/XmlRpcMcuClient.jar

9. cd /usr/local/src/mcu/mcuWeb
ant -Dj2ee.server.home=/usr/local/sailfin -Dlibs.CopyLibs.classpath=/usr/share/netbeans/java4/ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar

after build, you could get the mcuWeb.sar under /usr/local/src/mcu/mcuWeb/dist

following is the build log
--------------------------------------------- console output -------------------------------------------
root@video:/usr/local/src/mcu/mcuWeb# ant -Dj2ee.server.home=/usr/local/sailfin -Dlibs.CopyLibs.classpath=/usr/share/netbeans/java4/ant/extra/org-netb
eans-modules-java-j2seproject-copylibstask.jar
Buildfile: /usr/local/src/mcu/mcuWeb/build.xml

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors:

-init-macrodef-javac:

-init-macrodef-junit:

-init-macrodef-java:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-nbjsdebug:

-init-macrodef-debug:

-init-taskdefs:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

deps-module-jar:

deps-ear-jar:

deps-jar:

-pre-pre-compile:

-pre-compile:

-copy-manifest:

-copy-persistence-xml:

-copy-webdir:

library-inclusion-in-archive:

library-inclusion-in-manifest:

-do-compile:
    [javac] Compiling 6 source files to /usr/local/src/mcu/mcuWeb/build/web/WEB-INF/classes
    [javac] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:22: warning: com.sun.org.apache.xml.internal.serialize.XMLSerial
izer is Sun proprietary API and may be removed in a future release
    [javac] import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
    [javac]                                                 ^
    [javac] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:213: warning: com.sun.org.apache.xml.internal.serialize.XMLSeria
lizer is Sun proprietary API and may be removed in a future release
    [javac]             XMLSerializer serializer = new XMLSerializer();
    [javac]             ^
    [javac] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:213: warning: com.sun.org.apache.xml.internal.serialize.XMLSeria
lizer is Sun proprietary API and may be removed in a future release
    [javac]             XMLSerializer serializer = new XMLSerializer();
    [javac]                                            ^
    [javac] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:257: warning: com.sun.org.apache.xml.internal.serialize.XMLSeria
lizer is Sun proprietary API and may be removed in a future release
    [javac]             XMLSerializer serializer = new XMLSerializer();
    [javac]             ^
    [javac] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:257: warning: com.sun.org.apache.xml.internal.serialize.XMLSeria
lizer is Sun proprietary API and may be removed in a future release
    [javac]             XMLSerializer serializer = new XMLSerializer();
    [javac]                                            ^
    [javac] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:298: warning: com.sun.org.apache.xml.internal.serialize.XMLSeria
lizer is Sun proprietary API and may be removed in a future release
    [javac]             XMLSerializer serializer = new XMLSerializer();
    [javac]             ^
    [javac] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:298: warning: com.sun.org.apache.xml.internal.serialize.XMLSeria
lizer is Sun proprietary API and may be removed in a future release
    [javac]             XMLSerializer serializer = new XMLSerializer();
    [javac]                                            ^
    [javac] 7 warnings

-post-compile:

compile:

-pre-dist:

compile-jsps:

-do-dist-with-manifest:
    [mkdir] Created dir: /usr/local/src/mcu/mcuWeb/dist
      [jar] Building jar: /usr/local/src/mcu/mcuWeb/dist/mcuWeb.sar

-do-dist-without-manifest:

do-dist:

-post-dist:

dist:

javadoc-build:
    [mkdir] Created dir: /usr/local/src/mcu/mcuWeb/dist/javadoc
  [javadoc] Warning: Leaving out empty argument '-windowtitle'
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/Broadcast.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/Conference.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceTemplate.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/MCUHttpServlet.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/MCUSipServlet.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/MediaMixer.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/Participant.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/Profile.java...
  [javadoc] Loading source file /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/RTMPUrl.java...
  [javadoc] Constructing Javadoc information...
  [javadoc] /usr/local/src/mcu/mcuWeb/src/java/org/murillo/mcuWeb/ConferenceMngr.java:22: warning: com.sun.org.apache.xml.internal.serialize.XMLSerial
izer is Sun proprietary API and may be removed in a future release
  [javadoc] import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
  [javadoc]                                                 ^
  [javadoc] Standard Doclet version 1.6.0_30
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating /usr/local/src/mcu/mcuWeb/dist/javadoc/stylesheet.css...
  [javadoc] 1 warning

javadoc-browse:

javadoc:

default:

BUILD SUCCESSFUL
Total time: 10 seconds
root@video:/usr/local/src/mcu/mcuWeb# ls
build  build.xml  catalog.xml  dist  myfile  nbproject  src  test  web
root@video:/usr/local/src/mcu/mcuWeb# cd dist/
root@video:/usr/local/src/mcu/mcuWeb/dist# ls
javadoc  mcuWeb.sar
root@video:/usr/local/src/mcu/mcuWeb/dist# ls -l
total 1164
drwxr-xr-x 5 root root    4096 2011-12-25 07:14 javadoc
-rw-r--r-- 1 root root 1185121 2011-12-25 07:14 mcuWeb.sar
root@video:/usr/local/src/mcu/mcuWeb/dist#

编译mcu media server

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
1、什么是Flash Media Server ? 简称FMS。服务器是用于用户之间相互通讯的新平台;它集成了Flash多
Flash Media Server 4.5(fms4.5)教程一:安装 你安装的Flash Media Server 4.5之前,Adobe建议您先
本文原地址:http://www.nshen.net/article/2007/08/29/fms-tutorial/ ,转载请保留链接 。 我把我以
FMS的最新版本已经到FMS 3了 ,本入门教程使用Flash Media Server 2 演示,但你可以很容易的升到 3
Windows media player 就是IE中常见的播放插件 首先确定是Windows server 2008还是Windows server 20
用Wowza转播视频主要有两种,一种为转播服务器上已经存在的视频进行视频点播,一种为接收视频流进行
Media Player Classic - BE (mpc-be)播放器是基于Media Player Classic - Home Cinema (mpc-hc)的播
这里主要是对paper的笔记,和一些将访问模式应用到实际video CDN系统设计的考虑 【Key new observat
一、需求是这样的 现有一个游戏,服务器端管理员要通过摄像头把游戏演示实况记录下来,客户端网友可
1. 硬件环境 CPU:要求为intel酷睿4代(或以上) 2. 操作系统 centos7(x64) 3. 准备SDK安装包 SDK安
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号