[Openmcl-devel] Problems with installing CCL on Ubuntu

Bill St. Clair wws at clozure.com
Thu Apr 9 11:19:45 PDT 2015


You can't just rename lx86cl.image to lx86cl. The former is an lisp heap
image file. The latter is a linux executable. Your rebuild of the kernel
should have created a fresh lx86cl. If not, do "svn revert lx86cl" to get
back the one from Clozure's server, which should work.

On Thu, Apr 9, 2015 at 1:23 PM, Top, J.D. <j.d.top at student.rug.nl> wrote:

> Thanks for the reply.
> I'm quite sure my system is 32-bits. When I use lx86cl64 I receive the
> error
> *Can't determine machine architecture.  Fix this.*
>
> On Thu, Apr 9, 2015 at 6:20 PM, R. Matthew Emerson <rme at clozure.com>
> wrote:
>
>> lx86cl is the 32-bit version of the lisp kernel.  Perhaps your system is
>> 64-bit, and you don't have the 32-bit libraries installed.
>>
>> Try using lx86cl64 instead.  You can copy scripts/ccl64 to /usr/local/bin
>> (and rename ccl64 to ccl if you want;  that's what I do).
>>
>>
>>
>> On Apr 9, 2015, at 11:41 AM, Top, J.D. <j.d.top at student.rug.nl> wrote:
>>
>> Hello,
>>
>> Since no other source or party has been able to help I decided to request
>> support from the CCL mailing list.
>>
>> I've been trying to install CCL on Ubuntu but to no avail. I've obtained
>> the Linux CCL package from http://ccl.clozure.com/download.html, and
>> followed the instructions from http://ccl.clozure.com/install.html (as
>> well as a lot of other online help).
>>
>> I wish to run CCL straight from a terminal prompt without using Slime, so
>> I've copied the ccl script to */usr/local/bin/*. Then I edited it to
>> change the path: *CCL_DEFAULT_DIRECTORY=/home/myname/Desktop/ccl* (as
>> the package was extracted in the desktop). I've also built the Lisp kernel
>> by using the command "*make clean && make*" in *
>> /home/myname/Desktop/ccl/lisp-kernel/linuxx8632*.
>>
>> However, despite these efforts running "ccl" from a command prompt
>> results in
>>
>> *myname at mycomputer:~$ ccl*
>>
>> */usr/local/bin/ccl: 48: exec: /home/myname/Desktop/ccl/lx86cl: not found*
>>
>> Despite lx86cl being in this exact location (which can be seen by
>> dragging the file into the terminal). If I change the filename from
>> lx86cl.image to lx86cl running the command "ccl" results in
>>
>> */usr/local/bin/ccl: 48: exec: /home/myname/Desktop/ccl/lx86cl:
>> Permission denied*, even if "sudo ccl" is used.
>>
>> After ticking the "allow executing file as program" box in the lx86cl
>> permissions the error changes to
>>
>>
>> */home/myname/Desktop/ccl/lx86cl: 1: /home/myname/Desktop/ccl/lx86cl:
>> Syntax error: word unexpected (expecting ")")*
>>
>> Any help with installing CCL on unbuntu would be greatly appreciated.
>>
>>
>>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20150409/b237c6a1/attachment.htm>


More information about the Openmcl-devel mailing list