Xref: news2.mv.net comp.os.msdos.djgpp:7332 From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling from EMACS 19.31 Date: Thu, 15 Aug 1996 18:54:17 -0700 Organization: Three pounds of chaos and a pinch of salt Lines: 41 Message-ID: <3213D4C9.2809@cs.com> References: <4uv585$1jm AT mercury DOT dur DOT ac DOT uk> NNTP-Posting-Host: ppp217.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Peter Baxendale DJ-Gateway: from newsgroup comp.os.msdos.djgpp Peter Baxendale wrote: > > I built EMACS 19.31 using djgppv2. Most things seem ok but when I try to > compile I get the following in the compile window when it tries to run make: > > Searching for program: permission denied (EACCES), c:/command.com > > What does this mean and what can I do about it? I didn't have this problem with > the old (built using djgppv1) version of emacs. > > Sorry if this has been asked before, but I have searched faq2.01 and also scoured > the emacs distribution for any clues (honest). This problem (and one other in Emacs 19.31) is due to a bug in the _is_executable() library function in DJGPP. To properly compile Emacs with DJGPP v2, you need two patches, one to is_exec.c and the other to sigactio.c. Both are available from the DJGPP web site bug tracking system as the following URLs: http://www.delorie.com/djgpp/bugs/show.cgi?000090 (is_exec.c patch) http://www.delorie.com/djgpp/bugs/show.cgi?000091 (sigactio.c patch) Note: you need the library sources (djlsr200.zip) to compile these patches. If you just want the fixed files (they're quite small), you can look in the new Emacs 19.33 distribution which contains the files and, AFAIK, automagically compiles and applies them to libc.a. Barring that, email me and I'll send you the fixed files with instructions. :) HTH! John -- John M. Aldrich, aka Fighteer I -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W+>++ N++ o+ K? w(---) O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++ h!() !r !y+() ------END GEEK CODE BLOCK------