Request: Omit library man pages and extraneous data by default.
igor at sysoev.ru
Mon Dec 14 19:17:43 MSK 2009
On Sun, Dec 13, 2009 at 06:20:30PM -0500, kyleb wrote:
> Given the unreliability of using system libraries, nginx really does do it right by building its own PCRE, OpenSSL, and zlib. However, lots of extraneous stuff gets built for these items (such as manpages). This drastically increases nginx build time, particularly for the OpenSSL part.
I do not know the way to disable building OpenSSL mans: there is no such option.
> Just try building nginx repeatedly for debugging purposes, and watching those openssl manpage installations scroll by again and again, eating precious iops and wall-clock time for no reason whatsoever---complete waste!
> If the nginx make system ran configure on its libraries to omit the all stuff nginx doesn't actually need, this would not waste resources, and would significantly speed up build times. Really, nginx should tell configure to just build the static libraries.
> Mr. Sysoev, in the long term, the cumulative time you would save yourself on test builds would probably more than make up for the time you spend fixing this. ;-)
I do not usually build OpenSSL from sources.
More information about the nginx