Re: Dynamic Module Portability

2017-06-29 Thread Joseph Spencer
Got it. Thank you so much! I'll probably do a mix of both by having an install script that parses the output of -V and provide guidance accordingly for the stray cows :D On Jun 29, 2017 7:07 AM, "Maxim Dounin" wrote: Hello! On Thu, Jun 29, 2017 at 12:27:50AM -0700, Joseph Spencer wrote: > I'

Re: Dynamic Module Portability

2017-06-29 Thread Maxim Dounin
Hello! On Thu, Jun 29, 2017 at 12:27:50AM -0700, Joseph Spencer wrote: > I'm looking to create a portable binary, and from everything I can read, it > is almost impossible. The recommended approach seems to be to expose > source code and require users to compile. This is painful because it > re

Re: Dynamic Module Portability

2017-06-29 Thread Joseph Spencer
Or, I can just require that the host version of nginx be installed with the --with-compat option. On Thu, Jun 29, 2017 at 12:38 AM, Joseph Spencer < [email protected]> wrote: > Looks like I can grep NGX_MODULE_SIGNATURE from the nginx binary itself. > Depending on the version of nginx,

Re: Dynamic Module Portability

2017-06-29 Thread Joseph Spencer
Looks like I can grep NGX_MODULE_SIGNATURE from the nginx binary itself. Depending on the version of nginx, it could be a decent option. I'm literally only dependent on core and http. Most of the elements of the signature appear to be extraneous. On Thu, Jun 29, 2017 at 12:27 AM, Joseph Spencer

Dynamic Module Portability

2017-06-29 Thread Joseph Spencer
I'm looking to create a portable binary, and from everything I can read, it is almost impossible. The recommended approach seems to be to expose source code and require users to compile. This is painful because it requires the source code and gcc to be available: a hard sell for the lazy sysadmin