arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.49k stars 3.52k forks source link

Installation failed nginx rtmp module #398

Open jrz90000 opened 10 years ago

jrz90000 commented 10 years ago

Hello My system is: centos6.4 32 位 In nginx compile time tips: objs/addon/hls/ngx_rtmp_mpegts.o \ objs/addon/dash/ngx_rtmp_mp4.o \ objs/ngx_modules.o \ -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz -lxml2 -lxslt -lexslt \ -Wl,-E -Wl,-rpath,/usr/lib/perl5/CORE -fstack-protector -L/usr/local/lib -L/usr/lib/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc make[1]: Leaving directory /root/nginx-1.4.7' make -f objs/Makefile manpage make[1]: Entering directory/root/nginx-1.4.7' sed -e "s|%%PREFIX%%|/usr/local/nginx|" \ -e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|" \ -e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|" \ -e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \ < man/nginx.8 > objs/nginx.8 make[1]: Leaving directory `/root/nginx-1.4.7' Tell me how to install it,Thank you

arut commented 10 years ago

Where is the error?

jrz90000 commented 10 years ago

In nginx which make prompt after this.

arut commented 10 years ago

Sorry, could you please post the error?

jrz90000 commented 10 years ago

I used to be nginx-1.4.7。

[root@VM-08ef5a6e-0b3d-45b8-9091-a993e26dbae8 nginx-1.4.7]# ./configure --add-module=/root/nginx-rtmp-module --with-http_ssl_module checking for OS

[root@VM-08ef5a6e-0b3d-45b8-9091-a993e26dbae8 nginx-1.4.7]#make

                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_record_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_record_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_live_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_live_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_play_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_play_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_flv_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_flv_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_mp4_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_mp4_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_netcall_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_netcall_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_stat_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_stat_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_control_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_control_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_relay_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_relay_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_bandwidth.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_bandwidth.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_exec_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_exec_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_auto_push_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_auto_push_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_notify_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_notify_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_log_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_log_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_limit_module.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_limit_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_bitop.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_bitop.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/nginx-rtmp-module-master/ngx_rtmp_proxy_protocol.o \
                /root/nginx-rtmp-module-master/ngx_rtmp_proxy_protocol.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/hls/ngx_rtmp_hls_module.o \
                /root/nginx-rtmp-module-master/hls/ngx_rtmp_hls_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/dash/ngx_rtmp_dash_module.o \
                /root/nginx-rtmp-module-master/dash/ngx_rtmp_dash_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/hls/ngx_rtmp_mpegts.o \
                /root/nginx-rtmp-module-master/hls/ngx_rtmp_mpegts.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
                -o objs/addon/dash/ngx_rtmp_mp4.o \
                /root/nginx-rtmp-module-master/dash/ngx_rtmp_mp4.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I/root/nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
                -o objs/ngx_modules.o \
                objs/ngx_modules.c
cc -o objs/nginx \
        objs/src/core/nginx.o \
        objs/src/core/ngx_log.o \
        objs/src/core/ngx_palloc.o \
        objs/src/core/ngx_array.o \
        objs/src/core/ngx_list.o \
        objs/src/core/ngx_hash.o \
        objs/src/core/ngx_buf.o \
        objs/src/core/ngx_queue.o \
        objs/src/core/ngx_output_chain.o \
        objs/src/core/ngx_string.o \
        objs/src/core/ngx_parse.o \
        objs/src/core/ngx_inet.o \
        objs/src/core/ngx_file.o \
        objs/src/core/ngx_crc32.o \
        objs/src/core/ngx_murmurhash.o \
        objs/src/core/ngx_md5.o \
        objs/src/core/ngx_rbtree.o \
        objs/src/core/ngx_radix_tree.o \
        objs/src/core/ngx_slab.o \
        objs/src/core/ngx_times.o \
        objs/src/core/ngx_shmtx.o \
        objs/src/core/ngx_connection.o \
        objs/src/core/ngx_cycle.o \
        objs/src/core/ngx_spinlock.o \
        objs/src/core/ngx_cpuinfo.o \
        objs/src/core/ngx_conf_file.o \
        objs/src/core/ngx_resolver.o \
        objs/src/core/ngx_open_file_cache.o \
        objs/src/core/ngx_crypt.o \
        objs/src/event/ngx_event.o \
        objs/src/event/ngx_event_timer.o \
        objs/src/event/ngx_event_posted.o \
        objs/src/event/ngx_event_busy_lock.o \
        objs/src/event/ngx_event_accept.o \
        objs/src/event/ngx_event_connect.o \
        objs/src/event/ngx_event_pipe.o \
        objs/src/os/unix/ngx_time.o \
        objs/src/os/unix/ngx_errno.o \
        objs/src/os/unix/ngx_alloc.o \
        objs/src/os/unix/ngx_files.o \
        objs/src/os/unix/ngx_socket.o \
        objs/src/os/unix/ngx_recv.o \
        objs/src/os/unix/ngx_readv_chain.o \
        objs/src/os/unix/ngx_udp_recv.o \
        objs/src/os/unix/ngx_send.o \
        objs/src/os/unix/ngx_writev_chain.o \
        objs/src/os/unix/ngx_channel.o \
        objs/src/os/unix/ngx_shmem.o \
        objs/src/os/unix/ngx_process.o \
        objs/src/os/unix/ngx_daemon.o \
        objs/src/os/unix/ngx_setaffinity.o \
        objs/src/os/unix/ngx_setproctitle.o \
        objs/src/os/unix/ngx_posix_init.o \
        objs/src/os/unix/ngx_user.o \
        objs/src/os/unix/ngx_process_cycle.o \
        objs/src/os/unix/ngx_linux_init.o \
        objs/src/event/modules/ngx_epoll_module.o \
        objs/src/os/unix/ngx_linux_sendfile_chain.o \
        objs/src/event/ngx_event_openssl.o \
        objs/src/event/ngx_event_openssl_stapling.o \
        objs/src/core/ngx_regex.o \
        objs/src/http/ngx_http.o \
        objs/src/http/ngx_http_core_module.o \
        objs/src/http/ngx_http_special_response.o \
        objs/src/http/ngx_http_request.o \
        objs/src/http/ngx_http_parse.o \
        objs/src/http/ngx_http_header_filter_module.o \
        objs/src/http/ngx_http_write_filter_module.o \
        objs/src/http/ngx_http_copy_filter_module.o \
        objs/src/http/modules/ngx_http_log_module.o \
        objs/src/http/ngx_http_request_body.o \
        objs/src/http/ngx_http_variables.o \
        objs/src/http/ngx_http_script.o \
        objs/src/http/ngx_http_upstream.o \
        objs/src/http/ngx_http_upstream_round_robin.o \
        objs/src/http/ngx_http_parse_time.o \
        objs/src/http/modules/ngx_http_static_module.o \
        objs/src/http/modules/ngx_http_index_module.o \
        objs/src/http/modules/ngx_http_chunked_filter_module.o \
        objs/src/http/modules/ngx_http_range_filter_module.o \
        objs/src/http/modules/ngx_http_headers_filter_module.o \
        objs/src/http/modules/ngx_http_not_modified_filter_module.o \
        objs/src/http/ngx_http_busy_lock.o \
        objs/src/http/ngx_http_file_cache.o \
        objs/src/http/modules/ngx_http_gzip_filter_module.o \
        objs/src/http/ngx_http_postpone_filter_module.o \
        objs/src/http/modules/ngx_http_ssi_filter_module.o \
        objs/src/http/modules/ngx_http_charset_filter_module.o \
        objs/src/http/modules/ngx_http_userid_filter_module.o \
        objs/src/http/modules/ngx_http_autoindex_module.o \
        objs/src/http/modules/ngx_http_auth_basic_module.o \
        objs/src/http/modules/ngx_http_access_module.o \
        objs/src/http/modules/ngx_http_limit_conn_module.o \
        objs/src/http/modules/ngx_http_limit_req_module.o \
        objs/src/http/modules/ngx_http_geo_module.o \
        objs/src/http/modules/ngx_http_map_module.o \
        objs/src/http/modules/ngx_http_split_clients_module.o \
        objs/src/http/modules/ngx_http_referer_module.o \
        objs/src/http/modules/ngx_http_rewrite_module.o \
        objs/src/http/modules/ngx_http_ssl_module.o \
        objs/src/http/modules/ngx_http_proxy_module.o \
        objs/src/http/modules/ngx_http_fastcgi_module.o \
        objs/src/http/modules/ngx_http_uwsgi_module.o \
        objs/src/http/modules/ngx_http_scgi_module.o \
        objs/src/http/modules/ngx_http_memcached_module.o \
        objs/src/http/modules/ngx_http_empty_gif_module.o \
        objs/src/http/modules/ngx_http_browser_module.o \
        objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
        objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
        objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_init.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_handshake.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_handler.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_amf.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_send.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_shared.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_eval.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_receive.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_core_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_cmd_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_codec_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_access_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_record_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_live_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_play_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_flv_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_mp4_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_netcall_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_stat_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_control_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_relay_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_bandwidth.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_exec_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_auto_push_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_notify_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_log_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_limit_module.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_bitop.o \
        objs/addon/nginx-rtmp-module-master/ngx_rtmp_proxy_protocol.o \
        objs/addon/hls/ngx_rtmp_hls_module.o \
        objs/addon/dash/ngx_rtmp_dash_module.o \
        objs/addon/hls/ngx_rtmp_mpegts.o \
        objs/addon/dash/ngx_rtmp_mp4.o \
        objs/ngx_modules.o \
        -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz
make[1]: Leaving directory `/root/nginx-1.4.7'
make -f objs/Makefile manpage
make[1]: Entering directory `/root/nginx-1.4.7'
sed -e "s|%%PREFIX%%|/usr/local/nginx|" \
                -e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|" \
                -e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|" \
                -e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \
                < man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/root/nginx-1.4.7'
[root@VM-08ef5a6e-0b3d-45b8-9091-a993e26dbae8 nginx-1.4.7]# make install
make -f objs/Makefile install
make[1]: Entering directory `/root/nginx-1.4.7'
test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
test -d '/usr/local/nginx/sbin'                 || mkdir -p '/usr/local/nginx/sbin'
test ! -f '/usr/local/nginx/sbin/nginx'                 || mv '/usr/local/nginx/sbin/nginx'                     '/usr/local/nginx/sbin/nginx.old'
cp objs/nginx '/usr/local/nginx/sbin/nginx'
test -d '/usr/local/nginx/conf'                 || mkdir -p '/usr/local/nginx/conf'
cp conf/koi-win '/usr/local/nginx/conf'
cp conf/koi-utf '/usr/local/nginx/conf'
cp conf/win-utf '/usr/local/nginx/conf'
test -f '/usr/local/nginx/conf/mime.types'              || cp conf/mime.types '/usr/local/nginx/conf'
cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'
test -f '/usr/local/nginx/conf/fastcgi_params'          || cp conf/fastcgi_params '/usr/local/nginx/conf'
cp conf/fastcgi_params          '/usr/local/nginx/conf/fastcgi_params.default'
test -f '/usr/local/nginx/conf/fastcgi.conf'            || cp conf/fastcgi.conf '/usr/local/nginx/conf'
cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'
test -f '/usr/local/nginx/conf/uwsgi_params'            || cp conf/uwsgi_params '/usr/local/nginx/conf'
cp conf/uwsgi_params            '/usr/local/nginx/conf/uwsgi_params.default'
test -f '/usr/local/nginx/conf/scgi_params'             || cp conf/scgi_params '/usr/local/nginx/conf'
cp conf/scgi_params             '/usr/local/nginx/conf/scgi_params.default'
test -f '/usr/local/nginx/conf/nginx.conf'              || cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf'
cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
test -d '/usr/local/nginx/logs'                 || mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/logs' ||              mkdir -p '/usr/local/nginx/logs'
test -d '/usr/local/nginx/html'                 || cp -R html '/usr/local/nginx'
test -d '/usr/local/nginx/logs' ||              mkdir -p '/usr/local/nginx/logs'
make[1]: Leaving directory `/root/nginx-1.4.7'

Then the installation fails