From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: removing old installations Date: Sat, 25 Jun 2011 15:57:39 -0700 Message-ID: <87mxh5frj0.fsf@ericabrahamsen.net> References: <87ei2hizlt.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1309042770 26929 80.91.229.12 (25 Jun 2011 22:59:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2011 22:59:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 26 00:59:23 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qabox-0000P0-Dv for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jun 2011 00:59:23 +0200 Original-Received: from localhost ([::1]:33543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qabow-0002PN-Nl for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2011 18:59:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qabnc-0002Oz-KS for help-gnu-emacs@gnu.org; Sat, 25 Jun 2011 18:58:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qabna-00009X-JQ for help-gnu-emacs@gnu.org; Sat, 25 Jun 2011 18:58:00 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qabna-000094-A3 for help-gnu-emacs@gnu.org; Sat, 25 Jun 2011 18:57:58 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QabnY-0008Nn-Sz for help-gnu-emacs@gnu.org; Sun, 26 Jun 2011 00:57:56 +0200 Original-Received: from c-71-227-187-115.hsd1.wa.comcast.net ([71.227.187.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2011 00:57:56 +0200 Original-Received: from eric by c-71-227-187-115.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jun 2011 00:57:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-227-187-115.hsd1.wa.comcast.net User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:Q52Hm5NlE6UweBb2dToJdTUb7iI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:81444 Archived-At: On Sat, Jun 25 2011, Peter Dyballa wrote: > Am 25.06.2011 um 19:34 schrieb Eric Abrahamsen: > >> Given that no other "emacs" executables are on my system (at least, to >> the best of my knowledge, and I spent a while rooting them out), what >> other leftover files could be confusing my present installation? > > > With locate (or find) you can find all instances of "emacs" and also > "emacs-23.2" and "emacs-24.0.50" and remove them. The same for the > version sub-directories "23.2" and "24.0.50" in > /usr/local/libexec/emacs and /usr/local/share/emacs. > > You can launch that "emacs" binary in your PATH and choose from the > Help menu "Send Bug Report…" or type M-x report-emacs-bug RET. In the > *unsent mail to bug-gnu-emacs@gnu.org* buffer you'll find a text > describing where and how this "emacs" was built. > > Finally you can use the trace utilities to see which files and > directories these "emacs" executable files open. Thanks for these tips! If you have a moment I hope you'll look at this one step further. I'm quite sure I've removed everything emacs-related from /usr/local/*. One odd thing is, my emacs man file is located at /usr/share/man/man1/emacs.1.gz (symlinked from /etc/alternatives/emacs.1.gz), but within the FILES section of that man page, it gives all the emacs-related paths as /usr/local/*. Not sure what that's about. The bug report data shows that emacs was compiled by Debian. I note that --enable-locallisppath includes, among many other paths, the two paths that emacs complains about when it's run from the command line. Among the voluminous output of strace is: access("/usr/local/share/emacs/23.2/site-lisp", F_OK) = -1 ENOENT (No such file or directory) write(2, "Warning: Lisp directory `/usr/lo"..., 80) = 80 access("/usr/local/share/emacs/site-lisp", F_OK) = -1 ENOENT (No such file or directory) write(2, "Warning: Lisp directory `/usr/lo"..., 75) = 75 But the same trace is absolutely stuffed with stat64 calls to half a million non-existent files and directories (including lots of /usr/local stuff), so I don't know why that should merit an error. If you or anyone else is really interested, I've put a large chunk of the trace here: http://pastebin.com/paWFrRGh Is my only problem that emacs was compiled with some non-existent directories in the lisploadpath? Thanks, Eric