Welcome! Log In Create A New Profile

Advanced

building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

All files from this thread

File Name File Size   Posted by Date  
nginxpurge.conf 6 KB open | download kaushalshriyan 05/08/2022 Read message
nginxpurgecache.conf 6 KB open | download kaushalshriyan 05/08/2022 Read message
May 07, 2022 09:06AM
Hi,

I am referring to https://github.com/FRiCKLE/ngx_cache_purge/ and running
the open source nginx version: nginx/1.20.2 on CentOS Linux release
7.9.2009 (Core). When i trying to compile the ngx_cache_purge_module.c I am
encountering fatal error: nginx.h: No such file or directory

# ls -l
total 76
-rw-r--r-- 1 501 wheel 1980 Dec 23 2014 CHANGES
-rw-r--r-- 1 501 wheel 516 Dec 23 2014 config
-rw-r--r-- 1 501 wheel 1424 Dec 23 2014 LICENSE
-rw-r--r-- 1 501 wheel 51501 Dec 23 2014 ngx_cache_purge_module.c
-rw-r--r-- 1 501 wheel 5090 Dec 23 2014 README.md
drwxr-xr-x 2 501 wheel 80 May 7 02:22 t
-rw-r--r-- 1 501 wheel 281 Dec 23 2014 TODO.md
#

#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
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: uk.mirrors.clouvider.net
* centos-sclo-rh: uk.mirrors.clouvider.net
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: mirrors.vinters.com
* updates: mirrors.vinters.com
Warning: No matches found for: nginx-devel
No matches found
# rpm -qa | grep epel
epel-release-7-14.noarch
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
#

Please correct me if I am missing something. Thanks in advance.

Best Regards,

Kaushal
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 07, 2022 09:06AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 07, 2022 10:04AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 07, 2022 11:16PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core) Attachments

kaushalshriyan May 08, 2022 01:04AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 02:14AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 04:14AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core) Attachments

kaushalshriyan May 08, 2022 06:26AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 08:36AM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 08, 2022 04:36PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 10:32PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 08, 2022 11:02PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

kaushalshriyan May 08, 2022 11:20PM

Re: building ngx_cache_purge module on CentOS Linux release 7.9.2009 (Core)

Sergey A. Osokin May 09, 2022 09:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready