[CentOS] building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core).

Sat May 7 13:33:09 UTC 2022
Anand Buddhdev <anandb at ripe.net>

On 07/05/2022 15:01, Kaushal Shriyan wrote:

Hi Kaushal,

> #gcc -o ngx_cache_purge_module ngx_cache_purge_module.c
> ngx_cache_purge_module.c:30:19: fatal error: nginx.h: No such file or
> directory
>   #include <nginx.h>
>                     ^
> compilation terminated.
> 
> # yum search nginx-devel

Try "yum search nginx" instead and examine its output. You'll find your 
answer.

Regards,
Anand