Forum: NGINX upload module doesnt compile with 0.6.34

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
nginx.mailinglist (Guest)
on 2008-12-19 23:57
(Received via mailing list)
Hello
I was unable to compile nginx 0.6.34 with upload module support

My test system consists of Vmware6.5 with OpenSuse11.1 64bit running

I tried both "Nginx upload module (v 2.0.7)" and "Nginx upload module (v
2.1.1)"

heres a configure and the results i got during compilation

http://pastebin.com/m58fdacdd

Hope this helps

Cheers
Todd F. (Guest)
on 2008-12-20 15:03
(Received via mailing list)
Not sure about 2.1.1, but for 2.0.7, it is probably an unsigned
comparison
to signed warning that caused it to fail on line 981...  In that case,
using
this line instead should fix the warning:

if((ssize_t)(u->output_file.offset + len) >
(ssize_t)(ulcf->max_file_size))


On Fri, Dec 19, 2008 at 4:46 PM, nginx. mailinglist <
Valery K. (Guest)
on 2008-12-20 20:14
(Received via mailing list)
Todd F. wrote:
>     Hello
>     http://pastebin.com/m58fdacdd
>
>     Hope this helps
>
>     Cheers
>
>

Correct. Or try using version 2.0.8 which I just have released.
nginx.mailinglist (Guest)
on 2008-12-20 22:50
(Received via mailing list)
Hello

firstly, thank you both for the help so far, appreciated

anyways I tried compiling the latest update (2.0.8) but it seems another
issue came up

see attached (last few lines) compilation


http://pastebin.com/m6d4ec39f


Cheers / Spasibo :)


On Sat, Dec 20, 2008 at 6:05 PM, Valery K. <
Valery K. (Guest)
on 2008-12-20 23:19
(Received via mailing list)
Good that you've mentioned it.

Seems that I've mistaken in this revision:

http://svn.myau.su/?do=diff&project=nginx_upload_f...

Try using updated archive:

http://www.grid.net.ru/nginx/download/nginx_upload...
nginx.mailinglist (Guest)
on 2008-12-21 14:37
(Received via mailing list)
Hi Valery
thank you, that one compiled without issues

Regards

On Sat, Dec 20, 2008 at 9:11 PM, Valery K. <
This topic is locked and can not be replied to.