`

编译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#
分享到:
评论

相关推荐

    vs2008下编译过的live555,mediaServer

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

    live555MediaServer2.rar

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

    vc6.0下编译过的live555,mediaServer

    《VC6.0环境下编译与使用Live555及MediaServer详解》 在IT行业中,实时音视频传输是不可或缺的一部分,而Live555是一个广泛使用的开源库,专门用于处理RTSP(Real Time Streaming Protocol)、RTMP(Real Time ...

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

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

    针对MCU,编写CMakeLists.txt,使用make编译

    为了在Linux环境下对MCU进行程序开发,通常会采用C语言,而CMakeLists.txt文件则是管理项目构建的配置文件,可以与make工具配合使用,实现跨平台的编译流程。本篇将详细介绍如何编写CMakeLists.txt文件,并利用make...

    flash media server 4 帮助文档

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

    live555MediaServer.zip

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

    live555 media Server

    在Windows环境下,live555 Media Server的预编译版本使得开发者无需自行编译源代码,直接可以进行推流操作。这个版本包含必要的动态链接库(dll),使得在Windows系统上快速集成和运行变得可能。通过调用live555提供...

    Mediaserver的2015-2022vc版本下编译出的release版本

    Mediaserver是一款在Windows操作系统上运行的媒体服务器软件,它主要负责处理音频、视频等多媒体数据,提供流媒体服务。2015年至2022年间的版本更新,见证了这款软件在功能优化、性能提升以及兼容性方面的不断进步。...

    mediasoup windows平台下编译生成的out和Release文件夹

    mediasoup windows平台下编译生成的out和Release文件夹,vs2017,不想下载可通过以下命令自己编译 npm i --ignore-scripts cd node_modules/mediasoup python ./worker/scripts/configure.py --format=msvs -R ...

    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专业人员来说,可能是为了适应...

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

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

    VS2005 编译 Media Player Classic

    ### VS2005 编译 Media Player Classic #### 一、编译工具与环境配置 **操作系统**:本教程适用于Windows XP SP2或SP3。 **开发环境**:使用Visual Studio 2005 Professional。 **版本控制工具**:采用...

    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开发者发布自己...

    Windows Server 2003 (NT 5.2.3790.0) 操作系统源代码编译构建指南_20201129_10A版本.doc

    Windows Server 2003 操作系统源代码编译构建指南 本文档是关于 Windows Server 2003 操作系统源代码编译构建指南的详细指南。该指南旨在帮助用户从泄露的源代码中编译和构建一个完整的 Windows Server 2003 操作...

    SIP Express Media Server-开源

    SIP Express Media Server (SEMS) 是一个专为基于Session Initiation Protocol (SIP) 的Voice over Internet Protocol (VoIP) 服务设计的开源媒体和应用服务器。它遵循GNU General Public License version 2+(GPLv2...

    用VS2005编译Filezilla Server 0.9.39原码

    在本文中,我们将深入探讨如何使用Visual Studio 2005(VS2005)编译开源FTP服务器软件FileZilla Server的0.9.39版本源代码。FileZilla Server是一款功能强大且免费的FTP服务器软件,广泛应用于个人和企业环境中,...

    androidx.media3.exoplayer,编译好的libffmpeg库

    androidx.media3.exoplayer,编译好的libffmpeg库,2024.5.4拉取最新分支编译,exoplayer的ffmpeg只能软解码音频

Global site tag (gtag.js) - Google Analytics