Re: Problems compiling 19c on RH 7.2

2006-08-16 Thread Raymond Toy

> "Yarek" == Yarek Kowalik  writes:

[snip]

>> 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] 

Yarek> I was able to start 'lisp' and futs around with it.  Seems to be 
fine.

Ok.

Yarek> The only error I found in the logs is in the complie-complier.log:

Yarek> ; 
Yarek> ; 
Yarek> ; File: 
/workplace/software/cmucl/src/compiler/generic/new-genesis.lisp

Yarek> ; In: DEFUN GENESIS

Yarek> ;   (OR T SYMBOL-TABLE)
Yarek> ; --> LET IF OR 
Yarek> ; ==>
Yarek> ;   SYMBOL-TABLE
Yarek> ; Note: Deleting unreachable code.
Yarek> ; 
Yarek> ;   (ERROR "Can't genesis without a symbol-table.")
Yarek> ; Note: Deleting unreachable code.
Yarek> ;

I know for a fact that there are more errors than just this. :-)  Grep
for "Error" or "Abort".  There might not be any, which will make
finding the problem harder.

Yarek> Perhaps if you could just send the Interface.h that would
Yarek> be sufficient for me to get motifd going on the Ubuntu box?
Yarek> Thanks.

I think you need several of the .h files.  I'll send that out
separately.

Ray




RE: Problems compiling 19c on RH 7.2

2006-08-16 Thread Kowalik, Yarek


> 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] 
I thought about that too. Trouble is that it requires Interface.h which is 
created at compile time. So, unless I can somehow manage beyond the error I am 
getting, I won't be able to compile motifd alone.

> 
> 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] 

I was able to start 'lisp' and futs around with it.  Seems to be fine.

> 
> 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".
> Yarek> ;; Loading #P"/workplace/software/cmucl/build-
> 2/code/misc.x86f".
> 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.
[Yarek] 

The only error I found in the logs is in the complie-complier.log:

; 
; 
; File: /workplace/software/cmucl/src/compiler/generic/new-genesis.lisp

; In: DEFUN GENESIS

;   (OR T SYMBOL-TABLE)
; --> LET IF OR 
; ==>
;   SYMBOL-TABLE
; Note: Deleting unreachable code.
; 
;   (ERROR "Can't genesis without a symbol-table.")
; Note: Deleting unreachable code.
;

> 
> [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.
[Yarek] 

Perhaps if you could just send the Interface.h that would be sufficient for me 
to get motifd going on the Ubuntu box?  Thanks.

> 
> Good luck,
> 
> Ray

Yarek




Re: Problems compiling 19c on RH 7.2

2006-08-16 Thread Rex Dieter

Kowalik, Yarek wrote:

> 
> 
> 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
...
> Please help me figure out how I can get to compile this.

You could try rebuilding from the Fedora Extras srpm for cmucl, though I
have a small sed snip that requires sed >= 4.0, but you could probably
workaround that by replacing 
sed -i -e
with
perl -pi -e 
in the specfile:

http://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS/
Grab the newest cmucl src.rpm there.

-- Rex




Re: Problems compiling 19c on RH 7.2

2006-08-16 Thread Raymond Toy

> "Yarek" == Yarek 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".
Yarek> ;; Loading #P"/workplace/software/cmucl/build-2/code/misc.x86f".
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