$ ./configure checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... .exe checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/local/bin/install -c checking whether ln -s works... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... yes checking for long... yes checking size of long... 4 checking for sys/ioctl_compat.h... no checking for termios.h... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for mallopt... no checking for fgetc... yes checking for gcc option to accept ANSI C... none needed checking for inline... inline use ebp and move -fomit-frame-pointer to CFLAGS_MACHINE checking for socket... yes checking for gethostbyname... yes DIRECTORIES --> Installation: /usr/local/gprolog-1.2.14 --> Link to binaries: /usr/local/bin --> Documentation: /usr/local/gprolog-1.2.14/doc --> HTML documentation: /usr/local/gprolog-1.2.14/doc/Html --> Examples: /usr/local/gprolog-1.2.14 configure: creating ./config.status config.status: creating Makefile config.status: creating TopComp/Makefile config.status: creating Pl2Wam/Makefile config.status: creating Wam2Ma/Makefile config.status: creating Ma2Asm/Makefile config.status: creating Fd2C/Makefile config.status: creating Linedit/Makefile config.status: creating W32GUICons/Makefile config.status: creating EnginePl/Makefile config.status: creating BipsPl/Makefile config.status: creating EngineFD/Makefile config.status: creating BipsFD/Makefile config.status: creating EnginePl/gp_config.h $ make (cd EnginePl; make config) make[1]: Entering directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/EnginePl' gcc -O3 -o pl_config.exe pl_config.c ./pl_config.exe ------------------------------- --- GNU PROLOG INSTALLATION --- ------------------------------- GNU Prolog version: 1.2.14 (Jun 20 2002) Operating system : cygwin Processor : i686 Size of a word : 32 bits C compiler : gcc C flags : -O3 C flags machine : -mcpu=pentiumpro -fomit-frame-pointer Loader flags : Loader libraries : -lm Use line editor : Yes Use piped consult : Yes Use sockets : Yes Use FD solver : Yes Use fast call : Yes Use machine regs. : Yes Used register(s) : ebx ebp ------------------------------ (cd ../TopComp; make gplc.exe) make[2]: Entering directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/TopComp' gcc -O3 -o gplc.exe top_comp.c -lm make[2]: Leaving directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/TopComp' make[1]: Leaving directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/EnginePl' . ./SETVARS;for i in TopComp EnginePl Wam2Ma Ma2Asm Linedit BipsPl Pl2Wam Fd2C EngineFD BipsFD;do (cd $i; make) || exit 1; done;\ (cd TopComp; make gprolog.exe) make[1]: Entering directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/TopComp' gcc -O3 -o hexgplc.exe hexfilter.c make[1]: Leaving directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/TopComp' make[1]: Entering directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/EnginePl' gcc -O3 cpp_headers.c -o cpp_headers D=`(cd ..;for i in *;do test -d $i && X="$X c:\My Documents\Build\gprolog-1.2.14/src/$i";done;echo $X)`; ./cpp_headers headers.h gprolog.h $D Cannot find the location of headers.h make[1]: *** [gprolog.h] Error 1 make[1]: Leaving directory `/cygdrive/c/My Documents/Build/gprolog-1.2.14/src/EnginePl' make: *** [all] Error 1