Closed (fixed)
Project:
Barracuda
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2011 at 20:07 UTC
Updated:
2 Nov 2011 at 21:08 UTC
I needed to comment out a line inside BARRACUDA.sh script, if I didn't it wouldn't compile
2684 sed -i "s/nginx/Barracuda/g" /var/opt/nginx-$_NGINX_VERSION/src/core/nginx.h
Related: #1048000: nginx support
Comments
Comment #1
omega8cc commentedWe have tested it before many times and this line never broke Nginx build. Weird..
Comment #2
attiks commentedThis is what I did after I downloaded the latest version:
If I did the same without putting the line inside a comment I got compile errors
Comment #3
omega8cc commentedIt should work without issues when you will change
_TEST_MODE=OFFto_TEST_MODE=ON- it will compile ngx_cache_purge automatically. You don't need to add it in_NGINX_EXTRA_CONF. This_TEST_MODE=ONflag has been added exactly for this purpose.Comment #4
attiks commentedDidn't think TEST_MODE was only for cache_purge, tried it just now and it's working as well.
Thanks!