delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/07/07/18:15:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: rugxulo AT gmail DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ispell
Date: Sat, 7 Jul 2012 14:53:29 -0700 (PDT)
Organization: http://groups.google.com
Lines: 41
Message-ID: <699bd0e9-c832-4501-bdc7-b72d4caf747c@googlegroups.com>
References: <MPG DOT 2a61256b7098af43989680 AT news60 DOT forteinc DOT com> <83sjd412pe DOT fsf AT gnu DOT org>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1341698102 30456 127.0.0.1 (7 Jul 2012 21:55:02 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sat, 7 Jul 2012 21:55:02 +0000 (UTC)
Cc: djgpp AT delorie DOT com
In-Reply-To: <83sjd412pe.fsf@gnu.org>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
Bytes: 3335
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Saturday, July 7, 2012 1:54:05 AM UTC-5, Eli Zaretskii wrote:
> 
> Not sure what is going on.  One potential problem could be that you
> don't have any of the following environment variables defined: TMPDIR,
> TMP, TEMP.

I tested under FreeDOS, same problem, even with all of the above (TEMP TMP TMPDIR) set to "g:\tony".

> If none of these are defined, Emacs will try to open the
> temporary file in C:/temp, and if you don't have that, either, it will
> fail.  It will also fail if one of the above environment variables is
> set, but points to a non-existent directory.

It seems to only happen with SFNs. If I load DOSLFN, then "M-! blah.exe" works fine.

A quick grep shows callproc.c as the culprit for "detmp.xxx", but I have no idea how to fix whatever is causing this.

> djgpp.env, the file all DJGPP programs read to set up their
> environment, defines TMPDIR to point to the 'tmp' subdirectory of the
> directory where you have djgpp.env.  Could it be that this directory
> doesn't exist on those machines where you see the problem?

No, that's not the problem.

> If none of the above helps, I'm clueless.  If you can build Emacs
> yourself and you can debug the resulting binary with GDB, perhaps you
> could step through the code (I can tell you where exactly) and report
> what you see.

Tried several times to rebuild Emacs, didn't really work, had minor issues, and I always got stuck at "Compiling ../lisp/abbrev.el" and couldn't get past that. Tested GCC 3.4.4 and (Andris') 4.4.5.

I don't know, "make -n" isn't helpful here, and I keep occasionally running into "Descriptors exhausted". Silly me, I thought "HDPMI32 -r" would avoid that, but then it just rebooted, heh. :-P

> I myself don't have access to a plain DOS machine for a
> long time now, and can only run the DJGPP build of Emacs on Windows.

Yeah, that sucks, but you're too low on time anyways. I would suggest VirtualBox, but nowadays I think it's too buggy to be usable for DJGPP. Not honestly sure anymore, I don't use it much for DOS these days.

Anyways, I can try building it again, of course, in native FreeDOS, but I might need a few hints or tips as it doesn't seem to like me right now!! (Setting myself up for pain: maybe DOSEMU is better??? ....)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019