From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Compilation failure on macOS 10.15 Catalina Date: Thu, 26 Sep 2019 10:34:08 +0200 Message-ID: References: <83sgoloedi.fsf@gnu.org> <658AF539-1AE7-459D-94C7-44970AA94EEF@acm.org> <83impho4s8.fsf@gnu.org> <4FAEE347-0F67-426F-AA0D-3DB15E3907DC@acm.org> <83pnjomn0s.fsf@gnu.org> <261D4586-212E-4032-9E14-B952A3F63CF0@zjp.codes> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="103189"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Zach Pearson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 26 10:35:38 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDPFO-000QWr-Py for ged-emacs-devel@m.gmane.org; Thu, 26 Sep 2019 10:35:34 +0200 Original-Received: from localhost ([::1]:60826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDPFN-0003Pq-83 for ged-emacs-devel@m.gmane.org; Thu, 26 Sep 2019 04:35:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43889) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDPF8-0003NI-3p for emacs-devel@gnu.org; Thu, 26 Sep 2019 04:35:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDPF5-0001tK-7d for emacs-devel@gnu.org; Thu, 26 Sep 2019 04:35:17 -0400 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:51554) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDPF5-0001nX-01 for emacs-devel@gnu.org; Thu, 26 Sep 2019 04:35:15 -0400 Original-Received: by mail-wm1-f47.google.com with SMTP id 7so1666432wme.1 for ; Thu, 26 Sep 2019 01:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=lS8I9CtxC2ckN290o7RMwLxHLdvR31rimJPTam9yWpk=; b=sDvS/7KCOHL5SoCW/teM04i9akV4OfWmy50lNIf25lv+/HuxTxoFt7thiAy9v3j9r8 KMstGXU8cUdn5Wa8QFXtrrIymeonhrIUs8UA1qhq+UKLweeDg1cNHycUxfJneJzVExsd ztyqsIPnaFx8206tHlPmyYI9zbNDHohoIQVOA8n5ZBNNbYK2DCbxmcevvX36c5irgDch Fb1WQTohBNHSB9cFR0fbvCfroZRVzpP2i8jdmKRxsr2uH2V7Ht1GmXTZGduXfff90GPs jiGS9ovcqjoqzIlJSY/q2gSRiaMjDBqbBcDuoI973CEJyhZCtyxZOxuqPY924c6RXC1u Gswg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=lS8I9CtxC2ckN290o7RMwLxHLdvR31rimJPTam9yWpk=; b=trKPshDu//ZHMmvX0Lh4SQuhtjdpeAhwXp1Ju8XxGCzGL+h1RiZtycEmUC0V1/N/WP yQY6owsgNYNEDvEw/rWZWm/jrho8RFSmLKJjdb2HFeHwljBz0/QFzup7GNWdIETlMlql RKTUFLAaRDFC3BVSZDhebmfXVxmr7nvjSTL7KFhwd/BQRS+qzhY44MXvGiBstz6TNSBb IfOvc7RYrIE1DG33hilPtMl3CyZ7s/gBLqHlTKC8MPQ+nU7MwVDl75jaHaMo7FTU37vs FOqAglzL0lXGjb5YxPKXisrQfnLH6D/S77zez0rwQpGagEy+QSl0bNb+M/0PpePMNxF5 8N3g== X-Gm-Message-State: APjAAAUc5s+Remx0Za4rn04rOM9PjCC1uO+OKf58MvIiErmxRJ/OODe1 y56QP0/5jKZbVJx3EigpzgJGsKxy X-Google-Smtp-Source: APXvYqy0VKdAlN0b0duatIQSnvdZkc/y4Ecr2g1WWZuFnPO24xh4Dxad3ZqWXtUZKvE2YIN0LdhOIQ== X-Received: by 2002:a1c:f714:: with SMTP id v20mr2038925wmh.55.1569486850543; Thu, 26 Sep 2019 01:34:10 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id c6sm1447765wrm.71.2019.09.26.01.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 01:34:09 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <261D4586-212E-4032-9E14-B952A3F63CF0@zjp.codes> (Zach Pearson's message of "Wed, 25 Sep 2019 14:55:03 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.128.47 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:240300 Archived-At: >>>>> On Wed, 25 Sep 2019 14:55:03 -0500, Zach Pearson sai= d: Zach> I think that Apple has changed the way the Xcode command line too= ls arrange headers on the system e.g. they are no longer put into /usr/incl= ude but exist in=20 Zach> /Library/Developer/CommandLineTools/usr/include/ Zach> Because of this Emacs cannot find libxml/tree.h during the compil= ation process.=20 Zach> I=E2=80=99ve found that adding this directory to ac_x_header_dirs= in Zach> configure, then re-running ./configure, the trying to compile all= ows Zach> the program to build (the compiler output notes some deprecations= but Zach> they=E2=80=99re just warnings). Is this a patch that should be up= stream? Zach> Thanks for any guidance/feedback. I=E2=80=99m not sure if this is= a permanent change and Apple intended for it to be that way or not.=20 When this happens, which seems to be with every new Xcode release, I do $ cd /Library/Developer/CommandLineTools/Packages/ $ ls macOS_SDK_headers_for_macOS_10.14.pkg And then I run that .pkg file, which ends up producing: /usr/include/libxml2/libxml/tree.h Robert