编译mcu media server

  • 摘要:Buildinghttp://sourceforge.net/projects/mcumediaserver/installjdk1.6.0_30vi/etc/environmentaddfollowinglines:------------------------------------------------------------------------------------------exportJAVA_HOME=/usr/local/jdk1.6.0_30exp
  • 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. aliyunzixun@xxx.com:/usr/local/src/mcu# cp XmlRpcMcuClient/nbproject/project.properties XmlRpcMcuClient/nbproject/project.properties.bak
    4. cd /usr/local
    5. aliyunzixun@xxx.com:/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 -------------------------------------------
    aliyunzixun@xxx.com:/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
    aliyunzixun@xxx.com:/usr/local/src/mcu/mcuWeb# ls
    build build.xml catalog.xml dist myfile nbproject src test web
    aliyunzixun@xxx.com:/usr/local/src/mcu/mcuWeb# cd dist/
    aliyunzixun@xxx.com:/usr/local/src/mcu/mcuWeb/dist# ls
    javadoc mcuWeb.sar
    aliyunzixun@xxx.com:/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
    aliyunzixun@xxx.com:/usr/local/src/mcu/mcuWeb/dist#
以上是编译mcu media server的内容,更多 编译 的内容,请您使用右上方搜索功能获取相关信息。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值