regarding the error "can't open auto/options"

Maxim Dounin mdounin at mdounin.ru
Thu Apr 18 09:36:54 UTC 2013


Hello!

On Thu, Apr 18, 2013 at 05:00:14PM +0800, Tony wrote:

> I got the nginx source code by svn.
> 
> Then tried to compile it with “./configure”. “can’t open 
> auto/options” is reported. I find that there is no options 
> folder or file in auto folder.
> 
> How should I solve it?

The "auto/options" file is there:

http://trac.nginx.org/nginx/browser/nginx/trunk/auto/options

If there is no such file in your svn checkout - it probably means 
you did something wrong.

On the other hand, the "./configure" won't work in svn checkout as 
the "configure" script is under "auto/" directory.  If you need to 
run configure in an svn checkout, you should run 
"auto/configure" from the checkout root.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx-devel mailing list