From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aaron Madlon-Kay Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Tue, 20 Nov 2018 10:07:11 +0900 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1542675937 31681 195.159.176.226 (20 Nov 2018 01:05:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 01:05:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Mitsuharu YAMAMOTO Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 20 02:05:33 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOuTs-00087w-JG for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2018 02:05:32 +0100 Original-Received: from localhost ([::1]:59709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOuVy-00045G-Vd for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2018 20:07:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOuVh-00043X-4D for emacs-devel@gnu.org; Mon, 19 Nov 2018 20:07:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOuVg-0000fs-8j for emacs-devel@gnu.org; Mon, 19 Nov 2018 20:07:25 -0500 Original-Received: from mail-it1-x12e.google.com ([2607:f8b0:4864:20::12e]:54413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOuVg-0000eU-2C for emacs-devel@gnu.org; Mon, 19 Nov 2018 20:07:24 -0500 Original-Received: by mail-it1-x12e.google.com with SMTP id a205-v6so987701itd.4 for ; Mon, 19 Nov 2018 17:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=madlon-kay.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tjzx03qkURa+Sj9mSgebmj4NqJAeUv7Lz6HUlAQoyJ4=; b=q8MZKWZowxG5MiSHWyNJdYr+Aclk4vrLPmvZXknoxkeHjXucSodkqC+W7fwP1f64UC StBSiQ6vyzoNL6AYNU44v44MXfzFGrjh04V+8OVdA9qcVIor8UQ/Kbj5LToBhE8JmLhC ND6y+yc+XsYccZM2EZbmd4tgRzknCQ4aiiIX4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tjzx03qkURa+Sj9mSgebmj4NqJAeUv7Lz6HUlAQoyJ4=; b=SP7ocnKeH9dAbOaMrjWrf7yvIfqO99Dbg3PSBVI69fEReNTmeBHkVyNVvuLXrQJ+Ma lb6sP6IQopA55V+tB1PMx+viJy0DtSKt6qbpu2IjZ3GkWtazyHsysES3dsMnucQlUCLf /N4r9UUxUdkW7lQNHBQBHU8YrQqt8zgnX6QdceNlFJWcaD0i4skq4WQORAEtZeuzHD1S IB1axcaFwGWgnxBFPZ/W2e+wkDEGHRSxzawu4ca8rN6S4fHFja7ZOUgETJRJKXzeeELp x4acTzL2jozPw/S339YKeDKuWHMgWaIZZISLWFDtT9Iwdj2TmJAlsyqRt/cjIqvn+HHy Tp7w== X-Gm-Message-State: AGRZ1gLdZB5uG4ijpzV5vJuNG23zQ2gv1LZszJe6WlZ+XYg0z+Ftv8x9 4BerS0a9qU1nwOzk9B0P0GsShTpE7pOBxJIMsskN+OGA6d4= X-Google-Smtp-Source: AJdET5d+gLUnuE9sB6FAlPO9tebIjvKfsceg+QDZAwkPXsjykjGp7voB4yq55iAHQqRvvmXux4mjSkMZRCHnbp/SyM8= X-Received: by 2002:a02:bb9a:: with SMTP id g26mr4543jan.44.1542676042912; Mon, 19 Nov 2018 17:07:22 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::12e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231241 Archived-At: (Resending to list as well; apologies to Mr. Yamamoto.) > It is supposed to build without /usr/include My understanding is that it's not /usr/include that was the problem, but rather headers in /System/Library/Frameworks and /System/Library/PrivateFrameworks that were bad. The High Sierra CLI tools package installs these, whereas the Mojave package does not, thus requiring macOS_SDK_headers_for_macOS_10.14.pkg to fix. > You seem to use MacPorts rather than Homebrew. Could you send me the > exact error messages when building the Mac port after temporary > renaming /usr/include to some other name? macOS's SIP (https://en.wikipedia.org/wiki/System_Integrity_Protection) prevents me from merely renaming /usr/include, and it's a pain to turn on and off, so I apologize but I'm not willing to do this. > Also, please show me the output of the following commands: Sure: $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17" -I/opt/local/include/libxml2 -L/opt/local/lib -lxml2 $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17" /opt/local/lib/pkgconfig (MacPorts as a rule requires dependencies to come from other MacPorts packages; the emacs-mac-app port depends on the libxml2 port, which would be installed in /opt/local, so as far as I can tell this output is correct.) -Aaron