Hi Christian
I tried both Homebrew and Macports - neither provides McCLIM installation.
The MacBook Pro I’m on uses XQuartz (XQuartz 2.7.11 (xorg-server 1.18.4)) for X11.
I can run load / run McClim, examples and demo if I ignore error relating to cl-ppcre (i.e. Invoking restart: Ignore attempt to IMPORT "*STANDARD-OPTIMIZE-SETTINGS*" from package "CL-PPCRE”), but then lose true font capability.
I think that perhaps there is path confusion of some sort getting to the TTL folder for Truetype, although I checked and the path seemed correctly specified in the respective asd file.
I tried setting certain variables manually (e.g (defvar *standard-optimize-settings* ‘(optimize speed (space 0) (debug 1 (compilation-speed 0))), which a source said is "The standard optimize settings used by most declaration expressions.” Didn’t work.
Anyway, I will churn away at it. Still need to look in to fontconfig. When running the demo, there is one message that says: " Error: There is no applicable method for the generic function:
> #<STANDARD-GENERIC-FUNCTION CLIM-BACKEND:FONT-GLYPH-DX #x3020045A659F>
> when called with arguments:
> (#<FONT -adobe-helvetica-medium-r-normal--24-240-75-75-p-130-iso8859-1 private/tmp/com.apple.launchd.w4mK1DcJUl/org.macosforge.xquartz:0 6291481> 77)”
A copy of the listener response is below.
Thanks for taking the time to respond.
David
----------------------------------------------
Aquamacs
; SLIME 2.23
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"
...............................................
[package clim-xcommon]............................
[package clim-clx]................................
[package mcclim-bidi].............................
[package clim-clx-fb].............................
[package mcclim-bezier-clx].
(MCCLIM)
CL-USER> (ql:quickload 'clim-examples)
To load "clim-examples":
Load 1 ASDF system:
clim-examples
; Loading "clim-examples"
[package clim-demo]...............................
[package calculator-demo].........................
[package menutest]................................
[package clim-transformations-test]...............
[package town-example]............................
[package tabdemo].................................
[package sliderdemo]..............................
[package image-transform-demo]............
;; try (CLIM-DEMO:DEMODEMO)
........
..................................................
[package views-example]...........................
.......................................
(CLIM-EXAMPLES)
CL-USER> (CLIM-DEMO:DEMODEMO)
If you are on a mac, I can recommend to use one of the unix addon
systems such as homebrew or macports (
https://www.macports.org). At
least macports has fontconfig though it might be that it integrates with
X11 rather than macos.
-- Christian
-----------------------
On Tue, Apr 09 2019, David Dmytryk wrote:
Will look into it Andreas. I have McClim running, but not using Truetype
Thanks for responding
David
On Apr 9, 2019, at 2:52 AM, Andreas Davour <ante@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@gmail.com> wrote:
I can only suggest deleting quicklisp and retrying.
On Sun, Apr 7, 2019 at 7:19 PM David Dmytryk <ddmytryk@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@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@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@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@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@icloud.com> wrote:
Thanks for responding Stas
Yes - it is
David
On Apr 7, 2019, at 11:45 AM, Stas Boukarev <stassats@gmail.com> wrote:
Is your cl-ppcre not coming from quicklisp?
On Sun, Apr 7, 2019 at 6:23 PM David Dmytryk
<ddmytryk@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