Mail Archives: djgpp/1999/08/08/11:52:10
On Fri, 6 Aug 1999, Dave Pearson wrote:
> I just attempted to configure and build the 20.4 sources but ran into the
> following problem:
>
> ,----
> | C:\usr\emacs\emacs-20.4> config msdos
> | Checking whether 'sed' is available...
> | Checking whether 'rm' is available...
> | Checking whether 'mv' is available...
> | Checking whether 'gcc' is available...
> | Checking what version of DJGPP is installed...
> | Configuring for DJGPP Version 2 ...
> | Configuring the source directory...
> | junk.c:60: config.h: No such file or directory (ENOENT)
> | Configuring the library source directory...
> | junk.c:136: ../src/config.h: No such file or directory (ENOENT)
> | Configuring the manual directory...
> | Configuring the main directory...
> | Looking for the GDB init file...
> | Looking for the GDB init file...found
> `----
One possibility is that you have some incompatible version of Sed.
Please make sure you use GNU Sed compiled with DJGPP v2. Or perhaps
you don't have the program `update' that is part of djdevNNN.zip
distribution (`update' is used in producing src/config.h, see below).
Another possibility is that you are using a shell that is not the
stock COMMAND.COM. Please run config.bat under COMMAND.COM only.
If that doesn't help, look at config.bat and try to figure out why
config.h isn't created. It is generated by this snippet, which runs
*before* junk.c is created and passed to the preprocessor:
rem Create "config.h"
rm -f config.h2 config.tmp
sed -e '' config.in > config.tmp
if "%X11%" == "" goto src4
sed -f ../msdos/sed2x.inp <config.in >config.tmp
:src4
sed -f ../msdos/sed2.inp <config.tmp >config.h2
update config.h2 config.h >nul
rm -f config.tmp config.h2
- Raw text -