[Larceny-users] (require 'unix) in recent svn version

Felix felixluser at pnkfx.org
Tue Aug 21 12:42:46 EDT 2007


On Aug 21, 2007, at 5:59 AM, Sven.Hartrumpf at FernUni-Hagen.de wrote:

> Hello.
>
> What has changed in svn larceny some weeks ago that
> causes the following error?
>
>> larceny
> Larceny v0.94 "Doomsday Device" (Aug 21 2007 11:41:25,  
> precise:Linux:unified)
> larceny.heap, built on Fri Jul 13 20:12:48 CEST 2007
>
>> (require 'unix)
>
>
> Error: Could not locate library: : Experimental/iosys
> Entering debugger; type "?" for help.
> debug>
>
> Do I have to start with a fresh checkout?

No, I do not think that will fix this problem.

The issue is that lib/Standard/unix requires lib/Experimental/unix- 
descriptor, which in turn requires lib/Experimental/iosys.  I removed  
lib/Experimental/iosys some time ago (because it is incompatible with  
our revised R6RS-compatible iosys) and added lib/Standard/unix- 
descriptor to replace lib/Experimental/unix-descriptor, but I guess  
some libraries need further revision to eliminate dependencies on the  
now non-existent lib/Experimental/iosys.

I have filed Ticket #469 to track this bug.  I will not be able to  
take time to address it for another couple of weeks.

It could very well be the case that simply replacing the require of  
"lib/Experimental/unix-descriptor" (in lib/Standard/unix.sch) with a  
require of 'unix-descriptor would work.  (This effectively would make  
unix.sch attempt to use the lib/Standard/unix-descriptor code instead  
of the lib/Experimental/unix-descriptor code.)  But I do not have  
time to test this hypothesis right now.

-Felix




More information about the Larceny-users mailing list