wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

Problem compiling nginx with the module #188

Closed ghost closed 9 years ago

ghost commented 9 years ago

When attempting to call make, we encounter the following error:

../nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c: In function ‘ngx_http_push_stream_parse_channels_ids_from_path’:
../nginx-push-stream-module/src/ngx_http_push_stream_module_utils.c:2268:20: error: ‘NGX_REGEX_NO_MATCHED’ undeclared (first use in this function)
     } while ((n != NGX_REGEX_NO_MATCHED) && (aux.data < (vv_channels_path.data + vv_channels_path.len)));
                    ^
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/src/ngx_http_push_stream_module.o] Error 1
make[1]: Leaving directory `/home/deploy/dev/nginx-1.9.2'
make: *** [build] Error 2

The nginx version is 1.9.2.

Any help is appreciated.

ghost commented 9 years ago

It seems that the issue was that I was missing libpcre3 and libpcre3-dev. Installing those solved the problem.