[Openmcl-devel] wx86cl on international systems

R. Matthew Emerson rme at clozure.com
Fri May 15 03:30:55 UTC 2009


On May 12, 2009, at 8:32 AM, dherring at tentpost.com wrote:

> FWIW, clozure is very unhappy if installed in a path containing non- 
> ascii
> characters.
>
> In cmd.exe, I cd to c:\cclㅁ (c:\cclM where M is the square  
> Korean
> character; any Korean characters in the path have this effect) and run
> C:\cclㅁ>wx86cl.exe > log.txt
>
> The head of log.txt follows, with a very large number of recursive- 
> lock
> errors elided.

I believe this is because the lisp kernel (a C program) is responsible  
for figuring out the path to the CCL directory.  The lisp deals well  
with the UTF-16 encoded pathnames that Windows uses, but the lisp  
kernel, well, not so much.

It looks like we'd need to use GetCommandLineW and CommandLineToArgvW  
to convert the command line arguments to unicode-style strings, and  
then change the argument processing and image path name derivation  
code to use wchar_t functions.

I'll open a ticket for this.


>
>
>> Error: value NIL is not of the expected type (OR STRING PATHNAME  
>> STREAM).
>> While executing: PATHNAME-DIRECTORY, in process Initial(0).
>> Type :GO to continue, :POP to abort, :R for a list of available  
>> restarts.
>> If continued: Skip (possibly crucial) startup function
> CCL::INIT-LOGICAL-DIRECTORIES.
>> Type :? for other options.
>> Error: value NIL is not of the expected type CCL::RECURSIVE-LOCK.
>> While executing: CCL::RECURSIVE-LOCK-PTR, in process Initial(0).
>> Type :POP to abort, :R for a list of available restarts.
>> Error: value NIL is not of the expected type CCL::RECURSIVE-LOCK.
>> While executing: CCL::RECURSIVE-LOCK-PTR, in process Initial(0).
>> Type :POP to abort, :R for a list of available restarts.
> ...
>
> This is the 1.3 release tarball running on a Korean Windows XP system.
>
> Later,
> Daniel
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list