🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87681

[ericx@wizardz.com: Re: emacs 19.25]

#87681
From: Daniel Hagerty
Date: Fri, 09 Sep 1994 14:55
51 lines
2745 bytes
	I'm forwarding this for a friend. Seems that emacs has
problems when the --srcdir option to configure has a trailing slash on
it because of the way emacs interprets paths.

### BEGIN INCLUDED MESSAGE ###
Date: Thu, 8 Sep 1994 23:54:07 -0500
To: Daniel Hagerty <hag@gnu.ai.mit.edu>
From: "Eric W. Bates" <ericx@wizardz.com>
Subject: Re: emacs 19.25


./temacs -batch -l loadup dump
Cannot open load file: loadup
make[1]: *** [emacs] Error 255
make[1]: Leaving directory `/usr/local/src/emacs-19.25/src'
make: *** [src] Error 2

Well, not quite.  I did create the two directories in question and the
warnings disappeared, but it still failed.  Next I gave the full path name
to the file (I assume .el is appended by emacs), but that failed too:

outland$ ./temacs -batch -l /floppy/Untitled/emacs-19.25/lisp/loadup dump
Loading /floppy/Untitled/emacs-19.25/lisp/loadup...
Using load-path (/floppy/Untitled/emacs-19.25//lisp)
Cannot open load file: subr


outland$ find subr
/floppy/Untitled/emacs-19.25/lisp/subr.el
/floppy/Untitled/emacs-19.25/lisp/subr.elc


Clearly there is a path name problem.  Maybe it is the double slash?


HEY!  It loadeth as we speak!  You might pass this very minor bug onto
whomever writes the installs.  If yopass to configure
--srcdir="[pathname]" and the path ends in a '/' (eg. if you're lazy and
let bash complete the path name for you) all related source paths get a
double '/' between the srcdir and the next directory.  This is ok for the
compile but if

#define PATH_DUMPLOADSEARCH "/floppy/Untitled/emacs-19.25//lisp"

is defined with a double slash then temacs can't find any of its sources.

-- 
 Hag %%%%%%%%%%%%%%%%%%% Project GNU Sysadmin %%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Daniel Hagerty; <hag@gnu.ai.mit.edu>; Tel: +1 (617) 253-8568 %
%    Snail Mail: NE43-426; 545 Tech Sq.; Cambridge, MA 02139, USA   %
%%%%%%%%%%%%%%%%%%%%%%%%%% PGP Spoken Here %%%%%%%%%%%%%%%%%%%%%%%%%%
Technical Details
Message-ID: <9409091452.AA00304@mole.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!hag

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,5ebb6d731488e7e4,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-10 06:44:50 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!hag
From: hag@gnu.ai.mit.edu (Daniel Hagerty)
Newsgroups: gnu.emacs.bug
Subject: [ericx@wizardz.com: Re: emacs 19.25]
Date: 9 Sep 1994 10:55:44 -0400
Organization: Project GNU, Free Software Foundation,
 675 Massachusetts Ave., Cambridge, MA  02139-3309, USA +1-617-876-3296
Lines: 51
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409091452.AA00304@mole.gnu.ai.mit.edu>
Reply-To: Daniel Hagerty <hag@gnu.ai.mit.edu>