Opened 6 years ago

Closed 5 years ago

#1161 closed defect (fixed)

CCL manual w.r.t. ARMv6 installation: 2.2.4. Rebuilding Clozure CL From Sources

Reported by: mcpublic Owned by:
Priority: normal Milestone:
Component: Documentation Version: trunk
Keywords: Cc:

Description

The instructions for rebuilding CCL from sources in this chapter section is missing a step or two that is required when one is installing CCL on certain ARM processors (e.g. ARMv6 used in Raspberry Pi).

cd lisp-kernel/linuxarm make clean make

This is due to differences in the instruction-set on different versions/models of the ARM processor, so some recompilation on the target architecture is necessary.

On a broader note, there are incomplete or obsolete instructions for installing CCL on the Raspberry Pi floating around on various forums/blogs. One high-pagerank example is:

http://mickcharlesbeaver.blogspot.com/2014/01/clozure-common-lisp-ccl-on-raspberry-pi.html

This refers to the released version 1.9, that does not have a build fix that deals with soft v hard floating-point variants. As of this writing, you need to download and build trunk. Otherwise you have to fix/hardwire the build script as RME mentioned in the internal Clozure IRC a few days ago, to deal with floating point issues.

The blog entry mentions the make clean && make issue raised in this bug report, but it does not mention that you have to recompile from sources to get a fully functional CCL image.

Change History (2)

comment:1 Changed 6 years ago by mcpublic

Formatting in description got lost. Adding it here. New shell steps should read:

% cd lisp-kernel/linuxarm
% make clean
% make

and then followed by running the downloaded bootstrap CCL image, and recompiling from sources.

comment:2 Changed 5 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed

I tried to make this somewhat clearer.

I wrote http://ccl.clozure.com/install.html so that people wouldn't have to refer to the manual just to get started. I also edited the manual a little bit.

Additionally, CCL 1.10 assumes (well, nearly requires) that you'll be using hard-float, so I hope the confusion will not come up so much now.

Note: See TracTickets for help on using tickets.