rabbibotton / clog

CLOG - The Common Lisp Omnificent GUI
Other
1.51k stars 104 forks source link

Compile error #95

Closed j3pic closed 2 years ago

j3pic commented 2 years ago

I got this message when I tried to load CLOG:

; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "UPDATE-ASDF-SYSTEM-HTML-DOCS" not found in the MGL-PAX package.
;   
;       Line: 151, Column: 39, File-Position: 4380
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /tmp/clog/source/clog-helpers.lisp" {1006D42433}>

That error falls in this function:

(defun make-html ()
  (load-world)
  (mgl-pax:update-asdf-system-html-docs clog:@CLOG-MANUAL :clog))

I tried replacing it with this:

(defun make-html ()
  (load-world)
  (error "Not implemented"))

Then it compiled and worked with no problems. All dependencies were whatever versions Quicklisp is serving right now.

rabbibotton commented 2 years ago

It is a misconfiguration on your machine. What is your setup? Also make sure to update quicklisp - (ql:update-dist "quicklisp")

rabbibotton commented 2 years ago

The latest in github moves out the documentation functions to its own asdf subsystem (ql:quickload :clog/docs) (clog:make-html)

This will remove your issue, but as I have seen with one or two others worth compartmentalizing the issue since I am likely the only one to run those functions.

Let me now how it goes for you.

apr3vau commented 2 years ago

I met the same error just now on macOS 10.15 with SBCL 2.2.7, and I attempt to clone mgl-pax to my ~/common-lisp manually and the problem have been solved :D

Post here for anyone who got the same problem.