From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Installing auctex from source Date: Tue, 24 Feb 2009 16:34:27 +0100 Organization: Organization?!? Message-ID: <85iqmzrgqk.fsf@lola.goethe.zz> References: <94766835-f8a9-41d0-9787-be5bbaf6d127@v38g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235490178 22768 80.91.229.12 (24 Feb 2009 15:42:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2009 15:42:58 +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 Feb 24 16:44:14 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LbzRl-0006qI-Hl for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 16:43:49 +0100 Original-Received: from localhost ([127.0.0.1]:34832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbzQQ-0007Dn-U4 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 10:42:26 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:2nNY0xIOQ03juIGRrl6canMeVnA= Original-Lines: 28 Original-NNTP-Posting-Date: 24 Feb 2009 16:34:27 CET Original-NNTP-Posting-Host: 2aa229db.newsspool2.arcor-online.net Original-X-Trace: DXC=dmg@69JmGJdeoCI^f\Y]EaA9EHlD; 3Ycb4Fo<]lROoRa^YC2XCjHcbi@Y7`HSTKM\nCV`H8_`hhQd^9QSCVg3dOfOIC5DBZVJ9kH=g9; _S`9ei\AmkFVkVQVi Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: news.stanford.edu gnu.emacs.help:167024 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62326 Archived-At: Peter Dyballa writes: > Am 23.02.2009 um 07:34 schrieb smanek: > >> Running `LaTeX' on `ps0' with ``latex -interaction=nonstopmode >> "\input" document.tex'' >> /bin/sh: latex: not found > > > Obviously GNU Emacs does not know where to search for the latex > executable. It calls a shell to do the search. > This means that the process environment in which GNU Emacs runs does > not have an environment variable PATH that contains the path to latex > as one of many elements. The reason is that the complete value of PATH > (or $PATH) was not inherited from whatever launched GNU Emacs. > > The cure is: correct GNU Emacs launch. > Or correct the value of the GNU Emacs variable exec-path (to contain > also the path to latex). That does not help since the shell uses PATH, not exec-path, for figuring out the location of latex. -- David Kastrup