httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: [users@httpd] how httpd was compiled
Date Mon, 01 Dec 2008 02:24:11 GMT

On Nov 30, 2008, at 5:05 PM, Anurag Gujral wrote:

> Thats is why I wanted to know if there is way to find out how a  
> particuar httpd was compiled.


If your installation is complete, you should find a file called  
config.nice in the build subdirectory.  It has the exact invocation of  
the configure script used to set up the build process.

That should allow you to recreate your compilation.

If that isn't present, don't despair: a combination of httpd -l and  
the contents of the modules subdirectory will tell you what modules  
were enabled, and httpd -V will tell you some of the path prefix  
choices that were made.  Also, running ldd on the httpd binary and on  
the individual modules will tell you where Apache expects to find its  
libraries: that will allow you to recreate the --with-package=...  
parameters to configure

Most of the configure options have to do with turning modules on and  
off, so if you collect that information you're most of the way there.

Good luck,

S.

-- 
Sander Temme
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF




Mime
View raw message