sudo apt-get install libmoose-perl liburi-perl libmoosex-getopt-perl libsocket6-perl libanyevent-perl
 sudo cpan AnyEvent::MPRPC::Client
Clone from git
   git clone https://github.com/revmischa/rtsp-server
Then make, test and install
   perl Makefile.PL
   make
   make test
   make install

以上为ubuntu安装流程,以下为centos安装流程

 

1.yum install perl*
2.yum install cpan
3.yum install gcc gcc-c++
4.sudo cpan AnyEvent::MPRPC::Client  

5.sudo cpan install AnyEvent::Socket Moose AnyEvent::Handle

6.sudo cpan install namespace::autoclean

7.sudo cpan install Socket6

8.sudo cpan install URI

9.sudo cpan install MooseX::Getopt
Clone from git
   git clone https://github.com/revmischa/rtsp-server
Then make, test and install
   perl Makefile.PL
   make
   make test
   make install

https://github.com/revmischa/rtsp-server

 
posted on 2018-01-13 12:25  文丿若  阅读(412)  评论(0编辑  收藏  举报