Trying to use slib
Steven Buroff <[email protected]> Sun, 04 May 2008 09:53:41 -0400
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Organization | Steven Buroff |
| Message-ID | <000001c8adee$435f7450$50d4c044@rambo> |
This is a multi-part message in MIME format. --===============0917841591== Content-type: multipart/alternative; boundary="Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A)" This is a multi-part message in MIME format. --Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT I'm trying to use slib because I need a sort and sisc apparently doesn't support SRFI 95. Here is what I did: 1. Installed slib in C:\libs\slib. 2. Created a file sisc.properties with the following contents: sisc.home=C:\sisc\sisc-1.16.6 sisc.slib=C:\libs\slib 3. Modified my sisc.bat file to be as follows: @echo off C:\sisc\sisc-1.16.6\sisc.bat -p C:\sjb\sisc.properties C:\sjb\sisc_init.scm %* 4. I then run sisc and enter: (require-library 'sisc/libs/slib) and it bombs. I have included the first part of the stack trace below. Can anyone see what I have done wrong? Also, if there is any way to use SRFI 95 I'd rather do that since its standard. Thanks for your help. Steve Buroff SISC (1.16.6) #;> (sort) Error: undefined variable 'sort'. --------------------------- ?:?:?: <indeterminate call> --------------------------- sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> 2 repetitions of ... ?:?:?: <indeterminate call> --------------------------- 3 repetitions of ... ?:?:?: <indeterminate call> --------------------------- sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> 2 repetitions of ... ?:?:?: <indeterminate call> sisc.modules.Primitives/call-with-current-continuation:?:?: <indeterminate call> ?:?:?: <indeterminate call> ?:?:?: <from call to call/cc> --------------------------- ?:?:?: <indeterminate call> sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> ?:?:?: <indeterminate call> sisc.interpreter.Interpreter/eval:?:?: <indeterminate call> #;> ^Z C:\sjb\src\scheme\MIT_6.001\Project3>sisc SISC (1.16.6) #;> (require-library 'sisc/libs/slib) Error in load: evaluation error at jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/s isc/libs/slib.scm:337:1 --------------------------- 2 repetitions of ... ?:?:?: <indeterminate call> sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with-failure-continuation> --------------------------- ?:?:?: <indeterminate call> --------------------------- ?:?:?: <from call to load> --------------------------- ?:?:?: <indeterminate call> --------------------------- sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> sisc.modules.Primitives/call-with-values:?:?: <indeterminate call> --------------------------- ?:?:?: <from call to call-with-values> 3 repetitions of ... ?:?:?: <indeterminate call> ?:?:?: <from call to dynamic-wind> 5 repetitions of ... ?:?:?: <indeterminate call> sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> sisc.modules.Primitives/call-with-values:?:?: <indeterminate call> --------------------------- ?:?:?: <from call to call-with-values> 3 repetitions of ... ?:?:?: <indeterminate call> ?:?:?: <from call to dynamic-wind> ?:?:?: <from call to @threading-pretypes::mutex/synchronize> ?:?:?: <from call to @threading-pretypes::synchronized> console:1:1: <from call to @libraries::require-library> ?:?:?: <indeterminate call> --------------------------- sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> 2 repetitions of ... ?:?:?: <indeterminate call> --------------------------- 3 repetitions of ... ?:?:?: <indeterminate call> --------------------------- sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> 2 repetitions of ... ?:?:?: <indeterminate call> sisc.modules.Primitives/call-with-current-continuation:?:?: <indeterminate call> ?:?:?: <indeterminate call> ?:?:?: <from call to call/cc> --------------------------- ?:?:?: <indeterminate call> sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> ?:?:?: <indeterminate call> sisc.interpreter.Interpreter/eval:?:?: <indeterminate call> =========================== Caused by Error in load: error opening 'file:C:libsslib/require.scm'. --------------------------- 2 repetitions of ... ?:?:?: <indeterminate call> sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with-failure-continuation> --------------------------- ?:?:?: <indeterminate call> --------------------------- jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:327:30: <from cal l to load> jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:337:1: <from call to slib:load> sisc.modules.Primitives/_with-environment:?:?: <indeterminate call> ?:?:?: <from call to _with-environment> sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call> ?:?:?: <from call to with/fc> sisc.modules.Primitives/call-with-values:?:?: <indeterminate call> --------------------------- ?:?:?: <from call to call-with-values> 3 repetitions of ... ?:?:?: <indeterminate call> ?:?:?: <from call to dynamic-wind> ?:?:?: <indeterminate call> ?:?:?: <from call to with-environment> 2 repetitions of ... ?:?:?: <indeterminate call> sisc.interpreter.Interpreter/eval:?:?: <indeterminate call> #;> ^Z --Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>I'm trying to use slib because I need a sort and sisc apparently doesn't support SRFI 95.</FONT></SPAN></DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>Here is what I did:</FONT></SPAN></DIV> <OL> <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>Installed slib in C:\libs\slib.</FONT></SPAN></LI> <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>Created a file sisc.properties with the following contents:<BR><BR>sisc.home=C:\sisc\sisc-1.16.6<BR>sisc.slib=C:\libs\slib<BR></FONT></SPAN></LI> <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>Modified my sisc.bat file to be as follows:<BR><BR>@echo off<BR>C:\sisc\sisc-1.16.6\sisc.bat -p C:\sjb\sisc.properties C:\sjb\sisc_init.scm %*<BR></FONT></SPAN></LI> <LI><SPAN class=031364513-04052008><FONT face=Arial size=2>I then run sisc and enter:<BR><BR> (require-library 'sisc/libs/slib)<BR><BR>and it bombs. I have included the first part of the stack trace below.</FONT></SPAN></LI></OL> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>Can anyone see what I have done wrong? Also, if there is any way to use SRFI 95</FONT></SPAN></DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>I'd rather do that since its standard. Thanks for your help.</FONT></SPAN></DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>Steve Buroff</FONT></SPAN></DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>SISC (1.16.6)<BR>#;> (sort)<BR>Error: undefined variable 'sort'.<BR>---------------------------<BR>?:?:?: <indeterminate call><BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>2 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>---------------------------<BR>3 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>2 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>sisc.modules.Primitives/call-with-current-continuation:?:?: <indeterminate call></FONT></SPAN></DIV> <DIV> </DIV> <DIV><SPAN class=031364513-04052008><FONT face=Arial size=2>?:?:?: <indeterminate call><BR>?:?:?: <from call to call/cc><BR>---------------------------<BR>?:?:?: <indeterminate call><BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>?:?:?: <indeterminate call><BR>sisc.interpreter.Interpreter/eval:?:?: <indeterminate call><BR>#;> ^Z</FONT></SPAN></DIV> <DIV> </DIV><SPAN class=031364513-04052008><FONT face=Arial size=2> <DIV><BR>C:\sjb\src\scheme\MIT_6.001\Project3>sisc<BR>SISC (1.16.6)<BR>#;> (require-library 'sisc/libs/slib)<BR>Error in load: evaluation error at jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/s<BR>isc/libs/slib.scm:337:1<BR>---------------------------<BR>2 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with-failure-continuation><BR>---------------------------<BR>?:?:?: <indeterminate call><BR>---------------------------<BR>?:?:?: <from call to load><BR>---------------------------<BR>?:?:?: <indeterminate call><BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>sisc.modules.Primitives/call-with-values:?:?: <indeterminate call><BR>---------------------------<BR>?:?:?: <from call to call-with-values><BR>3 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>?:?:?: <from call to dynamic-wind><BR>5 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>sisc.modules.Primitives/call-with-values:?:?: <indeterminate call><BR>---------------------------<BR>?:?:?: <from call to call-with-values><BR>3 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>?:?:?: <from call to dynamic-wind><BR>?:?:?: <from call to @threading-pretypes::mutex/synchronize><BR>?:?:?: <from call to @threading-pretypes::synchronized><BR>console:1:1: <from call to @libraries::require-library><BR>?:?:?: <indeterminate call><BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>2 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>---------------------------<BR>3 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>---------------------------<BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>2 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>sisc.modules.Primitives/call-with-current-continuation:?:?: <indeterminate call></DIV> <DIV> </DIV> <DIV>?:?:?: <indeterminate call><BR>?:?:?: <from call to call/cc><BR>---------------------------<BR>?:?:?: <indeterminate call><BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>?:?:?: <indeterminate call><BR>sisc.interpreter.Interpreter/eval:?:?: <indeterminate call><BR>===========================<BR>Caused by Error in load: error opening 'file:C:libsslib/require.scm'.<BR>---------------------------<BR>2 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with-failure-continuation><BR>---------------------------<BR>?:?:?: <indeterminate call><BR>---------------------------<BR>jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:327:30: <from cal<BR>l to load><BR>jar:file:/C:/sisc/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:337:1: <from call<BR> to slib:load><BR>sisc.modules.Primitives/_with-environment:?:?: <indeterminate call><BR>?:?:?: <from call to _with-environment><BR>sisc.modules.Primitives/with-failure-continuation:?:?: <indeterminate call><BR>?:?:?: <from call to with/fc><BR>sisc.modules.Primitives/call-with-values:?:?: <indeterminate call><BR>---------------------------<BR>?:?:?: <from call to call-with-values><BR>3 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>?:?:?: <from call to dynamic-wind><BR>?:?:?: <indeterminate call><BR>?:?:?: <from call to with-environment><BR>2 repetitions of ...<BR> ?:?:?: <indeterminate call><BR>sisc.interpreter.Interpreter/eval:?:?: <indeterminate call><BR>#;> ^Z<BR></FONT></SPAN></DIV></BODY></HTML> --Boundary_(ID_p5hRXcuGZTdIrHFAshCk7A)-- --===============0917841591== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone --===============0917841591== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sisc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisc-users --===============0917841591==--