ReJeCtAll / naxsi

Automatically exported from code.google.com/p/naxsi
Other
0 stars 0 forks source link

make error 0.47 #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
error in freebsd 8.2 64 when make.

/tmp/naxsi-0.47/naxsi_src/naxsi_runtime.c: In function 
'ngx_http_process_basic_rule_buffer':
/tmp/naxsi-0.47/naxsi_src/naxsi_runtime.c:165: error: 'ngx_regex_t' has no 
member named 'pcre'
*** Error code 1
1 error
*** Error code 2
1 error

Tried 0.46 and 0.47.

Original issue reported on code.google.com by GoofT...@gmail.com on 9 Jul 2012 at 10:57

GoogleCodeExporter commented 8 years ago
Hello!

Please run this on your server:
apt-get update
apt-get install libpcre3 libpcre3-dev

It should solve your problem :)

Original comment by prizem...@gmail.com on 10 Jul 2012 at 6:17

GoogleCodeExporter commented 8 years ago
In Debian 6.0.5.
I've already installed libpcre3 and libpcre3-dev.

../naxsi-0.46-1/naxsi_src//naxsi_runtime.c: In function 
‘ngx_http_process_basic_rule_buffer’:
../naxsi-0.46-1/naxsi_src//naxsi_runtime.c:121: error: ‘ngx_regex_t’ has no 
member named ‘pcre’

Both 0.46-1 and 0.47.
Some suggests?

Thx.

Original comment by fabio...@gmail.com on 11 Jul 2012 at 9:59

GoogleCodeExporter commented 8 years ago
I have FreeBSD 8.2 64 and CentOS 5.8 64

In CentOS I've installed pcre and pcre-devel, but it didn't help me.

Original comment by GoofT...@gmail.com on 11 Jul 2012 at 1:35

GoogleCodeExporter commented 8 years ago
same issue here :/

Original comment by theozo...@gmail.com on 14 Jul 2012 at 8:11

GoogleCodeExporter commented 8 years ago
What version of nginx are you using ?

Original comment by sephirot...@gmail.com on 14 Jul 2012 at 8:14

GoogleCodeExporter commented 8 years ago
1.2.2

Original comment by GoofT...@gmail.com on 14 Jul 2012 at 8:14

GoogleCodeExporter commented 8 years ago
I've commited a fix. Please try again with the latest svn version and let me 
know if it works now.

Original comment by sephirot...@gmail.com on 14 Jul 2012 at 8:47

GoogleCodeExporter commented 8 years ago
New error for me (Debian 6.0.5, nginx-1.2.2) :-(

make[1]: Entering directory `/root/a2h/sources/nginx/nginx-1.2.2'
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter 
-Wunused-function -Wunused-variable -Wunused-value -Werror -g   -I src/core -I 
src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I 
src/http/modules -I src/mail \
        -o objs/addon/naxsi_src/naxsi_runtime.o \
        ../naxsi-read-only/tags/0.47/naxsi_src/naxsi_runtime.c
../naxsi-read-only/tags/0.47/naxsi_src/naxsi_runtime.c: In function 
‘ngx_http_process_basic_rule_buffer’:
../naxsi-read-only/tags/0.47/naxsi_src/naxsi_runtime.c:165: error: 
‘ngx_regex_t’ has no member named ‘pcre’
make[1]: *** [objs/addon/naxsi_src/naxsi_runtime.o] Error 1
make[1]: Leaving directory `/root/a2h/sources/nginx/nginx-1.2.2'
make: *** [install] Error 2

Original comment by fabio...@gmail.com on 16 Jul 2012 at 7:53

GoogleCodeExporter commented 8 years ago
please use SVN instead, as this was fixed in SVN and will be included in next 
version.

best regards,

Original comment by ori...@gmail.com on 16 Jul 2012 at 3:57

GoogleCodeExporter commented 8 years ago

Original comment by ori...@gmail.com on 6 Aug 2012 at 12:55