From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Constantine Vetoshev Newsgroups: gmane.emacs.bugs Subject: bug#18779: 24.4; Compilation error on Mac OS X Yosemite Date: Mon, 20 Oct 2014 14:21:29 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1413840195 28914 80.91.229.3 (20 Oct 2014 21:23:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 21:23:15 +0000 (UTC) To: 18779@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 23:23:08 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XgKPz-0000Sk-Uq for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 23:23:08 +0200 Original-Received: from localhost ([::1]:46886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgKPz-0002eY-Fh for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 17:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgKPv-0002eS-Qj for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 17:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgKPu-0000nM-Se for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 17:23:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgKPu-0000nB-Pd for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 17:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgKPu-000762-Bt for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 17:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Constantine Vetoshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Oct 2014 21:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141384012127178 (code B ref -1); Mon, 20 Oct 2014 21:23:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Oct 2014 21:22:01 +0000 Original-Received: from localhost ([127.0.0.1]:57549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgKOv-00074E-7W for submit@debbugs.gnu.org; Mon, 20 Oct 2014 17:22:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48763) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgKOt-000741-Vi for submit@debbugs.gnu.org; Mon, 20 Oct 2014 17:22:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgKOo-0008SS-0G for submit@debbugs.gnu.org; Mon, 20 Oct 2014 17:21:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgKOn-0008SO-Uh for submit@debbugs.gnu.org; Mon, 20 Oct 2014 17:21:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgKOn-0002Y3-2i for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 17:21:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgKOm-0008S0-4u for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 17:21:53 -0400 Original-Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:34704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgKOl-0008Rb-T8 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 17:21:52 -0400 Original-Received: by mail-lb0-f181.google.com with SMTP id l4so4586842lbv.26 for ; Mon, 20 Oct 2014 14:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=VUtV3OVnNOr1Vj8NV0dvpoJMCS8kFwHgjY1lN1SFJkE=; b=HakqwtEjUvQ4Ky3GP+1ssnLav4CN7WiCLLOmTltTTvW1nTUImQ/hSspZz9v164X86S LiARREKPbo3cZ1UxjHsAflUH1jlMgkvNjmf5/h7P680nQBwogqelxrajb0wPTMNXLA+D 9T8GhJYxM6eZSPStTCCpvWPD9jONhT6K3cfNzkhnDC67FAa+VYy6Nl4wzav6NR09YXXM /02FqObCBaN5Z6CQi51aOvk6EDBu4PURYqz1hkRJncWfucYhZBD7MInO54DqMXmJlLRW RGdS9PXJwUKB7RzccKo64//DXB1p35yEVp4qSbjekX9fkPNEbZ5TwEq9oHMZSDZBKk33 E+HQ== X-Received: by 10.152.88.105 with SMTP id bf9mr30408861lab.30.1413840110037; Mon, 20 Oct 2014 14:21:50 -0700 (PDT) Original-Received: by 10.112.13.34 with HTTP; Mon, 20 Oct 2014 14:21:29 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94846 I think something changed between 10.9 (Mavericks) and 10.10 (Yosemite) with include file locations. After running "./configure --with-ns && make install", the build proceeds until: gcc -c -Demacs -I. -I. -I../lib -I./../lib -I/usr/include/libxml2 -MMD -MF deps/xml.d -MP -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-pointer-sign -g3 -O2 xml.c xml.c:23:10: fatal error: 'libxml/tree.h' file not found #include ^ 1 error generated. make[1]: *** [xml.o] Error 1 make: *** [src] Error 2 With the latest Xcode 6.1, symlinking /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include to /usr/include makes the compilation error go away. The compiled binary seems to work.