Márcio,

Não sei se esse é seu ambiente de produção, mas aqui o meu trabalho
nós temos o apache2 (/usr/ports/apache2) versão 2.0.54 com php4 e php5
e o modsecurity versão 1.8.7 funcionando perfeitamente. Talvez o seu
problema seja com a versão alpha do apache.

Obs.: Instalei tudo via ports. O seu ports está atualizado?

Abraços,

Mauro Felipe

2005/10/4, Marcio Antunes <[EMAIL PROTECTED]>:
> Pessoal,
>
> Estou tentando instalar o mod_security 1..7 via ports esta ocorrendo
> erro na hora de instalar, tentei fazer manualmente e a mesma coisa,
> estou usando apache 2.1.4.
>
> O erro é esse
>
> /usr/local/build-1/libtool --silent --mode=compile cc -prefer-pic -O
> -pipe  -I/usr/ports/www/apache21/work/httpd-2.1.4-alpha/srclib/pcre
> -I/usr/local/include/apache21  -I/usr/local/include/apr-1
> -I/usr/local/include/apr-1 -I/usr/local/include  -c -o mod_security.lo
> mod_security.c && touch mod_security.slo
> mod_security.c:284: error: syntax error before "regex_t"
> mod_security.c: In function `check_sig_against_string':
> mod_security.c:2843: error: structure has no member named `regex'
> mod_security.c:2850: error: structure has no member named `regex'
> mod_security.c: In function `cmd_filter':
> mod_security.c:3243: error: structure has no member named `regex'
> mod_security.c:3243: error: `REG_EXTENDED' undeclared (first use in
> this function)
> mod_security.c:3243: error: (Each undeclared identifier is reported only once
> mod_security.c:3243: error: for each function it appears in.)
> mod_security.c:3243: error: `REG_ICASE' undeclared (first use in this 
> function)
> mod_security.c:3243: error: `REG_NOSUB' undeclared (first use in this 
> function)
> mod_security.c:3247: error: structure has no member named `regex'
> mod_security.c:3250: error: structure has no member named `regex'
> mod_security.c: In function `cmd_filter_selective':
> mod_security.c:3310: error: structure has no member named `regex'
> mod_security.c:3310: error: `REG_EXTENDED' undeclared (first use in
> this function)
> mod_security.c:3310: error: `REG_ICASE' undeclared (first use in this 
> function)
> mod_security.c:3310: error: `REG_NOSUB' undeclared (first use in this 
> function)
> mod_security.c:3314: error: structure has no member named `regex'
> mod_security.c:3317: error: structure has no member named `regex'
> apxs:Error: Command failed with rc=65536
>
> Alguem pode me ajudar, tenho que instalar este aplicativo no meu apache.
>
>
> Márcio
>
> _______________________________________________
> Freebsd mailing list
> Freebsd@fug.com.br
> http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
>


--
[ ]´s

Mauro Felipe

_______________________________________________
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br

Responder a