McCLIM Installation

David Dmytryk ddmytryk at icloud.com
Tue Apr 9 10:59:32 UTC 2019


Thanks Elias - will look into it. I have McClim running, but not using Truetype

David

> On Apr 9, 2019, at 3:00 AM, Elias Mårtenson <lokedhs at gmail.com> wrote:
> 
> You might want to try with the Freetype renderer as well. It uses CFFI to talk directly with the Fontconfig library.
> 
> Regards, 
> Elias 
> 
>> On Tue, 9 Apr 2019, 14:54 Andreas Davour, <ante at update.uu.se> wrote:
>> 
>> From your path I'm guessing you're on mac? There is a tool called 
>> "fontconfig" for linux. It could be that someone decided to call out to 
>> that program, expecting it to be around. It's a guess, and I don't have 
>> the source nor time to confirm at the moment. If someone don't have a 
>> better suggestion it might be worth following up on.
>> 
>> 
>> /andreas
>> 
>> On Mon, 8 Apr 2019, David Dmytryk wrote:
>> 
>> > Stas
>> >
>> > Your suggestion to check asdf version prompted me to check version of CL-PPCRE. It was old - I replaced it with latest version and placed the entire  cl-ppre-master folder in my home quicklisp/local-projects/libraries folder. It solved the “standard-optimize-settings” problem.
>> >
>> > However, when loading McCLIM now getting an error:
>> >
>> > NOTE:
>> >>        * McCLIM was unable to configure itself automatically using
>> >>          fontconfig. Therefore you must configure it manually.
>> >>
>> >> While executing: MCCLIM-TRUETYPE::WARN-ABOUT-UNSET-FONT-PATH, in process Listener(4).
>> >
>> > I checked for availability of truetype, and found a TTF folder which I also copied to my Quicklisp local-projects folder. Tried re-running load McCLIM and still shows same problem. The detailed lisp response is below.
>> >
>> > Again, would appreciate any advice from you or anyone else who might help resolve.
>> >
>> > Thanks
>> >
>> > David
>> > __________________________________________
>> >
>> > Details:
>> >
>> > ? (ql:quickload 'mcclim)
>> >
>> > To load "mcclim":
>> >  Load 1 ASDF system:
>> >    mcclim
>> > ; Loading "mcclim"
>> > ...
>> >> Error:
>> >>
>> >>        NOTE:
>> >>        * McCLIM was unable to configure itself automatically using
>> >>          fontconfig. Therefore you must configure it manually.
>> >>
>> >> While executing: MCCLIM-TRUETYPE::WARN-ABOUT-UNSET-FONT-PATH, in process Listener(4).
>> >> Type cmd-/ to continue, cmd-. to abort, cmd-\ for a list of available restarts.
>> >> If continued: Proceed
>> >> Type :? for other options.
>> > 1 > ?
>> > The following toplevel commands are available:
>> > <n>    the same as (:C <n>)
>> > (:FUNCTION FRAME-NUMBER)  Returns the function invoked in backtrace frame <frame-number>.  This may be useful for, e.g., disassembly
>> > (:FORM FRAME-NUMBER)  Return a form which looks like the call which established the stack frame identified by <frame-number>.  This is only well-defined in certain cases: when the function is globally named and not a lexical closure and when it was compiled with *SAVE-LOCAL-SYMBOLS* in effect.
>> > (:SET-LOCAL NAME FRAME-NUMBER NEW)  Set value of argument denoted <name> (see :LOCAL) in frame <frame-number> to value <new>.
>> > (:LOCAL NAME FRAME-NUMBER)  Return value of local denoted by <name> in frame <frame-number> <name> can either be a symbol - in which case the most recent
>> > binding of that symbol is used - or an integer index into the frame's set of local bindings.
>> > (:SET-ARG NAME FRAME-NUMBER NEW)  Set value of argument named <name> in frame <frame-number> to value <new>.
>> > (:ARG NAME FRAME-NUMBER)  Return value of argument named <name> in frame <frame-number>
>> > (:V N FRAME-NUMBER)  Return value <n> in frame <frame-number>
>> > (:RAW N)  Show raw contents of backtrace frame <n>
>> > (:APPLY-IN-FRAME I FUNCTION &REST ARGS)  Applies FUNCTION to ARGS in the execution context of the Ith stack frame
>> > (:RETURN-FROM-FRAME I &REST VALUES)  Return VALUES from the I'th stack frame
>> > (:F N)  Show backtrace frame <n>
>> > (:C &OPTIONAL N)  Choose restart <n>. If no <n>, continue
>> > (:B &KEY START COUNT SHOW-FRAME-CONTENTS)  backtrace
>> > :NFRAMES   print the number of stack frames accessible from this break loop
>> > :R     list restarts
>> > :Q     return to toplevel
>> > :GO    continue
>> > :A     exit current break loop
>> > :POP   exit current break loop
>> > :KAP   Release (but don't reestablish) *LISTENER-AUTORELEASE-POOL*
>> > :SAP   Log information about current thread's autorelease-pool(s) to C's standard error stream
>> > :RAP   Release and reestablish *LISTENER-AUTORELEASE-POOL*
>> > :?     help
>> > :PWD   Print the pathame of the current directory
>> > (:CD DIR)  Change to directory DIR (e.g., #p"ccl:" or "/some/dir")
>> > (:PROC &OPTIONAL P)  Show information about specified process <p>/all processes
>> > (:KILL P)  Kill process whose name or ID matches <p>
>> > (:Y &OPTIONAL P)  Yield control of terminal-input to process
>> > whose name or ID matches <p>, or to any process if <p> is null
>> > Any other form is evaluated and its results are printed out.
>> > 1 > q
>> > ?
>> >
>> >> On Apr 7, 2019, at 12:20 PM, Stas Boukarev <stassats at gmail.com> wrote:
>> >>
>> >> I can only suggest deleting quicklisp and retrying.
>> >>
>> >> On Sun, Apr 7, 2019 at 7:19 PM David Dmytryk <ddmytryk at icloud.com> wrote:
>> >>>
>> >>> CL-USER> (asdf:asdf-version)
>> >>> "3.2.0"
>> >>> CL-USER>
>> >>>
>> >>>
>> >>> The error message is:
>> >>>
>> >>> Read error between positions 7396 and 7665 in /Users/daviddmytryk/quicklisp/dists/quicklisp/software/cl-unicode-20180328-git/util.lisp.
>> >>>
>> >>>
>> >>> The installation is using …util.lisp from the cl-unicode folder,  different than the cl-ppcre folder.  Not sure whether this is a problem
>> >>>
>> >>>
>> >>>
>> >>>> On Apr 7, 2019, at 12:05 PM, Stas Boukarev <stassats at gmail.com> wrote:
>> >>>>
>> >>>> Where does
>> >>>> Invoking restart: Ignore attempt to IMPORT
>> >>>> "*STANDARD-OPTIMIZE-SETTINGS*" from package "CL-PPCRE"
>> >>>> come frome?
>> >>>>
>> >>>> And what's your (asdf:asdf-version)?
>> >>>>
>> >>>> On Sun, Apr 7, 2019 at 7:03 PM David Dmytryk <ddmytryk at icloud.com> wrote:
>> >>>>>
>> >>>>> Here is result of loading and testing cl-ppcre, then loading mcclim:
>> >>>>>
>> >>>>>
>> >>>>> CL-USER> (ql:quickload :cl-ppcre)
>> >>>>> To load "cl-ppcre":
>> >>>>> Load 1 ASDF system:
>> >>>>>   cl-ppcre
>> >>>>> ; Loading "cl-ppcre"
>> >>>>>
>> >>>>> (:CL-PPCRE)
>> >>>>> CL-USER> (asdf:oos 'asdf:test-op :cl-ppcre)
>> >>>>> #<TEST-OP>
>> >>>>> #<ASDF/PLAN:SEQUENTIAL-PLAN #x302003D29B6D>
>> >>>>> CL-USER>  (ql:quickload 'mcclim)
>> >>>>> To load "mcclim":
>> >>>>> Load 1 ASDF system:
>> >>>>>   mcclim
>> >>>>> ; Loading "mcclim"
>> >>>>> Invoking restart: Ignore attempt to IMPORT "*STANDARD-OPTIMIZE-SETTINGS*" from package "CL-PPCRE"
>> >>>>> .
>> >>>>> Read error between positions 7396 and 7665 in /Users/daviddmytryk/quicklisp/dists/quicklisp/software/cl-unicode-20180328-git/util.lisp.
>> >>>>> Invoking restart: Retry getting the value of CL-UNICODE::*STANDARD-OPTIMIZE-SETTINGS*.
>> >>>>> Read error between positions 7396 and 7665 in /Users/daviddmytryk/quicklisp/dists/quicklisp/software/cl-unicode-20180328-git/util.lisp.; Evaluation aborted on #<UNBOUND-VARIABLE #x302003F8238D>.
>> >>>>> CL-USER> (asdf:oos 'asdf:test-op :cl-ppcre)
>> >>>>>
>> >>>>> #<TEST-OP>
>> >>>>> #<ASDF/PLAN:SEQUENTIAL-PLAN #x302004049A2D>
>> >>>>>
>> >>>>>> On Apr 7, 2019, at 11:57 AM, David Dmytryk <ddmytryk at icloud.com> wrote:
>> >>>>>>
>> >>>>>> It is installed in home folder ~quicklisp/dists/quicklisp/software/cl-ppcre-20180831-git/cl-ppcre-unicode
>> >>>>>>
>> >>>>>> May have made a mess with location?
>> >>>>>>
>> >>>>>>> On Apr 7, 2019, at 11:48 AM, Stas Boukarev <stassats at gmail.com> wrote:
>> >>>>>>>
>> >>>>>>> So, is it working when you use the quicklisp one?
>> >>>>>>>
>> >>>>>>>> On Sun, Apr 7, 2019 at 6:47 PM David Dmytryk <ddmytryk at icloud.com> wrote:
>> >>>>>>>>
>> >>>>>>>> Thanks for responding Stas
>> >>>>>>>>
>> >>>>>>>> Yes - it is
>> >>>>>>>>
>> >>>>>>>> David
>> >>>>>>>>
>> >>>>>>>>> On Apr 7, 2019, at 11:45 AM, Stas Boukarev <stassats at gmail.com> wrote:
>> >>>>>>>>>
>> >>>>>>>>> Is your cl-ppcre not coming from quicklisp?
>> >>>>>>>>>
>> >>>>>>>>>> On Sun, Apr 7, 2019 at 6:23 PM David Dmytryk <ddmytryk at icloud.com> wrote:
>> >>>>>>>>>>
>> >>>>>>>>>> Hi
>> >>>>>>>>>>
>> >>>>>>>>>> Wondering if anybody could help with solution or advice on installing  McCLIM on macOS Mojave, running CCL under Emacs / Slime (Clozure Common Lisp Version 1.12-dev (v1.12-dev.4-6-gc3b1e184) DarwinX8664).
>> >>>>>>>>>>
>> >>>>>>>>>> I tried to install using Quicklisp and received error response as below.
>> >>>>>>>>>>
>> >>>>>>>>>> I am new to lisp, and heavily in learning-mode - would appreciate any help.
>> >>>>>>>>>>
>> >>>>>>>>>> Kind Regards
>> >>>>>>>>>>
>> >>>>>>>>>> David Dmytryk
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> CL-USER>  (ql:quickload 'mcclim)
>> >>>>>>>>>> To load "mcclim":
>> >>>>>>>>>> Load 1 ASDF system:
>> >>>>>>>>>> mcclim
>> >>>>>>>>>> ; Loading "mcclim"
>> >>>>>>>>>> Invoking restart: Ignore attempt to IMPORT "*STANDARD-OPTIMIZE-SETTINGS*" from package "CL-PPCRE"
>> >>>>>>>>>> .
>> >>>>>>>>>> Read error between positions 7396 and 7665 in /Users/daviddmytryk/quicklisp/dists/quicklisp/software/cl-unicode-20180328-git/util.lisp.
>> >>>>>>>>>> Invoking restart: Retry getting the value of CL-UNICODE::*STANDARD-OPTIMIZE-SETTINGS*.
>> >>>>>>>>>> Read error between positions 7396 and 7665 in /Users/daviddmytryk/quicklisp/dists/quicklisp/software/cl-unicode-20180328-git/util.lisp.; Evaluation aborted on #<UNBOUND-VARIABLE #x302003F8238D>.
>> >>>>>>>>
>> >>>
>> >
>> >
>> >
>> 
>> --
>> "economics is a pseudoscience; the astrology of our time"
>> Kim Stanley Robinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20190409/417048dc/attachment.html>


More information about the mcclim-devel mailing list