cl-unicode icon indicating copy to clipboard operation
cl-unicode copied to clipboard

no symbol named "*STANDARD-OPTIMIZE-SETTINGS*" in "CL-PPCRE"

Open uternet opened this issue 1 year ago • 2 comments

Allegro CL reported:

[package cl-unicode]; While EVALUATING an unknown function at top level: Error: In :IMPORT-FROM list, the symbol "STANDARD-OPTIMIZE-SETTINGS" not found in package #<The CL-PPCRE package> [condition type: PACKAGE-ERROR] Problem detected when processing (EXCL::DEFPACKAGE-1 (QUOTE :CL-UNICODE) ...) inside (COMPILER-LET ...) inside (EVAL-WHEN (COMPILE EVAL ...) ...)

UPDATE: The cause has been identified! There was a rather old version of cl-ppcre (v1.2.3) in my ~/common-lisp directory, which came from the exercise code in "Practical Common Lisp". After removing this outdated cl-ppcre, everything started working correctly.

I apologize for my oversight.

uternet avatar Jan 08 '25 03:01 uternet

not found in package #

https://github.com/edicl/cl-unicode/blob/07e7ff58913fb31f78f500e1be84ee2270bb6e30/packages.lisp#L34-L35

https://github.com/edicl/cl-ppcre/blob/80fb19d104647a2c4efd5f66f65811948bf8156b/specials.lisp#L36-L42

This symbol should be present, it's imported from cl-ppcre. How are you loading cl-unicode? What is your version of cl-ppcre?

phoe avatar Jan 08 '25 09:01 phoe

Sorry, I cannot reproduce the issue right now because I have left the machine where the problem occurred. When I tried with another machine, the problem did not occur. Maybe tomorrow I will be able to figure out what happened.

uternet avatar Jan 08 '25 12:01 uternet