Unable to build

David Murphy david at icewatermedia.com
Wed Sep 9 17:04:41 MSD 2009


Are you building it with fair ?
David

-----Original Message-----
From: owner-nginx at sysoev.ru [mailto:owner-nginx at sysoev.ru] On Behalf Of
Joshua Zhu
Sent: Tuesday, September 08, 2009 10:37 PM
To: nginx at sysoev.ru
Subject: Re: Unable to build

Hi,

I can build nginx-0.7.61 on my Ubuntu 8.04 without any problems, even with
the same configuration as yours.

On Fri, Sep 4, 2009 at 3:16 AM, David Murphy<david at icewatermedia.com> wrote:
> This is interesting ....
>
> [root at loba1 ~/nginx-0.7.61]# ls objs/addon/nginx-upstream-fair/ -la 
> total 8.0K drwxr-xr-x 2 root root 4.0K Sep  3 14:10 .
> drwxr-xr-x 3 root root 4.0K Sep  3 14:10 ..
>
>
>
> [root at loba1 ~/nginx-0.7.61]# cat build-stderr.log ', needed by 
> `objs/nginx'.  Stop.et 
> `objs/addon/nginx-upstream-fair/ngx_http_upstream_fair_module.o
> make: *** [build] Error 2
>
> Same results from the build after a   make  2> build-stderr.log
>
> For clarity this is my  upstream folder
>
>
> [root at loba1 ~/nginx-0.7.61]# ls -la nginx-upstream-fair total 68K 
> drwxr-xr-x 3 root   root   4.0K Sep  2 14:52 .
> drwxr-xr-x 9 resgen resgen 4.0K Sep  3 14:14 ..
> -rw-r--r-- 1 root   root   1.3K Sep  2 14:52 .gdbinit drwxr-xr-x 7 
> root   root   4.0K Sep  2 14:52 .git
> -rw-r--r-- 1 root   root   1.4K Sep  2 14:52 README
> -rw-r--r-- 1 root   root    187 Sep  2 14:52 config
> -rw-r--r-- 1 root   root    43K Sep  2 14:52 
> ngx_http_upstream_fair_module.c
>

Here it is. I'm pretty sure these files are in MS-DOS format. Please git
again or convert them to unix format by using the dos2unix utility.

Regards,

--
Joshua Zhu
http://www.zhuzhaoyuan.com






More information about the nginx mailing list