[ https://issues.apache.org/jira/browse/MESOS-5540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15682353#comment-15682353 ]
Lei Xu commented on MESOS-5540: ------------------------------- join this thread, very useful issue for building mesos in the musl-libc. thanks all ! > Support building with non-GNU libc > ---------------------------------- > > Key: MESOS-5540 > URL: https://issues.apache.org/jira/browse/MESOS-5540 > Project: Mesos > Issue Type: Improvement > Components: general > Reporter: Neil Conway > Assignee: Neil Conway > Priority: Minor > Labels: mesosphere > Fix For: 1.0.0 > > > Some Linux distributions don't use glibc -- e.g., Alpine Linux uses musl. > Mesos currently fails to compile using musl for at least the following two > reasons: > 1. {{linux/fs.hpp}} includes {{fstab.h}}, which isn't provided by musl. > 2. various places use {{fts.h}}, which isn't provided by musl > For (1), it seems this functionality is only needed by > {{FsTest.FileSystemTableRead}}, so I think it can be safely removed. > For (2), there are standalone implementations of the FTS functions, e.g., > https://github.com/pullmoll/musl-fts/ . We could either vendor such an > implementation or require the user to install an FTS implementation as a > library (e.g., https://pkgs.alpinelinux.org/package/edge/main/x86_64/fts). If > we do the latter, we'd need to be prepared to link against {{libfts.a}} if > needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)