今天在尝试安装ngx_pagespeed,但是从Nginx-1.0.15 - Nginx-1.2.7 都一直提示下面的错误,倒是是为什么啊!
啊啊啊啊啊……
beta//src/ngx_fetch.h: In member function ‘int net_instaweb::NgxFetch::get_major_version()’:
/root/ngx_pagespeed-release-1.5.27.3-beta//src/ngx_fetch.h:70: 错误:‘struct ngx_http_status_t’没有名为‘http_version’的成员/root/ngx_pagespeed-release-1.5.27.3-beta//src/ngx_fetch.h: In member function ‘int net_instaweb::NgxFetch::get_minor_version()’:
/root/ngx_pagespeed-release-1.5.27.3-beta//src/ngx_fetch.h:74: 错误:‘struct ngx_http_status_t’没有名为‘http_version’的成员
make[1]: *** [objs/addon/src/ngx_fetch.o] 错误 1
make[1]: Leaving directory `/root/nginx-1.0.15'
make: *** [build] 错误 2
nginx-1.0.15安装ngx-pagespeed 出错啊!是什么问题?
来源:oschina
链接:https://my.oschina.net/u/139841/blog/139336