fukamachi / lack

Lack, the core of Clack
MIT License
148 stars 33 forks source link

cl-isaac fails to load on Windows CCL #73

Closed ro6 closed 12 months ago

ro6 commented 1 year ago

It tries to access /dev/arandom to init the random seed, which doesn't exist on Windows.

image

I'm new to CL, so not sure whether this is an issue with lack, cl-isaac, or CCL.

ro6 commented 1 year ago

I guess it's because the *features* var on CCL indicates Windows differently:

(:SWANK :QUICKLISP :ASDF3.3 .... :X86-64 :X86_64 :X86-TARGET :X86-HOST :X8664-TARGET :X8664-HOST :WINDOWS-HOST :WINDOWS-TARGET :WIN64-TARGET :WIN64-HOST :64-BIT-TARGET :64-BIT-HOST :WINDOWS :LITTLE-ENDIAN-TARGET :LITTLE-ENDIAN-HOST)

so maybe the feature guards like:

#-(or mswindows win32 cormanlisp)

should be:

#-(or windows mswindows win32 cormanlisp)

to cover CCL as well?

fukamachi commented 1 year ago

Thank you for reporting.

Yeah, you seem right! But, cl-issac is removed for other reason (#74), so this issue will also be resolved.