ulrich@gupu2:/opt/gupu/src/gprolog-1.4.0$ cd src ulrich@gupu2:/opt/gupu/src/gprolog-1.4.0/src$ ls AUTOCONF-INFO configure.in EngineFD Makefile.in SETVARS WINDOWS BipsFD CSHSETVARS EnginePl mkinstalldirs TopComp BipsPl debian Fd2C Pl2Wam VERSION config.guess DEVELOPMENT install-sh PORTING W32GUICons config.sub DISTRIB_FILES Linedit README Wam2Ma configure DOSSETVARS.BAT Ma2Asm RPM Win32 ulrich@gupu2:/opt/gupu/src/gprolog-1.4.0/src$ ./configure --prefix=/opt/gupu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ranlib... ranlib checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for socklen_t... yes checking if struct sigcontext needs asm/sigcontext.h... no checking for inline... inline checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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... yes checking for stdint.h... yes checking for unistd.h... yes checking size of long... 4 checking sys/ioctl_compat.h usability... no checking sys/ioctl_compat.h presence... no checking for sys/ioctl_compat.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking malloc.h usability... yes checking malloc.h presence... 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... yes checking for mprotect... yes checking for mallopt... yes checking for fgetc... yes checking for atanh... no checking for acosh... no checking for asinh... no checking for socket... yes checking for gethostbyname... yes DIRECTORIES --> Installation: /opt/gupu/gprolog-1.4.0 --> Link to binaries: /opt/gupu/bin --> Documentation: /opt/gupu/gprolog-1.4.0/doc --> HTML documentation: /opt/gupu/gprolog-1.4.0/doc/html_node --> Examples: /opt/gupu/gprolog-1.4.0/examples 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 Ma2Asm/FromC/Makefile config.status: creating Win32/Makefile config.status: creating Win32/gp-setup.iss config.status: creating EnginePl/gp_config.h ulrich@gupu2:/opt/gupu/src/gprolog-1.4.0/src$ make (cd EnginePl; make config) make[1]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/EnginePl' gcc -march=pentiumpro -O3 -fomit-frame-pointer -o pl_config pl_config.c ./pl_config ------------------------------- --- GNU PROLOG INSTALLATION --- ------------------------------- GNU Prolog version: 1.4.0 (Apr 2 2010) Operating system : linux-gnu Processor : i686 Size of a word : 32 bits C compiler : gcc C flags : -O3 -fomit-frame-pointer C flags machine : -march=pentiumpro 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 Working sigaction : Yes Used register(s) : ebx (TR) ------------------------------ (cd ../TopComp; make gplc) make[2]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/TopComp' gcc -march=pentiumpro -O3 -fomit-frame-pointer -o gplc top_comp.c -lm make[2]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/src/TopComp' make[1]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/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) || exit 1;\ (cd Pl2Wam; make stage2) make[1]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/TopComp' gcc -march=pentiumpro -O3 -fomit-frame-pointer -o hexgplc hexfilter.c make[1]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/src/TopComp' make[1]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/EnginePl' gcc -march=pentiumpro -O3 -fomit-frame-pointer -o cpp_headers cpp_headers.c gplc -c -C '-O3 -fomit-frame-pointer' machine.c gplc -c -C '-O3 -fomit-frame-pointer' machine1.c gplc -c -C '-O3 -fomit-frame-pointer' mem_alloc.c gplc -c -C '-O3 -fomit-frame-pointer' misc.c gplc -c -C '-O3 -fomit-frame-pointer' hash.c gplc -c -C '-O3 -fomit-frame-pointer' obj_chain.c gplc -c -C '-O3 -fomit-frame-pointer' engine.c gplc -c engine1.c gplc -c -C '-O3 -fomit-frame-pointer' wam_inst.c gplc -c -C '-O3 -fomit-frame-pointer' atom.c gplc -c -C '-O3 -fomit-frame-pointer' pred.c gplc -c -C '-O3 -fomit-frame-pointer' oper.c gplc -c -C '-O3 -fomit-frame-pointer' if_no_fd.c gplc -c -C '-O3 -fomit-frame-pointer' main.c rm -f libengine_pl.a ar rc libengine_pl.a machine.o machine1.o mem_alloc.o misc.o hash.o obj_chain.o engine.o engine1.o wam_inst.o atom.o pred.o oper.o if_no_fd.o main.o ranlib libengine_pl.a make[1]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/src/EnginePl' make[1]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/Wam2Ma' gcc -march=pentiumpro -O3 -fomit-frame-pointer -c wam2ma.c gcc -march=pentiumpro -O3 -fomit-frame-pointer -c wam_parser.c gcc -march=pentiumpro -O3 -fomit-frame-pointer -o wam2ma wam2ma.o wam_parser.o make[1]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/src/Wam2Ma' make[1]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/Ma2Asm' gcc -march=pentiumpro -O3 -fomit-frame-pointer -c ma2asm.c gcc -march=pentiumpro -O3 -fomit-frame-pointer -c ma_parser.c gcc -march=pentiumpro -O3 -fomit-frame-pointer -c ma2asm_inst.c gcc -march=pentiumpro -O3 -fomit-frame-pointer -o ma2asm ma2asm.o ma2asm_inst.o ma_parser.o make[1]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/src/Ma2Asm' make[1]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/Linedit' gcc -march=pentiumpro -c -O3 -fomit-frame-pointer linedit.c gcc -march=pentiumpro -c -O3 -fomit-frame-pointer terminal.c gcc -march=pentiumpro -c -O3 -fomit-frame-pointer ctrl_c.c rm -f liblinedit.a ar rc liblinedit.a linedit.o terminal.o ctrl_c.o ranlib liblinedit.a make[1]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/src/Linedit' make[1]: Entering directory `/opt/gupu/src/gprolog-1.4.0/src/BipsPl' gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' error_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' c_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' foreign_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' pred_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' term_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' stream_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' scan_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' parse_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' write_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' dynam_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' callinf_supp.c gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' bc_supp.c gplc -c foreign.wam gplc -c pl_error.wam gplc -c utils.wam gplc -c unify.wam gplc -c assert.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' assert_c.c gplc -c read.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' read_c.c gplc -c write.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' write_c.c gplc -c print.wam gplc -c const_io.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' const_io_c.c gplc -c oper.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' oper_c.c gplc -c pred.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' pred_c.c gplc -c atom.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' atom_c.c gplc -c control.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' control_c.c gplc -c call.wam gplc -c call_args.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' call_args_c.c gplc -c catch.wam gplc -c throw.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' throw_c.c gplc -c flag.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' flag_c.c gplc -c arith_inl.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' arith_inl_c.c gplc -c type_inl.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' type_inl_c.c gplc -c term_inl.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' term_inl_c.c gplc -c g_var_inl.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' g_var_inl_c.c gplc -c all_solut.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' all_solut_c.c gplc -c sort.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' sort_c.c gplc -c list.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' list_c.c gplc -c stat.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' stat_c.c gplc -c stream.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' stream_c.c gplc -c file.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' file_c.c gplc -c char_io.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' char_io_c.c gplc -c dec10io.wam gplc -c format.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' format_c.c gplc -c os_interf.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' os_interf_c.c gplc -c expand.wam gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' expand_c.c gplc -W --no-redef-error consult.pl gplc -c consult.wam line 10: atom expected predicate('$use_consult'/0,29,static,private,built_in,[ ^ here Translation aborted compilation failed make[1]: *** [consult.o] Error 1 make[1]: Leaving directory `/opt/gupu/src/gprolog-1.4.0/src/BipsPl' make: *** [all] Error 1 ulrich@gupu2:/opt/gupu/src/gprolog-1.4.0/src$