Re: How to compile Nginx with zlib-ng

2023-03-27 Thread Maxim Dounin
Hello! On Mon, Mar 27, 2023 at 09:57:34PM +0400, Sergey Kandaurov wrote: > > On 24 Mar 2023, at 06:07, Maxim Dounin wrote: > > > > Hello! > > > > On Thu, Mar 23, 2023 at 09:33:19PM +0100, Richard Stanway via nginx wrote: > > > >> Yes, when using the latest zlib-ng on nginx-1.21.6 I received t

Re: How to compile Nginx with zlib-ng

2023-03-27 Thread Sergey Kandaurov
> On 24 Mar 2023, at 06:07, Maxim Dounin wrote: > > Hello! > > On Thu, Mar 23, 2023 at 09:33:19PM +0100, Richard Stanway via nginx wrote: > >> Yes, when using the latest zlib-ng on nginx-1.21.6 I received the >> alerts. Previous versions of zlib-ng have worked great after the 2021 >> patch. I

Re: How to compile Nginx with zlib-ng

2023-03-24 Thread Richard Stanway via nginx
Thanks for the patch! I've been running it for about an hour and haven't seen the preallocated memory alert since, so it's looking good here. On Fri, 24 Mar 2023 at 03:07, Maxim Dounin wrote: > > Hello! > > On Thu, Mar 23, 2023 at 09:33:19PM +0100, Richard Stanway via nginx wrote: > > > Yes, when

Re: How to compile Nginx with zlib-ng

2023-03-23 Thread Maxim Dounin
Hello! On Thu, Mar 23, 2023 at 09:33:19PM +0100, Richard Stanway via nginx wrote: > Yes, when using the latest zlib-ng on nginx-1.21.6 I received the > alerts. Previous versions of zlib-ng have worked great after the 2021 > patch. I tried to update it myself as follows based on advice of > zlib-n

Re: How to compile Nginx with zlib-ng

2023-03-23 Thread Richard Stanway via nginx
ures I'd suggest to use nginx-devel mailing list >> instead, thank you. >> >> On Tue, Mar 21, 2023 at 04:06:00PM -0500, Lance Dockins wrote: >> > >> > Has anyone had success compiling Nginx with zlib-ng instead of >> > default Zlib versions? I seem

Re: How to compile Nginx with zlib-ng

2023-03-22 Thread Lance Dockins
related to nginx development or > > > new features I'd suggest to use nginx-devel mailing list > > > instead, thank you. > > > > > > On Tue, Mar 21, 2023 at 04:06:00PM -0500, Lance Dockins wrote: > > > > > > > > Has anyone had succes

Re: How to compile Nginx with zlib-ng

2023-03-22 Thread Richard Stanway via nginx
ue, Mar 21, 2023 at 04:06:00PM -0500, Lance Dockins wrote: > > > > Has anyone had success compiling Nginx with zlib-ng instead of > > default Zlib versions? I seem to be able to compile Nginx with > > standard Zlib and various other Zlib libraries (e.g. Intel > > optimized

Re: How to compile Nginx with zlib-ng

2023-03-22 Thread Sergey A. Osokin
ith zlib-ng instead of > default Zlib versions?  I seem to be able to compile Nginx with > standard Zlib and various other Zlib libraries (e.g. Intel > optimized or Cloudflare) but compiling with Zlib-NG always fails. NGINX builds well with zlib. In case of new functionality, like an ability t

How to compile Nginx with zlib-ng

2023-03-21 Thread Lance Dockins
Has anyone had success compiling Nginx with zlib-ng instead of default Zlib versions?  I seem to be able to compile Nginx with standard Zlib and various other Zlib libraries (e.g. Intel optimized or Cloudflare) but compiling with Zlib-NG always fails.  I’ve tried passing in various options via

Re: how Can I Cross Compile nginx web server for arm linux?

2021-11-23 Thread Francis Daly
On Tue, Nov 23, 2021 at 12:11:00AM -0500, vrezaei wrote: Hi there, > I have solved my problem by following instructions precisely. > https://programmer.help/blogs/cross-compiling-nginx-used-on-hi3536.html > it is a very good tutorial. Great that you found a recipe that compiles this version fo

Re: how Can I Cross Compile nginx web server for arm linux?

2021-11-22 Thread vrezaei
dear Francis I have solved my problem by following instructions precisely. https://programmer.help/blogs/cross-compiling-nginx-used-on-hi3536.html it is a very good tutorial. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292907,292919#msg-292919

Re: how Can I Cross Compile nginx web server for arm linux?

2021-11-22 Thread Francis Daly
On Mon, Nov 22, 2021 at 06:08:45AM -0500, vrezaei wrote: Hi there, > I need to do Cross Compile Nginx Web Server to use on my target board. See, for example, https://forum.nginx.org/read.php?2,279437,279441 and https://forum.nginx.org/read.php?2,280952,280953 Cross-compilation is not suppor

how Can I Cross Compile nginx web server for arm linux?

2021-11-22 Thread vrezaei
hi I need to do Cross Compile Nginx Web Server to use on my target board. I follow instructions on this tutorial https://programmer.help/blogs/cross-compiling-nginx-used-on-hi3536.html but it wasn't successful. ps. my goal is to set up an Nginx webserver with pcre , OpenSSL and rtmp-modu

Re: Compile Nginx

2020-04-28 Thread Anoop Alias
Kumar K S wrote: > I usually install from the official nginx apt repo. But since I want to > use modules like more_set_headers which requires building nginx from > source, I'm looking for best practices. > > On Tue, Apr 28, 2020 at 6:50 PM Reinis Rozitis wrote: > >> &g

Re: Compile Nginx

2020-04-28 Thread Praveen Kumar K S
I usually install from the official nginx apt repo. But since I want to use modules like more_set_headers which requires building nginx from source, I'm looking for best practices. On Tue, Apr 28, 2020 at 6:50 PM Reinis Rozitis wrote: > > Can I compile nginx on Ubuntu 16.04 and

RE: Compile Nginx

2020-04-28 Thread Reinis Rozitis
> Can I compile nginx on Ubuntu 16.04 and reuse it on other deployments? Or do > I need to compile every time ? Please advise. As far as the hosts have all the shared libraries like openssl/pcre etc (you can check with 'ldd /path/to/nginx') there is no need to compile every t

Re: Compile Nginx

2020-04-28 Thread basti
d a debian package. it can be easily transferred and installed. Be aware that a computer/ server can have different architectures. On 28.04.20 14:42, Praveen Kumar K S wrote: > Hello, > > Can I compile nginx on Ubuntu 16.04 and reuse it on other deployments? > Or do I need to compile ever

Compile Nginx

2020-04-28 Thread Praveen Kumar K S
Hello, Can I compile nginx on Ubuntu 16.04 and reuse it on other deployments? Or do I need to compile every time ? Please advise. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How can I do cross Compile Nginx Web Server?

2018-04-14 Thread Maxim Dounin
s. If you want to compile nginx from sources, you have to do it on the board itself (== native compilation). To do this, you have to install compiler on the board itself, and then run "./configure && make" (again, on the board itself).

Re: How can I do cross Compile Nginx Web Server?

2018-04-13 Thread mot...@embedsys.ir
out any problem, but I need to a web server on my Target . Regards From: "Maxim Dounin" Sent: Friday, April 13, 2018 11:05 PM To: nginx@nginx.org Subject: Re: How can I do cross Compile Nginx Web Server? Hello! On Fri, Apr 13,

Re: How can I do cross Compile Nginx Web Server?

2018-04-13 Thread Maxim Dounin
Hello! On Fri, Apr 13, 2018 at 08:41:39PM +0430, mot...@embedsys.ir wrote: > Hi, > I need to do Cross Compile Nginx Web Server to use on my target board. > I tried , but ... > >hesam@hesam-MS-7392:~/temp/nginx-1.9.9$ ./configure > --crossbuild=Linux::arm > --wit

How can I do cross Compile Nginx Web Server?

2018-04-13 Thread mot...@embedsys.ir
Hi, I need to do Cross Compile Nginx Web Server to use on my target board. I tried , but ... hesam@hesam-MS-7392:~/temp/nginx-1.9.9$ ./configure --crossbuild=Linux::arm --with-cc="/home/hesam/g25/arm-2011.09/bin/arm-none-linux-gnueabi-gcc" --with-ld-opt="/usr/arm-li

Unable to compile Nginx 1.12.1 with ModSecurity

2017-08-25 Thread cozmo
Hello, We have been using Nginx with ModSecurity for some time. We are moving from Nginx 1.10 to 1.12. Following the same receipe as always, compiling Nginx 1.12.1 with ModSecurity 2.9.2 now gives error: cc: error: /home/rpmbuild/modsecurity-2.9.2/nginx/modsecurity/../../standalone/.libs/standalo

Compile NGINX as Position Independent Executable (Compile Error)

2015-10-24 Thread vincent.schwarzer
Hey NGINX Devs, I want to compile and run NGINX on OSv from Cloudius https://github.com/ cloudius-systems/osv.For that I have to compile NGINX as Position Independent Code (-fPIC / -fPIE). The issue I currently have is that when I run 'make build' after executing the ./configure scr

Re: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-13 Thread gaop...@richinfo.cn
Think you The problem has been resolved.Because 'if($remote_addr' , 'If' and '(' a space is required between gaop...@richinfo.cn From: Valentin V. Bartenev Date: 2014-05-13 15:15 To: nginx Subject: Re: Compile nginx 1.4.7 --with-http_rewrite_module Erro

Re: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-13 Thread gaop...@richinfo.cn
ngx_http_rewrite_module syntax:if (condition) { ... } default:— context:server, location I use in location', gaop...@richinfo.cn From: Valentin V. Bartenev Date: 2014-05-13 15:15 To: nginx Subject: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error On Tuesday 13 May 2014 13:

Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-13 Thread Valentin V. Bartenev
On Tuesday 13 May 2014 13:34:11 gaop...@richinfo.cn wrote: > Think you > But If I turn off the words,I have no way is to use 'if' order.An error > occurred : [emerg] 14499#0: unknown directive "if($remote_addr" in > /usr/local/nginx1/conf/nginx.conf:46 There is no directive "if($remote_addr"

Re: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-12 Thread gaop...@richinfo.cn
Think you But If I turn off the words,I have no way is to use 'if' order.An error occurred : [emerg] 14499#0: unknown directive "if($remote_addr" in /usr/local/nginx1/conf/nginx.conf:46 gaop...@richinfo.cn From: Steve Holdoway Date: 2014-05-13 13:09 To: nginx Subjec

Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-12 Thread Steve Holdoway
On Tue, 2014-05-13 at 11:25 +0800, gaop...@richinfo.cn wrote: > hi: > I compiled nginx1.4.7,add > to --with-pcre=/root/nginx/pcre-8.34 --with-http_rewrite_module parameter;An > error occurred :./configure: error: invalid option > "--with-http_rewrite_module" ,Trouble who can talk about what

Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-12 Thread gaop...@richinfo.cn
hi: I compiled nginx1.4.7,add to --with-pcre=/root/nginx/pcre-8.34 --with-http_rewrite_module parameter;An error occurred :./configure: error: invalid option "--with-http_rewrite_module" ,Trouble who can talk about what is the problem gaop...@richinfo.cn _

Re: How can i compile nginx with specific lib linkage

2014-01-27 Thread humank
Maxim Dounin Wrote: --- > Hello! > > On Thu, Jan 23, 2014 at 11:35:44PM -0500, humank wrote: > > > I have customized a new nginx add on module,and the module use an > external > > lib ( mytest.so). > > The method i called in mytest.so is kimtest

Re: How can i compile nginx with specific lib linkage

2014-01-24 Thread Maxim Dounin
Hello! On Thu, Jan 23, 2014 at 11:35:44PM -0500, humank wrote: > I have customized a new nginx add on module,and the module use an external > lib ( mytest.so). > The method i called in mytest.so is kimtest method. > How can i configure the ./configure file and Makefile to prevent the error " > u

How can i compile nginx with specific lib linkage

2014-01-23 Thread humank
I have customized a new nginx add on module,and the module use an external lib ( mytest.so). The method i called in mytest.so is kimtest method. How can i configure the ./configure file and Makefile to prevent the error " undefined reference to `kimtest' " Here is the configure file.. auto/confi

Re: Compile NGINX with Openssl statically

2013-11-25 Thread Fabiano Furtado Pessoa Coelho
l/pod2man line 71. >> Makefile:639: recipe for target 'install_docs' failed >> make[2]: *** [install_docs] Error 1 >> make[2]: Leaving directory '/tmp/compile/openssl-1.0.1e' >> objs/Makefile:1395: recipe for target >> '/tmp/compile/openssl-1.0.1

Re: Compile NGINX with Openssl statically

2013-11-25 Thread Maxim Dounin
e/openssl/ssl.h' failed > make[1]: *** [/tmp/compile/openssl-1.0.1e/.openssl/include/openssl/ssl.h] > Error 2 > make[1]: Leaving directory '/tmp/compile/nginx-1.4.4' > Makefile:8: recipe for target 'build' failed > make: *** [build] Error 2 > > > What I

Compile NGINX with Openssl statically

2013-11-22 Thread Fabiano Furtado Pessoa Coelho
Hi members... I need your help. I'm trying to compile NGINX 1.4.4 with openssl 1.0.1e statically but the make process fail. Step 1: ./configure --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/bin/nginx --pid-path=/run/nginx.pid --lock-path=/run/lock/nginx.lock --user