From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: gdb emacs no such file or directory gdb Date: Tue, 21 Oct 2014 18:15:12 +0200 Message-ID: <20141021161512.GA25664@chitra.no-ip.org> References: <862bfff5-fd71-40f4-afa3-ae22c7bac5af@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1413908156 28082 80.91.229.3 (21 Oct 2014 16:15:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2014 16:15:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 18:15:50 2014 Return-path: Envelope-to: geh-help-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 1Xgc69-000187-OR for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2014 18:15:49 +0200 Original-Received: from localhost ([::1]:52121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgc69-0000ps-AY for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2014 12:15:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgc5j-0000pj-D8 for help-gnu-emacs@gnu.org; Tue, 21 Oct 2014 12:15:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xgc5i-0007jQ-IS for help-gnu-emacs@gnu.org; Tue, 21 Oct 2014 12:15:23 -0400 Original-Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:52245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgc5i-0007jK-9s for help-gnu-emacs@gnu.org; Tue, 21 Oct 2014 12:15:22 -0400 Original-Received: by mail-wi0-f173.google.com with SMTP id fb4so10590051wid.12 for ; Tue, 21 Oct 2014 09:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=2uXxxHrEL3QXbOqFhRjxFu/qKh6galIjQMrDmOYtTWw=; b=KLEGEz++WsV7JRV7Z1hjS3Gqbw8h6DRKTLt37T2/d0+309pi+Pf8/CHfW5RlXbdicn aBHUAIqwkNSWx+E0/uoqsJ0EmroYTNtmG62LeV9VnSoxC9HH1hJ1aC6MJ9BaZcShTtaN lkUxgyK5gUQQag8q0wiZgn3l/1YbijcUYixc0c1HhZYhtyGhrat1r/ZJ8Z1zs/R7u9pY qEUK1X8NPc1b1uzyEtIOuavaGEX0sdjhsy+a+0wyqNTLrBckSrcClZIIhPJhQWYpEOI1 psR5dycomsaDO472SkZazPeIhwBJInPfR1IyQqiEeN2ouXqdeAAzl/QXsdXD6LczFT7F DoNA== X-Received: by 10.194.23.40 with SMTP id j8mr42154480wjf.77.1413908116026; Tue, 21 Oct 2014 09:15:16 -0700 (PDT) Original-Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by mx.google.com with ESMTPSA id t9sm15832404wjf.41.2014.10.21.09.15.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Oct 2014 09:15:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100529 Archived-At: On Tue, Oct 21, 2014 at 06:34:03AM -0700, Mike wrote: > On Tuesday, October 21, 2014 2:44:15 AM UTC-4, Suvayu Ali wrote: > > > > Maybe you can try something like this in your init file: > > > > ;; set PATH to use standalone texlive instead > > > > (setenv "PATH" "/opt/texlive/2014/bin/x86_64-linux:$PATH" t) > > > > Thank Suvayu for your reply. > In fact, I am migrating from windows (and Code Block) to mac (and Emacs), so I am quite new to OS X 10.10 and Emacs. > Could you please tell me how I can set the PATH as you said. > Thank you. What wrote above is emacs-lisp code which emacs understands. So you need to put that in your initialisation file. Usually it is ~/.emacs, if that is absent, ~/.emacs.d/init.el is used. If on your system you do not have the ~/.emacs file, just create a new one and the following line (after modifying the path appropriately). (setenv "PATH" "/path/to/bin:$PATH" t) So if you have gdb installed in /opt/local/bin, /path/to/bin should be /opt/local/bin. Hope this helps, -- Suvayu Open source is the future. It sets us free.