From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Bug? Problem compiling git - Cannot open file: avl Date: Mon, 06 Jan 2014 19:18:38 +0100 Message-ID: <87a9f99doh.fsf@Rainer.invalid> References: <52CA707C.6080409@krugs.de> <87ppo5la88.fsf@bzg.ath.cx> <52CA7F5C.6080409@krugs.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0ElO-0005hW-TF for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 13:19:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0ElJ-0001M1-5L for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 13:18:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:35679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0ElI-0001Lv-V9 for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 13:18:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W0ElF-0004zx-NN for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 19:18:49 +0100 Received: from pd9eb0c6f.dip0.t-ipconnect.de ([217.235.12.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jan 2014 19:18:49 +0100 Received: from Stromeko by pd9eb0c6f.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jan 2014 19:18:49 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer M Krug writes: > The problem seems to been that > > a) in my PATH, the /usr/bin (where the build in is located) comes > before /usr/local/bin (where the homebrew is installed). Except when root, it is almost always wrong to have /usr/local/bin after any system paths. > b) I have set an alias in bash, so that emacs calls the homebrew > version Depending on where and how you define that alias, sub-shells may or may not see it. It is generally a bad idea to rely on aliases for anything but interactive work. > c) the make script somehow does use the PATH but not the alias. Not if EMACS is defined with an absolute path in local.mk. Also, emacs should actually be a link to emacs-maj.min (where maj.min denotes Emacs' version), so if you want to use a specific Emacs rather than the default, you should again define this in local.mk. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada