Mail Archives: djgpp-workers/2001/03/12/09:30:29
On Mon, 12 Mar 2001, Juan Manuel Guerrero wrote:
> 3) ./tests/Makefile.am
> The testsuit dies with the following error message:
> Making check in tests
> make.exe[1]: Entering directory `z:/_/gettext-/tests'
> gcc -g -O2 tstgettext.c -o tstgettext
> In file included from tstgettext.c:3:
> ../src/gettext.c:23: getopt.h: No such file or directory (ENOENT)
> In file included from tstgettext.c:3:
> ../src/gettext.c:28: error.h: No such file or directory (ENOENT)
> ../src/gettext.c:29: system.h: No such file or directory (ENOENT)
> ../src/gettext.c:37: libgnuintl.h: No such file or directory (ENOENT)
> make.exe[1]: *** [tstgettext] Error 1
> make.exe[1]: *** No rule to make target `cake', needed by `all-local'.
> make.exe[1]: Target `check' not remade because of errors.
> make.exe[1]: Leaving directory `z:/_/gettext-/tests'
> make.exe[1]: Entering directory `z:/_/gettext-'
> make.exe[1]: Leaving directory `z:/_/gettext-'
> make.exe: *** [check-recursive] Error 1
> make.exe: Target `check' not remade because of errors.
>
> The reason for this can be found in tests/Makefile.am. There appeares the
> following line:
> EXTRA_PROGRAMS = tstgettext cake
>
> That line must look like this:
> EXTRA_PROGRAMS = tstgettext$(EXEEXT) cake$(EXEEXT)
I don't understand: the failure above seems to be a compile time failure
(some of the header files are not found), not a run-time failure. So how
can EXEEXT be connected to this? I'd suspect some snafu with -I switch
passed (or which should have been passed) to the compiler.
> IMHO, all MSDOS batch files in a GNU distribution should be converted to
> MSDOS style EOL or they are simple useless.
Correct. All the other GNU packages which support DJGPP store the batch
files with DOS CR-LF EOL format. If this is not done, command.com will
not run them.
- Raw text -