Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D855200BD4 for ; Thu, 1 Dec 2016 21:50:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3C1B1160B0B; Thu, 1 Dec 2016 20:50:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8324A160B05 for ; Thu, 1 Dec 2016 21:50:35 +0100 (CET) Received: (qmail 80637 invoked by uid 500); 1 Dec 2016 20:50:34 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 80626 invoked by uid 99); 1 Dec 2016 20:50:34 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2016 20:50:34 +0000 Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id E47331A039E for ; Thu, 1 Dec 2016 20:50:33 +0000 (UTC) Received: by mail-lf0-f42.google.com with SMTP id c13so180616625lfg.0 for ; Thu, 01 Dec 2016 12:50:33 -0800 (PST) X-Gm-Message-State: AKaTC006ge6kW6f5FdmCbPpbUDYruSZBN9ELbksxZDmO7sm5bQ/npsw28jQMffqj4wH9lwqw5e+FnfAGhIOXL8uq X-Received: by 10.46.71.76 with SMTP id u73mr20517150lja.6.1480625432561; Thu, 01 Dec 2016 12:50:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.12.41 with HTTP; Thu, 1 Dec 2016 12:50:12 -0800 (PST) In-Reply-To: References: From: Benjamin Mahler Date: Thu, 1 Dec 2016 12:50:12 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Building on OS X 10.12 To: dev Content-Type: multipart/alternative; boundary=001a114029a2f4261f05429ef80a archived-at: Thu, 01 Dec 2016 20:50:36 -0000 --001a114029a2f4261f05429ef80a Content-Type: text/plain; charset=UTF-8 Here is the update: https://reviews.apache.org/r/54262/ On Thu, Dec 1, 2016 at 12:36 PM, Vinod Kone wrote: > Thanks! > > On Thu, Dec 1, 2016 at 12:34 PM, Benjamin Mahler > wrote: > > > I ran into some compilation issues after upgrading to OS X 10.12.1, and > was > > able to build successfully with Jie's help. > > > > The first thing was that I encountered a lot of these deprecation > warnings: > > > > ../../../3rdparty/libprocess/../stout/include/stout/os/posix > /su.hpp:241:9: > > warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - > > syscall(2) is unsupported; please switch to a supported interface. For > > SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] > > > > Which was fixed by adding CXXFLAGS=-Wno-deprecated-declarations when > > configuring. > > > > The next thing was hitting the following when running the libprocess > tests: > > > > ./libprocess-tests > > Failed to obtain the IP address for 'Benjamins-MacBook-Pro.local'; the > DNS > > service may not be able to resolve it: nodename nor servname provided, or > > not known > > > > To resolve this, (I'm not sure how Jie figured this out), I had to go > into > > System Preferences > Sharing and turn on Remote Login (but you'll want to > > do this only for administrators I assume..). > > > > The last thing was that apparently there is an incompatibility in the > > system installed apr and svn headers, which is fixed by using the headers > > from a brew installation of subversion. For me, I had to re-install the > > brew version before I could successfully point to them during > > configuration: > > > > $ brew unlink subversion > > $ brew install subversion > > $ ../configure CXXFLAGS=-Wno-deprecated-declarations --disable-python > > --disable-java --with-apr=/usr/local/opt/apr/libexec > > --with-svn=/usr/local/opt/subversion > > > > I figured this would be helpful to anyone else running into these issues, > > I'll update the getting started page to direct users towards these steps. > > > > Ben > > > --001a114029a2f4261f05429ef80a--