Mail Archives: djgpp/2012/07/07/18:15:24
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 -