Re: [users@httpd] How to link pcre statically into Apache 2.4.9?

2014-05-27 Thread Stanley Dziegiel
Yes thanks, I missed the subtlety that you absolutely must only build a static PCRE and use that when building Apache. The static build generates a pcre-config that does this pcre-config --cflags -I/.../include -DPCRE_STATIC and that -DPCRE_STATIC is all impor

[users@httpd] How to link pcre statically into Apache 2.4.9?

2014-05-23 Thread Stanley Dziegiel
At work we compile Apache ourselves with some custom modules. I have been asked to upgrade from Apache 2.2 to Apache 2.4. The build script mostly works but we would like to continue to link pcre in statically and I am struggling to find the right combination of switches to configure. The decouplin

[users@httpd] Why is '-XO4 -xchip=generic' recommended for compilation with Sun Studio?

2014-03-11 Thread Stanley Dziegiel
Hello, The last few lines in README.platforms state: If you use Sun Studio, the following compiler flags (CFLAGS) are recommended: -XO4 -xchip=generic It first occurs in httpd-2.2.4. We are seeing a fault approximately once a week with our in-house build of Apache that uses -X05