`

编译mcu media server

阅读更多
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#
分享到:
评论

相关推荐

    ZLMediaKit编译程序MediaServer

    使用vs2019编译ZLMediaKit 32位程序MediaServer.exe,源码无任何改动 支持多种协议(RTSP/RTMP/HLS/HTTP-FLV/WebSocket-FLV/GB28181/HTTP-TS/WebSocket-TS/HTTP-fMP4/WebSocket-fMP4/MP4/WebRTC),支持协议互转。 使用...

    vs2008下编译过的live555,mediaServer

    在VS2008下编译MediaServer,开发者可能是在创建一个适合Windows平台的媒体服务器,以满足Windows客户端的兼容性和性能需求。 在压缩包中的"live"文件很可能包含了编译好的Live555库、MediaServer的源码、配置文件...

    live555MediaServer 循环播放文件

    "mediaServer" 文件可能包含用于构建和运行live555MediaServer所需的所有组件,如源代码、配置文件、编译脚本等。根据项目结构,可能有以下部分: 1. 源代码文件(.cpp, .h):实现RTSP服务器功能的核心代码。 2. ...

    live555MediaServer2.rar

    1. **下载与安装**:从官方或第三方源获取最新版本的live555源码或者预编译的二进制文件,例如"live555MediaServer.exe"。 2. **配置与编译**:对于源码,需要使用合适的编译工具(如Visual Studio)进行编译,生成...

    ZLMediakit可执行程序 MediaServer-webrtc.exe win32位

    ZLMediakit 32位可执行程序,直接可以运行,免编译,不依赖任何库

    flash media server 4 帮助文档

    它是指在 Flash Media Server 中嵌入的 JavaScript 引擎所编译和执行的服务器端脚本。该语言参考文档详细记录了 Flash Media Server 主机环境中的类和函数。用户还可以利用核心 JavaScript 类、函数、语句和运算符等...

    live555MediaServer.zip

    live555MediaServer.exe 在windows下编译,可直接运行,不需要复杂部署

    flash media server聊天室开发示例

    在IT行业中,Flash Media Server(FMS)是一个强大的实时流媒体服务器,主要用于处理富媒体内容,如音频、视频和数据。本示例是关于如何利用Flash技术开发一个聊天室应用,特别是聚焦于ActionScript编程语言和语音...

    ZLMediaKit MediaServer播放器

    2024-08-24编译的ubutun16.04下全功能版本

    FileZilla server 0.9.62 VS2015 编译

    0.9.62是它的一个版本,而"FileZilla server 0.9.62 VS2015 编译"指的是使用Visual Studio 2015(VS2015)开发环境编译此特定版本的FileZilla Server源代码。这个过程对于开发者或IT专业人员来说,可能是为了适应...

    AntMediaServer是一个开源的多媒体服务器

    AntMediaServer是一个强大的开源多媒体服务器,专为处理实时流媒体内容而设计。它以其灵活性、高效性和稳定性在IT行业中获得了广泛的认可,特别是在Java开发领域。这个服务器平台支持多种流协议,包括RTMP(Real-...

    live555 mediaServer.exe

    《live555 MediaServer.exe:在Win11系统中的应用与编译解析》 "live555 mediaServer.exe" 是一个基于 live555 库开发的媒体服务器程序,专为 Windows 11 操作系统设计。live555 是一个开源的多媒体框架,广泛用于...

    SQL Server2005中的批编译,重编译和计划缓存.pdf

    ### SQL Server 2005中的批编译、重编译和计划缓存 #### 一、概述 本文深入探讨了SQL Server 2005中的批编译、重编译以及计划缓存机制,旨在帮助数据库管理员和开发人员更好地理解这些概念并优化其应用程序的性能...

    media-server-node:适用于Node.js的WebRTC媒体服务器

    适用于Node.js的WebRTC Medooze媒体服务器该媒体服务器将允许您... 要在您的项目上使用它,只需安装它而不是npm存储库依赖项: npm i --save medooze-media-server-x.y.x.tgz用法const MediaServer = require ( 'medoo

    在Windows下编译安装MapServer.doc

    ### 在Windows下编译安装MapServer #### 一、概述 MapServer是一个开源地理信息系统(GIS)Web服务器解决方案,能够生成和发送基于地图的图像,通过标准的HTTP协议传输到客户端,广泛应用于地理信息系统(GIS)...

    live555服务器 mediaServer V1.1 20230330最新版本

    mediaServer V1.1是基于Live555源码编译生成的Windows可执行文件,这意味着它具备了Live555库的所有基础功能,可以创建和管理实时流,支持多用户同时访问,提供流的控制和监视,确保稳定可靠的多媒体传输。...

    live555mediaserver

    live555mediaserver, vs编译,可直接运行。同目录下放几个ts文件,可以直接播放。

    PyPI 官网下载 | mediaserver_api_client-0.1.0-py3-none-any.whl

    标题中的"PyPI 官网下载 | mediaserver_api_client-0.1.0-py3-none-any.whl"指的是Python Package Index(PyPI)上发布的名为`mediaserver_api_client`的Python库的特定版本,即0.1.0。PyPI是Python开发者发布自己...

    ubuntu16.04下编译android8.1出现jack-sever问题

    在Ubuntu 16.04环境下编译Android 8.1系统时,可能会遇到一系列问题,尤其是涉及到Jack Server的问题。本文将深入解析这些问题及其解决方案。 首先,编译过程中的常见错误通常与系统环境和依赖库的缺失有关。例如,...

Global site tag (gtag.js) - Google Analytics