why i cannot build nginx outside the source directory?

Igor Sysoev igor at sysoev.ru
Sun Aug 21 10:17:30 UTC 2011

On Sun, Aug 21, 2011 at 06:04:02PM +0800, smith jack wrote:
> for example build and nginx_src are under the same directory, i can
> build nginx in build directory, with ../nginx_src/configure then the
> files generated in the build process will not pollute the source
> directory of nginx, i tried this, but failed, anyone who knows what's
> the problem?
> thank you:)

I do not quite understand your question, but try

./configure --build-dir=/path/to/build/dir ...

Igor Sysoev

More information about the nginx mailing list