naemon / naemon-livestatus

Naemon - Livestatus Eventbroker Module
GNU General Public License v2.0
26 stars 30 forks source link

Build naemon-livestatus on non-GNU environment #120

Open dereckson opened 7 months ago

dereckson commented 7 months ago

To be able to build naemon-livestatus everywhere, there are some blockers:

The last one is less trivial: 1bd7a3b385a887dc3537480095cb6ce30c2dee76 uses an addition to pthreads functions only offered in glibc, using the function pthread_tryjoin_np missing from standard pthreads, that fonction uses glibc-only __pthread_clockjoin_ex etc.

It could be possible to include them if glibc is missing, as licenses of glibc and naemon-livestatus are compatible, but that's a lot of code, could someone has a link to that MON-9123 issue to look at the original issue this code change wanted to fix? It seems a JIRA one?

dereckson commented 7 months ago

Created #121 to protect patch introducing pthread_tryjoin_np with __ifdef__ GLIBC.