Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
uternet opened this issue Jan 8, 2025 · 2 comments
Open

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

uternet opened this issue Jan 8, 2025 · 2 comments

Comments

@uternet
Copy link

uternet commented Jan 8, 2025

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 #
[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.

@phoe
Copy link

phoe commented Jan 8, 2025

not found in package #

cl-unicode/packages.lisp

Lines 34 to 35 in 07e7ff5

(:import-from :cl-ppcre
:*standard-optimize-settings*

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?

@uternet
Copy link
Author

uternet commented Jan 8, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants