<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I'm fairly familiar with the 'compiling process' for dynamic
modules - the process is the same for NGINX Open Source as wel as
NGINX Plus.</p>
<p>You would need to compile the modules alongside NGINX and then
harvest the compiled .so files and put them into corresponding
locations on the system you want to load the dynamic modules. In
Ubuntu, we do this (or at least, I do) by using the same OS and
libraries as installed on the target system (as well as the same
NGINX version).</p>
<p>This being said, **compiling** NGINX is different than
**installing** NGINX - you can *compile* the nginx version 1.18.0
with the dynamic modules and the same configuration as the Fedora
version, and then **take the compiled module** and load it up in
your installed nginx instance. Compiling NGINX to make the
dynamic module does NOT require you to then install that NGINX
version, provided that you match the `make` steps and
installed/available libraries to those used in the original nginx
compile done in Fedora.</p>
<p><br>
</p>
<p>Thomas</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 1/6/21 5:30 PM, Phoenix Kiula wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFWfU=uPbAJP48GBVsgGHDfakrEuDOxStNfY+CvjC-Y2mrAV4A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_quote">
<div><span class="gmail_default" style="font-size:large">Thank
you Miguel. But you misunderstood the question. This
suggestion...</span></div>
<div><span class="gmail_default" style="font-size:large"><br>
</span></div>
<div><span class="gmail_default" style="font-size:large"></span> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div dir="auto">nginx blog as a great guide on it though <a
href="https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/"
target="_blank" moz-do-not-send="true">https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus/</a></div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div class="gmail_default" style="font-size:large">...misses
the very first question in this thread: we cannot compile
nginx from source on our server. At least not in a way
that that compiled version would become the nginx
installed in our *system*. We need to install nginx via
the default Fedora dnf package manager, which at this time
installs 1.18.0. </div>
<div class="gmail_default" style="font-size:large"><br>
</div>
<div class="gmail_default" style="font-size:large">Now, what
I don't mind doing is to compile nginx in some
self-contained folder somewhere, then use that compilation
to create the .so or whatever the module file for that
version is....if all of this module compiling does *not*
affect the system-installed dnf version of nginx. Is this
possible? </div>
<div class="gmail_default" style="font-size:large"><br>
</div>
<div class="gmail_default" style="font-size:large">If so,
the instructions do not help with this. The first step in
that official tutorial is to compile nginx and that
compiled nginx then becomes the system's main nginx. It
replaces whatever was installed via "dnf install nginx".
Yes? </div>
<div class="gmail_default" style="font-size:large"><br>
</div>
<div class="gmail_default" style="font-size:large">Hope this
makes sense. Have I correctly understood how nginx
compilation works? Appreciate any pointers. </div>
<div class="gmail_default" style="font-size:large"><br>
</div>
</div>
<div class="gmail_default" style="font-size:large">Thank you. </div>
<div class="gmail_default" style="font-size:large"><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
</blockquote>
</body>
</html>