You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Stefan Priebe - Profihost AG <s....@profihost.ag> on 2018/03/27 11:45:17 UTC
build mod_systemd static
Hello,
i've backported mod_systemd to httpd 2.4 which was / is very straight
forward.
Now i would like to build mod_systemd statically but don't get it.
While --enable-unixd=static work fine --enable-systemd=static still
builds it as a shared module.
Any hints?
Greets,
Stefan
Re: build mod_systemd static
Posted by Stefan Priebe - Profihost AG <s....@profihost.ag>.
Am 27.03.2018 um 13:52 schrieb Eric Covener:
> On Tue, Mar 27, 2018 at 7:45 AM, Stefan Priebe - Profihost AG
> <s....@profihost.ag> wrote:
>> Hello,
>>
>> i've backported mod_systemd to httpd 2.4 which was / is very straight
>> forward.
>>
>> Now i would like to build mod_systemd statically but don't get it.
>>
>> While --enable-unixd=static work fine --enable-systemd=static still
>> builds it as a shared module.
>>
>> Any hints?
>>
> I am not too familiar with it, but the pattern used in
> modules/arch/unix/config5.m4 looks a little deviant.
>
> In the "all prereqs met" case it might be clobbering
> enable_systemd=shared with enable_systemd="yes". I spot checked other
> config.m4's and none seem to do it like that.
>
> I would try just zapping that line in config5.m4 then re-running configure
Great! That fixes it. I haven't seen that. Would be nice to have this
fixed in trunk as well.
Stefan
Re: build mod_systemd static
Posted by Eric Covener <co...@gmail.com>.
On Tue, Mar 27, 2018 at 7:45 AM, Stefan Priebe - Profihost AG
<s....@profihost.ag> wrote:
> Hello,
>
> i've backported mod_systemd to httpd 2.4 which was / is very straight
> forward.
>
> Now i would like to build mod_systemd statically but don't get it.
>
> While --enable-unixd=static work fine --enable-systemd=static still
> builds it as a shared module.
>
> Any hints?
>
I am not too familiar with it, but the pattern used in
modules/arch/unix/config5.m4 looks a little deviant.
In the "all prereqs met" case it might be clobbering
enable_systemd=shared with enable_systemd="yes". I spot checked other
config.m4's and none seem to do it like that.
I would try just zapping that line in config5.m4 then re-running configure
> Greets,
> Stefan
--
Eric Covener
covener@gmail.com