From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Tue, 20 Nov 2018 19:47:29 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1542710820 14827 195.159.176.226 (20 Nov 2018 10:47:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 10:47:00 +0000 (UTC) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: emacs-devel@gnu.org To: Aaron Madlon-Kay Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 20 11:46:56 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 1gP3YV-0003k0-1r for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2018 11:46:55 +0100 Original-Received: from localhost ([::1]:32981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP3ab-0004ci-B1 for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2018 05:49:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP3ZD-0003dk-4Y for emacs-devel@gnu.org; Tue, 20 Nov 2018 05:47:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP3Z8-00032R-Kv for emacs-devel@gnu.org; Tue, 20 Nov 2018 05:47:39 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:62148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP3Z8-0002xR-76 for emacs-devel@gnu.org; Tue, 20 Nov 2018 05:47:34 -0500 Original-Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 1C363F08F9; Tue, 20 Nov 2018 19:47:29 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 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:231246 Archived-At: On Tue, 20 Nov 2018 10:07:11 +0900, Aaron Madlon-Kay wrote: > > > 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. Oh, I thought macOS_SDK_headers_for_macOS_10.14.pkg would only install header files into /usr/include, but that is not the case actually. Thanks for clarifying this. Never mind about renaming /usr/include. I hope there is a way to uninstall Command Line Tools (macOS 10.13) for Xcode 10.1 without resorting to macOS_SDK_headers_for_macOS_10.14.pkg. > > 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.) Thanks. There seems to be no problem with them. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp