VPS侦探论坛

 找回密码
 注册
查看: 4218|回复: 3

军哥大人进来瞧一下

[复制链接]
发表于 2013-7-1 15:45:34 | 显示全部楼层 |阅读模式

服务器安了最新的1.0LNMP,之前出了各种问题,但是都一一解决了,现在想增加一个NGINX 的h264模块,但是老报错,你老人家给我看看呢。。

cd /root/lnmp1.0-full
wgethttp://h264.code-shop.com/downlo ... eaming-2.2.7.tar.gz
tar -zxvf nginx_mod_h264_streaming-2.2.7.tar.gz
cd nginx-1.4.1
./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6 --add-module=/root/lnmp1.0-full/nginx_mod_h264_streaming-2.2.7



接着就爆了错误,求看看~






后面我就不敢编译起走了~~求给个完整的安装方法哇~~

[ 本帖最后由 jalena 于 2013-7-1 15:48 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-7-1 16:46:24 | 显示全部楼层


error: ‘ngx_http_request_t’ has no member named ‘zero_in_uri’

这个错误是因为新版nginx中废弃了zero_in_uri这个flag
解决方法:编辑 nginx_mod_h264_streaming-2.2.7/src/ngx_http_streaming_module.c
158到161行注释掉或直接删掉,注释或删掉的内容如下:
if (r->zero_in_uri)
{
  return NGX_DECLINED;
}
再编译看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-7-1 17:07:33 | 显示全部楼层

回复 2# 的帖子


编译ok了,这样就算成功了撒

[root@bcsytv nginx-1.4.1]# nginx -V
nginx version: nginx/1.4.1
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
TLS SNI support enabled
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6 --add-module=/root/lnmp1.0-full/nginx_mod_h264_streaming-2.2.7
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-7-1 20:32:23 | 显示全部楼层

回复 3# 的帖子




Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 19:22 , Processed in 0.026612 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表