Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Maxim Dounin
June 17, 2014 07:26AM
Hello!

On Tue, Jun 17, 2014 at 03:48:29AM -0700, Piotr Sikora wrote:

> Hey Maxim,
>
> > The problem seems to be in OpenSSL as it fails to detect default
> > arch to build for
>
> Agreed.
>
> > and looking into config script suggests a quick
> > fix is to set KERNEL_BITS=64 in the environment.
>
> Except that KERNEL_BITS trick requires OpenSSL-1.0.1+.

That's sad, but I don't think it matters.

BTW, looking into OpenSSL 0.9.7 suggests it should be fine, and the
change proposed will break build.

> > I don't think nginx should try to do anything with this.
>
> So it's better to not build at all? And why is the workaround for
> pretty much the same issue fine for perl but not OpenSSL? It's really
> not that intrusive change...

The workaround for perl is to make it possible to build nginx with
a perl version available by default, and it changes nothing in
other cases.

Suggested patch for OpenSSL, in contrast, only required for build
of OpenSSL by nginx (which is exotic on OS X anyway), only needed
for old versions of OpenSSL, and will break building for i386 if
needed for whatever reason, as well as building of at least some
supported OpenSSL versions.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Configure: fix build from sources for OpenSSL on OS X

Piotr Sikora 695 June 17, 2014 05:58AM

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Ruslan Ermilov 323 June 17, 2014 06:18AM

[PATCH] Configure: fix build from sources for OpenSSL on OS X

Piotr Sikora 315 June 17, 2014 06:30AM

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Maxim Dounin 287 June 17, 2014 06:38AM

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Piotr Sikora 342 June 17, 2014 06:50AM

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Ruslan Ermilov 348 June 17, 2014 06:58AM

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Maxim Dounin 332 June 17, 2014 07:26AM

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Piotr Sikora 309 June 17, 2014 06:40PM

Re: [PATCH] Configure: fix build from sources for OpenSSL on OS X

Maxim Dounin 419 June 19, 2014 07:56AM

[PATCH] Configure: fix build from sources for OpenSSL on OS X

Piotr Sikora 359 June 17, 2014 06:42PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 179
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready