Maybe you shoukd consider reinstall cmake (i have a debian lenny box
and looks like this):
1.
kajin:/# apt-get update
Hit
http://ftp.lug.ro lenny Release.gpg
Hit
http://ftp.lug.ro lenny Release
Ign
http://ftp.lug.ro lenny/main Packages/DiffIndex
....
(if there is no package to upgrade...)
2.
kajin:/# apt-cache search cmake
cmake - A cross-platform, open-source make system
dart-client - a distributed testing and dashboard system client
icmake - Intelligent C-like MAKEr, or the ICce MAKE utility
libwibble-dev - Library of various useful C++ code
xutils-dev - X Window System utility programs for development
3.
if i search to lenny repository i would see that version of cmake is
2.6.0 and crtmp server would require at least version 2.6.3 of cmake
so i have to manually compile and install cmake from source (i you
have already installed cmake remove it via apt-get purge cmake)
4. getting latest cmake
cd /usr/local
wget
http://www.cmake.org/files/v2.8/cmake-2.8.2-Linux-i386.tar.gz
tar -zxvf cmake-2.8.2-Linux-i386.tar.gz
mv cmake-2.8.2-Linux-i386 cmake
ln -s /usr/local/cmake/bin/cmake /usr/bin/cmake
5. (for testing i would install rtmpd in opt directory)
cd /opt
svn co --username anonymous
https://svn.rtmpd.com/crtmpserver/trunk
crtmpserver
....
6. compile and install
cd crtmpserver/builders/cmake
cmake .
if there is no errors...just run:
make
optional:
7. in case you are running some instance (web server - tomcat/jetty)
on port 8080 then you should change inboundRtmpt port in
rtmpserver.lua, as follows:
nano -w rtmpserver/rtmpserver.lua (main configuration of rtmpd - /
opt/crtmpserver/builders/cmake/rtmpserver/rtmpserver.lua )
and modify ...
....
{
ip="0.0.0.0",
port=8080, -- here you
should change the port, let's say to 8000
protocol="inboundRtmpt"
},
.....
save the file and let's test if it is ok:
i assume to be in the directory from where we have cokmpiled crtmp
server (i mean /opt/crtmpserver/builders/cmake/ )
./rtmpserver/rtmpserver ./rtmpserver/rtmpserver.lua
default cftmpserver log file :
tail -f /tmp/rtmpserver.log
best regards
> smime.p7s
> 5KVizualizaţiDescărcaţi