SLIB and SISC (was Re: SLIB Setup Glitches)
Antonio <[email protected]> Sun, 25 May 2008 23:46:11 +0200
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
It seems that there's a bug in =
${sisc.home}/sisc-lib.jar!/sisc/libs/slib.scm that uses the symbol =
*features* instead of the proper symbol slib:features
This is so because a change in SLIB (see [1]).
I managed to solve it by doing this:
- To create the slibcat in your sisc.home
(require-library 'sisc/libs/slib)
--> an error happens
(define slib:features *features*)
(require-library 'sisc/libs/slib)
(require 'new-catalog)
(exit)
- To load SLIB
(require-library 'sisc/libs/slib)
--> an error happens again
(define slib:features *features*)
(require-library 'sisc/libs/slib)
So basically what you have to do is to define slib:features to =
*features* and you're all set.
I propose changing "sisc/libs/slib.scm" to use the appropriate new =
variable name.
Cheers,
Antonio
[1] =
https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1787411&group=
_id=3D23735&atid=3D379534)
Randall R Schulz escribi=F3:
> Hi,
> =
> In trying to set up / enable use of SLIB in my SISC installation, I
> encountered a few glitches.
> =
> =
> -=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=
=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D-
> Glitch 1: SLIB 3b1-1 Won't load
> =
> When I evaluate (require-library 'sisc/libs/slib) with the system
> property sisc.slib pointing to a manual (non-RPM) installation of the
> current SLIB from the SLIB Web site, which is version 3b1-1, I get this:
> =
> #;> (max-stack-trace-depth 50)
> 0
> #;> (require-library 'sisc/libs/slib)
> Error in load: evaluation error at jar:file:/repo/JT/SISC/sisc-1.16.6/sis=
c-lib.jar!/sisc/libs/slib.scm:337:1
> ---------------------------
> console:4:1: <from call to @libraries::require-library>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> Caused by Error in load: evaluation error at file:/repo/SD/SLIB/slib/requ=
ire.scm:182:1
> ---------------------------
> jar:file:/repo/JT/SISC/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:327:3=
0: <from call to load>
> jar:file:/repo/JT/SISC/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:337:1=
: <from call to slib:load>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> Caused by Error: undefined variable 'slib:features'.
> ---------------------------
> file:/repo/SD/SLIB/slib/require.scm:183:28: <from call to slib:provide>
> =
> After this, I decided to try with the 3a1-46 that was installed on my
> system via RPM (I'm not sure why it was there, perhaps for GIMP or
> AisleRiot. Before today, I didn't know it was there...) That worked.
> -=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=
=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D--=3D=3D-
> [...]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/