首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

Ubuntu上OpenRTMFP安装

2012-07-25 
Ubuntu下OpenRTMFP安装环境 Ubunut 11? 安装相关的库lua5.1pocoopenssl? gccapt-get install openssl libs

Ubuntu下OpenRTMFP安装

环境 Ubunut 11?

安装相关的库

lua5.1 poco openssl? gcc
apt-get install openssl libssl-dev libiodbc2 libiodbc2-dev libmysql++-dev libpoco-dev liblua5.1-*dev build-essential

?

删除旧版本的问题 apt-get purge lua5.0
apt-get autoremove lua5.0

?

下载OpenRTMFP https://github.com/OpenRTMFP/Cumulus

?

?

安装 写道tar zxvf OpenRTMFP-Cumulus-6d19814.tar.gz
cd OpenRTMFP-Cumulus*
cd CumulusLib &&? make
cd ../CumulusServer
make

启动
./CumulusServer &
netstat -anup |grep :1935?
问题处理 CumulusServer 首先要make CumulusLib 再make CumulusServer
提示缺少组件 安装相关的即可

##########################################
root@sea-desktop:/usr/local/openrtmfp/CumulusServer# make
compiling main.cpp
In file included from ./sources/Service.h:21,
from ./sources/Server.h:22,
from ./sources/main.cpp:20:
./sources/Script.h:30: fatal error: lua.h: No such file or directory
##########################################
缺少lua.h 头文件 检查是否掉了 lua5.1-dev

查看版本是否是5.1
5.0的话 请修改 ./sources/Script.h
“lua5.1/lua.h” ==》 <lua.h>
修改 Makefile
-llua5.1 ==》 -llua

运行时发生错误“error while loading shared libraries:libPocoFoundation.so.12”
运行: export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"

?

?

热点排行