Problems compiling 19c on RH 7.2

"Kowalik, Yarek" <[email protected]>
Newsgroups gmane.lisp.cmucl.general,gmane.lisp.cmucl.devel
Message-ID <0C0A43AC66E6124081F41610A0B22DFA04F8CA97@exchg-sea3-01.ant.amazon.com>

Ok, I am a total and complete newbie to Lisp world and CMUCL. 

I am trying to recompile 19c on RH 7.2, mostly to experiment with so that I can repeat the process later on an Ubuntu box (running Ubuntu 64-bit on dual core AMD64 with openmotif - need to recompile on Ubuntu because I can't launch motifd - seems libXm.so.2 from lesstif2 is incompatible and can't be loaded for some unknown reason).

Anyway, RH 7.2 is all I got at the moment... so I am experimenting with the rebuild process and I am running into a problem.  Here is what's happening.

1. I have a standard 19c build deployed
2. I am following instructions on how to build from the src/BUILDING file.  I run this command:

% src/tools/build.sh -C "" -o "/usr/bin/lisp"

And it all goes well until it gets to this point:


[....]
target:compiler/generic/new-genesis
target:compiler/eval-comp
target:compiler/eval
target:compiler/byte-comp
T
* 
; Loading #P"/workplace/software/cmucl/src/tools/pclcom.lisp".
;; Loading #P"/workplace/software/cmucl/build-2/code/misc.x86f".
* Received EOF on *standard-input*, switching to *terminal-io*.



At which point I don't know what to do.  When I type "(quit)" I get these errors:





%primitive halt called; the party is over.
LDB monitor
ldb> 
EOF on something other than a tty.
166.56user 8.17system 4:09.16elapsed 70%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (6299major+1227928minor)pagefaults 0swaps
Makefile:62: Depends: No such file or directory
gcc -MM -E  -rdynamic -Wstrict-prototypes -Wall -g   -D__NO_CTYPE -I. -I../../src/lisp -I- -I/usr/X11R6/include   ../../src/lisp/lisp.c ../../src/lisp/coreparse.c ../../src/lisp/alloc.c ../../src/lisp/monitor.c ../../src/lisp/print.c ../../src/lisp/interr.c ../../src/lisp/vars.c ../../src/lisp/parse.c ../../src/lisp/interrupt.c ../../src/lisp/search.c ../../src/lisp/validate.c ../../src/lisp/globals.c ../../src/lisp/dynbind.c ../../src/lisp/breakpoint.c ../../src/lisp/regnames.c ../../src/lisp/backtrace.c ../../src/lisp/save.c ../../src/lisp/purify.c ../../src/lisp/socket.c ../../src/lisp/runprog.c ../../src/lisp/time.c ../../src/lisp/x86-arch.c ../../src/lisp/x86-assem.S ../../src/lisp/linux-stubs.S ../../src/lisp/Linux-os.c ../../src/lisp/os-common.c ../../src/lisp/elf.c ../../src/lisp/gc.c > ,depends
In file included from ../../src/lisp/lisp.c:19:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/coreparse.c:15:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/alloc.c:6:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/monitor.c:13:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/print.c:7:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/interr.c:16:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/parse.c:10:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/interrupt.c:13:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/search.c:12:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/validate.c:19:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/globals.c:8:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/dynbind.c:8:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/breakpoint.c:15:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/backtrace.c:9:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/save.c:17:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/purify.c:24:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/x86-arch.c:13:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/x86-assem.S:18:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/Linux-os.c:32:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/os-common.c:14:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
In file included from ../../src/lisp/gc.c:14:
internals.h:1: #error You need to run genesis (via build-world.sh) before compiling the startup code!
gmake: *** [Depends] Error 1
src/tools/load-world.sh: build-2/lisp/lisp: No such file or directory
Failed to build build-2!




Please help me figure out how I can get to compile this.  

Yarek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.