[cmucl-help] Re: Error loading flexi-streams on CMUCL + Debian
Watt P. wrote: > I freshy install other libraries that require flexi-streams. Everything else > before it was installed fine. And I do not see any error before that. Can > you asdf-install flexi-streams on to you image now? I tried on CMUCL Ubuntu > and it give some other errors also. Maybe you should have presented some of the other errors as well. Perhaps there were clues there? Anyway, I tried flexi-streams. I get an compilation error almost right away. (How did you not get the compilation errors?) The code assumes that the char-code-integer type is large enough to hold integers up to at least 65535 or so. But on CMUCL, char-code-limit is 256. Changing char-code-integer to be `(integer 0 65535) allows the code to compile. It passes a fair number of tests, but I have no idea if this is correct or not. Perhaps you can ask the on the flexi-streams lists for some more information. Ray
[cmucl-help] Re: Error loading flexi-streams on CMUCL + Debian
Watt Poosanguansit wrote: > I am new to CMUCL and flexi-streams. I tried to load the library and I got > the message below. I have asked this on flexi-streams list and I was told > this might be a better place since this might have to do with how CMUCL load > the files. Any help is appreciated. > > > ; loading system definition from > ; /usr/local/asdf-install/site-systems/flexi-streams.asd into > ; # > ;; Loading > #P"/usr/local/asdf-install/site/flexi-streams-1.0.7/flexi-streams.asd". > ; registering # as FLEXI-STREAMS > ; registering # as FLEXI-STREAMS-TEST > ; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C): > ; Compiling Top-Level Form: > ;; Loading > #P"/var/cache/common-lisp-controller/1000/cmucl/local/usr/local/asdf-install/site/flexi-streams-1.0.7/packages.x86f". > ;; Loading > #P"/var/cache/common-lisp-controller/1000/cmucl/local/usr/local/asdf-install/site/flexi-streams-1.0.7/mapping.x86f". > > > Error in function LISP::INTERNAL-LOAD: >File has a fasl file type, but no fasl file header: > > "/var/cache/common-lisp-controller/1000/cmucl/local/usr/local/asdf-install/site/flexi-streams-1.0.7/ascii.x86f" >[Condition of type SIMPLE-ERROR] That usually means the fasl file (ascii.x86f) is empty. Something else has happened to cause the fasl to be empty. Are there other errors in the log that you didn't send? Is the disk full? I used flexi-streams a while back, and it worked. Can't remember what version though. Ray