[Libwebsockets] How to compile so as to use the daemon mode in Fedora 23?

Colin Adams colinpauladams at gmail.com
Wed May 4 22:10:40 CEST 2016


Okay, thanks. that works nicely.

On Wed, 4 May 2016 at 20:56 Andy Green <andy at warmcat.com> wrote:

>
>
> On May 4, 2016 10:31:08 PM GMT+08:00, Colin Adams <
> colinpauladams at gmail.com> wrote:
> >I'm on Fedora, and trying to link against libwebsockets.so is failing
> >when
> >using lws_daemonize.
> >
> >I tried editing the .spec file to say this :
> >
> >%cmake -D LWS_NO_DAEMONIZE=OFF ..
> >
> >and rebuilding and reinstalling the rpms, but it doesn't make any
> >difference to my result.
> >
> >I'm not familiar with cmake, so I guess I have just made a silly
> >mistake,
> >but don't know what to do.
>
> Sorry it's a bit confusing.  The flag is listed at the top of
> CMakeLists.txt as
>
> LWS_WITHOUT_DAEMONIZE
>
> So just do what you're doing with that flag instead.
>
> -Andy
>
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Libwebsockets mailing list
> >Libwebsockets at ml.libwebsockets.org
> >http://libwebsockets.org/mailman/listinfo/libwebsockets
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20160504/36f6e3a0/attachment-0001.html>


More information about the Libwebsockets mailing list