List Info

Thread: Problems compiling 19c on RH 7.2




Problems compiling 19c on RH 7.2
user name
2006-08-16 16:10:29

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&qu
ot;.
;; Loading
#P"/workplace/software/cmucl/build-2/code/misc.x86f&q
uot;.
* 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


Problems compiling 19c on RH 7.2
user name
2006-08-16 16:46:41
>>>>> "Yarek" == Yarek Kowalik
<Kowalik> writes:

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

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

If cmulisp is working for you, you don't really need to
rebuild all of
cmucl to get motifd working.  

It might work out if you just recompile motifd, linking with
the
desired libXm.

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

First, check that 19c really does work on RH 7.2.  I built
19c on Suse
9.0 system, so there might be some problems there.

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

This is weird.  I haven't seen this before.  Look in
build-2/*.log for
any errors or aborts.

[snip]

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

If you're lucky, I could send you precompiled fasls of all
the files,
and then you could just build the lisp runtime on your
system, and
load up all the fasls.  Then use that to rebuild cmucl
again.

Good luck,

Ray



[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )