From: Sander Temme <sctemme@xxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Sunday, November 30, 2008 6:24:11 PM
Subject: Re: how httpd was compiled
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.
Unfortunately it is not present.
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
I will try this thanks.
Thanks & Regards,
Anurag
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@xxxxxxxxxxPGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF