Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread JINZE YANG via nginx
Hello, After testing, when compiling BoringSSL, on the test machine with GCC 12, you need to execute the command `sed -i 's/-Werror/-Werror -Wno-array-bounds/' CMakeLists.txt` for it to compile successfully. However, no issues were encountered during compilation with GCC 13. -- Best regard

Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread Sergey A. Osokin
On Wed, May 14, 2025 at 05:45:42PM +0800, JINZE YANG via nginx wrote: > Hello, > Today, I pulled the latest branch from GitHub. Below > are the corresponding commits: > boringssl: 89973806bc2ef652189e157f2736a7d32229c404 > nginx: f3542500b6d74e3e88fc84b88144afe67882d1fa > Someone mentioned that thi

Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread JINZE YANG via nginx
Hello, Today, I pulled the latest branch from GitHub. Below are the corresponding commits: boringssl: 89973806bc2ef652189e157f2736a7d32229c404 nginx: f3542500b6d74e3e88fc84b88144afe67882d1fa Someone mentioned that this might be related to the GCC version. It seems GCC 13 does not have issues, but I

Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread JINZE YANG via nginx
Sorry, I used the wrong email format. I will be more careful next time. By the way, another person successfully compiled using GCC version 13 on Alpine. --- Best regards, JINZE YANG > 2025年5月14日 17:45,JINZE YANG 写道: > > Hello, > Today, I pulled the latest branch from GitHub. Below > are the

Re: Compiling Nginx with BoringSSL results in an error

2025-05-14 Thread Sergey A. Osokin
Hi there, hope you're doing well. Thanks for the report! On Wed, May 14, 2025 at 10:34:05AM +0800, 杨金泽 wrote: > It seems that BoringSSL has updated some of its interfaces, causing the > following issues during the compilation of Nginx. Is there currently any > solution to resolve this problem? Or

Compiling Nginx with BoringSSL results in an error

2025-05-13 Thread 杨金泽
It seems that BoringSSL has updated some of its interfaces, causing the following issues during the compilation of Nginx. Is there currently any solution to resolve this problem? Or are there other libraries that can perfectly replace BoringSSL? The commands and error messages are as follows: ro

Re: modules and compiling nginx 1.21.3 from source

2021-10-28 Thread Sergey A. Osokin
Hi Ian, hope you're doing well these days. On Mon, Oct 25, 2021 at 07:09:42PM +0100, Ian Hobson wrote: > Hi all, [...] Please take a look on the following line: >--add-module=../nchan-1.2.12 The "--add-module" configure argument adds a module as a static, i.e. built-in functionality, into

modules and compiling nginx 1.21.3 from source

2021-10-25 Thread Ian Hobson
Hi all, When nginx is installed from the ubuntu 20.4 repos, it sets up assorted modules in nginx/modules-enabled When I load it, it loads just fine. However I need a few extra modules, which I compiled in using ubuntu 18.04. So, copied the Sources directory over and updated the modules that hav

Re: Compiling Nginx with `libdeflate` - possible?

2021-10-25 Thread Maxim Dounin
Hello! On Mon, Oct 25, 2021 at 07:50:42AM -0400, petecooper wrote: > I am attempting to compile Nginx 1.21.3 with libdeflate[1] with a view to > comparing performance against classic Zlib and the Cloudflare fork of > Zlib[2]. > > I can successfully compile Nginx with classic Zlib. I can also suc

Compiling Nginx with `libdeflate` - possible?

2021-10-25 Thread petecooper
I am attempting to compile Nginx 1.21.3 with libdeflate[1] with a view to comparing performance against classic Zlib and the Cloudflare fork of Zlib[2]. I can successfully compile Nginx with classic Zlib. I can also successfully compile Nginx with Cloudflare Zlib. I cannot yet compile Nginx with l

Re: Can't add custom library path while compiling nginx from source on Windows

2021-09-16 Thread Francis Daly
On Wed, Sep 15, 2021 at 11:50:10PM -0400, John Moreira wrote: Hi there, > I'm trying to compile nginx from source code on Windows with xslt support. > I followed all of the directions from the official page > http://nginx.org/en/docs/howto_build_on_win32.html to a tee and it works > when I do not

Can't add custom library path while compiling nginx from source on Windows

2021-09-15 Thread John Moreira
Hello, I'm trying to compile nginx from source code on Windows with xslt support. I followed all of the directions from the official page http://nginx.org/en/docs/howto_build_on_win32.html to a tee and it works when I do not specify --with-http_xslt_module When specifying --with-http_xslt_module a

Re: Does compiling nginx with “--with-debug” option reduce performance even when not enabling debug level?

2019-08-01 Thread Francis Daly
On Thu, Aug 01, 2019 at 09:44:20AM -0400, abkulkar wrote: Hi there, > I want to build nginx with the debug options and use it in production. > But the instructions provided here: > https://nginx.org/en/docs/debugging_log.html do not say if it will have > performance issues even when I DON'T enabl

Does compiling nginx with “--with-debug” option reduce performance even when not enabling debug level?

2019-08-01 Thread abkulkar
I want to build nginx with the debug options and use it in production. But the instructions provided here: https://nginx.org/en/docs/debugging_log.html do not say if it will have performance issues even when I DON'T enable debug level logging. The reason to build nginx with debug options is to qui

When compiling NGINX from source fails when the --with-libatomic="path to libatomic_ops source dir" option is specified

2018-04-18 Thread qingshan luo
When compiling nginx with the --with-libatomic=/usr/local/src/libatomic_ops-7.6.4 option, it is reported that libatomic_ops.a does not exist. If the libatomic_ops version is greater than 7.4.0, the libatomic_ops.a file is located in ./src/.libs instead of ./src see: https://github.com/ivmai

Re: i'm getting following error when compiling nginx 1.8.1

2016-02-11 Thread Yichun Zhang (agentzh)
Hello! On Thu, Feb 11, 2016 at 2:43 AM, Deeptha wrote: > /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c > /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c: > In function 'ngx_tcp_send': > /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_m

i'm getting following error when compiling nginx 1.8.1

2016-02-11 Thread Deeptha
following is the error message /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c: In function 'ngx_tcp_send': /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:3

Re: compiling nginx from sources and including xslt sources

2016-02-05 Thread Maxim Dounin
Hello! On Thu, Feb 04, 2016 at 01:50:00PM -0500, orglee wrote: > Oh ok I'm dumb. :P > > Can I somehow specify those library paths to? I really would like to avoid > compiling them into directory structure of my current system. Refer to the library docs to find out how to compile them and insta

Re: compiling nginx from sources and including xslt sources

2016-02-04 Thread orglee
Oh ok I'm dumb. :P Can I somehow specify those library paths to? I really would like to avoid compiling them into directory structure of my current system. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264346,264359#msg-264359 ___ nginx ma

Re: compiling nginx from sources and including xslt sources

2016-02-04 Thread Maxim Dounin
Hello! On Thu, Feb 04, 2016 at 12:55:43PM -0500, orglee wrote: > I'm still getting: > > (...) > checking for libxslt ... not found > checking for libxslt in /usr/local/ ... not found > checking for libxslt in /usr/pkg/ ... not found > checking for libxslt in /opt/local/ ... not found > > ./conf

Re: compiling nginx from sources and including xslt sources

2016-02-04 Thread orglee
I'm still getting: (...) checking for libxslt ... not found checking for libxslt in /usr/local/ ... not found checking for libxslt in /usr/pkg/ ... not found checking for libxslt in /opt/local/ ... not found ./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries. You can

Re: compiling nginx from sources and including xslt sources

2016-02-04 Thread Maxim Dounin
Hello! On Thu, Feb 04, 2016 at 10:36:38AM -0500, orglee wrote: > Hi, > > I'm trying to compile nginx from source but despite providing ./configure > with --with-ld-opt I can't seem to see it. > > This is the complete command I'm trying to use. [...] > --with-ld-opt="-I/opt/src/nginx/libxml-2.

compiling nginx from sources and including xslt sources

2016-02-04 Thread orglee
Hi, I'm trying to compile nginx from source but despite providing ./configure with --with-ld-opt I can't seem to see it. This is the complete command I'm trying to use. ./configure --prefix=/opt/nginx-1.9.9/conf --sbin-path=/opt/nginx-1.9.9/sbin/nginx --conf-path=/opt/nginx-1.9.9/conf/nginx.conf

Re: Compiling nginx

2015-09-08 Thread Valentin V. Bartenev
On Tuesday 08 September 2015 17:19:55 B.R. wrote: > Hello, > > I noticed the documentation page about compiling nginx > <http://nginx.org/en/docs/configure.html> is not up-to-date, making it > impossible to have a clear view about which modules are included by default >

Compiling nginx

2015-09-08 Thread B.R.
Hello, I noticed the documentation page about compiling nginx <http://nginx.org/en/docs/configure.html> is not up-to-date, making it impossible to have a clear view about which modules are included by default (ie with no --with-* or --without-* options at configure time). One such example

Re: Compiling Nginx on Windows 7

2015-06-01 Thread Maxim Dounin
Hello! On Mon, Jun 01, 2015 at 10:45:04AM +0300, Andrei Belov wrote: > > On 30 May 2015, at 23:00, z_kamikimo wrote: > > > Im experiencing issues with compiling Nginx on Windows 7, every thing goes > > good until nmake -f objs/Makefile. > > I get the following error

Re: Compiling Nginx on Windows 7

2015-06-01 Thread Andrei Belov
On 30 May 2015, at 23:00, z_kamikimo wrote: > Im experiencing issues with compiling Nginx on Windows 7, every thing goes > good until nmake -f objs/Makefile. > I get the following error > > Assembling: tmp32\sha1-586.asm > tmp32\sha1-586.asm(1432) : error A2070:invalid in

Re: Compiling Nginx on Windows 7

2015-05-30 Thread Kurt Cancemi
riencing issues with compiling Nginx on Windows 7, every thing goes > good until nmake -f objs/Makefile. > I get the following error > > Assembling: tmp32\sha1-586.asm > tmp32\sha1-586.asm(1432) : error A2070:invalid instruction operands > tmp32\sha1-586.asm(1576) : error A207

Re: Compiling Nginx on Windows 7

2015-05-30 Thread z_kamikimo
Im experiencing issues with compiling Nginx on Windows 7, every thing goes good until nmake -f objs/Makefile. I get the following error Assembling: tmp32\sha1-586.asm tmp32\sha1-586.asm(1432) : error A2070:invalid instruction operands tmp32\sha1-586.asm(1576) : error A2070:invalid instruction

Error compiling NGINX 1.7.4 with openssl 1.0.1i statically on RHEL7 system

2014-08-07 Thread Fabiano Furtado Pessoa Coelho
Hi... I'm trying to compile NGINX 1.7.4 com openssl 1.0.1i statically on RHEL7. I've downloaded the SPRM file from http://nginx.org/packages/mainline/rhel/7/SRPMS/nginx-1.7.4-1.el7.ngx.src.rpm and I modified the nginx.spec file to do it. I've added the line --with-openssl=/home/test/opens

Re: Cross-compiling Nginx for SAMA5D3 Xplained board

2014-07-09 Thread Maxim Dounin
Hello! On Wed, Jul 09, 2014 at 08:47:41AM +0400, Homutov Vladimir wrote: > On Tue, Jul 08, 2014 at 11:43:18PM -0400, willy7841 wrote: > > Hello Maxim Dounin, > > > > Thank you for your explanation. > > > > If I would like to run Nginx on embedded board, how could I do? > > > > Thanks for your hel

Re: Cross-compiling Nginx for SAMA5D3 Xplained board

2014-07-08 Thread willy7841
Hello Homutov Vladimir, Thank you for your explanation. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,251595,251601#msg-251601 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Cross-compiling Nginx for SAMA5D3 Xplained board

2014-07-08 Thread Homutov Vladimir
On Tue, Jul 08, 2014 at 11:43:18PM -0400, willy7841 wrote: > Hello Maxim Dounin, > > Thank you for your explanation. > > If I would like to run Nginx on embedded board, how could I do? > > Thanks for your help. > In short, you have to rework configure tests that currently depend on host system to

Re: Cross-compiling Nginx for SAMA5D3 Xplained board

2014-07-08 Thread willy7841
Hello Maxim Dounin, Thank you for your explanation. If I would like to run Nginx on embedded board, how could I do? Thanks for your help. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,251595,251598#msg-251598 ___ nginx mailing list nginx@

Re: Cross-compiling Nginx for SAMA5D3 Xplained board

2014-07-08 Thread Maxim Dounin
Hello! On Tue, Jul 08, 2014 at 10:51:18PM -0400, willy7841 wrote: > Hello, > > I would like to run Nginx on my SAMA5D3 Xplained board. > > I have a newbie questions: > > I try to cross-compiling Nginx on my PC running Ubuntu with SAMA5D3 Xplained > cross-comp

Cross-compiling Nginx for SAMA5D3 Xplained board

2014-07-08 Thread willy7841
Hello, I would like to run Nginx on my SAMA5D3 Xplained board. I have a newbie questions: I try to cross-compiling Nginx on my PC running Ubuntu with SAMA5D3 Xplained cross-compiling, then I modify the environmental parameters of Ubuntu for CC, AR, LD, RANLIB and STRIP

Re: Cross Compiling nginx-1.0.11

2013-12-06 Thread Maxim Dounin
Hello! On Fri, Dec 06, 2013 at 06:27:52AM -0800, Shenchen foundshany wrote: > hi, > do you have a plan to supported cross-compilation nginx. how to do it, > thanks There are no plans to support cross-compilation. -- Maxim Dounin http://nginx.org/en/donation.html

Re: Cross-compiling Nginx for ARM?

2013-04-17 Thread W-Mark Kubacki
2013/4/16 Shohreh: > djczaski Wrote: > > Thanks for the input. By any chance, did you write a tutorial that I could > use to try and compile it for that other ARM processor? Here you go: [1] http://mark.ossdl.de/en/2009/09/nginx-on-sheevaplug.html You don't need to patch Nginx anymore and can ski

Re: Cross-compiling Nginx for ARM?

2013-04-15 Thread Shohreh
djczaski Wrote: --- > I've compiled for ARM A8. The biggest issue was configuring to use the system OpenSSL and pcre libraries. other than that , no problems. Thanks for the input. By any chance, did you write a tutorial that I could use to try

Re: Cross-compiling Nginx for ARM?

2013-04-12 Thread djczaski
the source code so Nginx >> can run on ARM? > > Latest stable is 1.2.8, and that's what you see in the official > repository. Latest mainline is 1.3.15, it is available in a > separate repository, see here: > > http://nginx.org/en/linux_packages.

Re: Cross-compiling Nginx for ARM?

2013-04-12 Thread Maxim Dounin
e code so Nginx > can run on ARM? Latest stable is 1.2.8, and that's what you see in the official repository. Latest mainline is 1.3.15, it is available in a separate repository, see here: http://nginx.org/en/linux_packages.html#mainline > 2. I tried cross-compiling Nginx on a

Cross-compiling Nginx for ARM?

2013-04-12 Thread Shohreh
se ports based on older code? Because it's not just a matter of recompiling, but it also requires making changes to the source code so Nginx can run on ARM? 2. I tried cross-compiling Nginx on a PC running Ubuntu with Marvell's cross-compiler (www.plugcomputer.org/downloads/plug-basic/),

Re: Compiling Nginx on Windows 7

2013-03-29 Thread x64architecture
To fix the error open a MSYS Bash and run the following command: mv /usr/bin/link.exe /usr/bin/link_.exe Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237923,237929#msg-237929 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/m

Compiling Nginx on Windows 7

2013-03-28 Thread x64architecture
Im experiencing issues with compiling Nginx on Windows 7, every thing goes good until nmake -f objs/Makefile. I get the following error: Generating Code... link -lib -out:pcre.lib -verbose:lib pcre_*.obj /usr/bin/link: invalid option -- l Try `/usr/bin/link --help' for more inform