In message <[email protected]>, Nikola M writes:
>On 05/ 3/16 11:25 PM, Stefan Müller-Wilken wrote:
>>could anyone with access to the Sun Studio environment do me a great
>>favor and lift the mod_security package from its current IPS
>>incarnation to the 2.9.1 available from modsecurity.org?
>>I tried to compile it with 'gcc' but that will crash Apache httpd
>>under oi_151a9 when loading the module.

Try building Apache with gcc and then building modsecurity
against your custom Apache.

$ env PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/gnu/bin:/usr/sfw/bin \
CC=gcc CFLAGS="-m64 -O3" LDFLAGS="-m64" \
./configure --with-expat=/usr --with-ssl=/usr --enable-ssl \
--enable-proxy --enable-rewrite --enable-modules=all \
--enable-mods-shared=all --with-included-apr --prefix=/opt/apache22

$ env PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/gnu/bin:/usr/sfw/bin \
CC=gcc CFLAGS="-m64 -O3" LDFLAGS=-m64 \
./configure --with-apxs=/opt/apache22/bin/apxs \
--with-apr=/opt/apache22/bin/apr-1-config \
--with-apu=/opt/apache22/bin/apu-1-config \
--prefix=/opt/apache22/modsecurity

John
[email protected]

_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to