crtmpserver主线版本在Redhat AS 5上面编译不通过,参考攻略

来源:互联网 发布:淘宝定制付定金和尾款 编辑:程序博客网 时间:2024/06/05 16:32

Introduction

The following instructions are extremely simple and incomplete! This are ONLY receipts to follow for getting started with the server very fast. At this present time (the time you are reading this), this instructions may not work because something could be already different. This page is usually maintained, but don't despair if it doesn't work. The mailing list is always there to save the day.

Operating systems

The following list of operating system is in an arbitrary order (except FreeBSD, which is the best :) ).

FreeBSD

9.0 amd64/i386

#install needed stuffsudo pkg_add -r subversion cmake libexecinfo #fetch the latest repo versioncd /tmpsvn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpservercd crtmpserver/builders/cmake/ #build it./run

8.3 amd64/i386

#install needed stuffsudo pkg_add -r subversion cmake libexecinfo #fetch the latest repo versioncd /tmpsvn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpservercd crtmpserver/builders/cmake/ #build it./run

Ubuntu

12.04 amd64/i386

#install needed stuffsudo apt-get install g++ subversion cmake make libssl-dev #fetch the latest repo versioncd /tmpsvn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpservercd crtmpserver/builders/cmake/ #build it./run

Debian

6.0.4 amd64/i386

#install needed stuffsudo apt-get install g++ subversion cmake make libssl-dev #fetch the latest repo versioncd /tmpsvn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpservercd crtmpserver/builders/cmake/ #build it./run

CentOS

6.2 amd64/i386

#install needed stuffsudo yum install perl vim subversion cmake make gcc gcc-c++ openssl-devel #fetch the latest repo versioncd /tmpsvn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpservercd crtmpserver/builders/cmake/ #build it./run

5.8 amd64/i386

#install needed stuffsudo yum install vim-enhanced subversion cmake make gcc gcc-c++ openssl-devel #fetch the latest repo versioncd /tmpsvn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpservercd crtmpserver/builders/cmake/ #fix/force the builder to link with the dynamic version of openssl.#Looks like on cents 5.8 the static version of openssl is built with almost#any conceivable feature activated, forcing us to link with another 10001 libs#So, we are going to link with the dynamic version of the opensslsed "s/COMPILE_STATIC/__COMPILE_STATIC/g" cmake_find_modules/Find_openssl.cmake >/tmp/Find_openssl.cmake.newmv /tmp/Find_openssl.cmake.new cmake_find_modules/Find_openssl.cmake #this versions of CentOS are having a too old kernel which doesn't support timerfd_xxxx apis#deactivate the epoll timers supportcat ../../sources/common/include/platform/linux/linuxplatform.h |grep -v "HAS_EPOLL_TIMERS" >/tmp/linuxplatform.h.newmv /tmp/linuxplatform.h.new ../../sources/common/include/platform/linux/linuxplatform.h #build it./run
原创粉丝点击