SLIB Setup Glitches
Randall R Schulz <[email protected]> Sat, 29 Mar 2008 09:23:41 -0700
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
In trying to set up / enable use of SLIB in my SISC installation, I
encountered a few glitches.
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
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/sisc-lib.jar!/sisc/libs/slib.scm:337:1
---------------------------
console:4:1: <from call to @libraries::require-library>
===========================
Caused by Error in load: evaluation error at file:/repo/SD/SLIB/slib/require.scm:182:1
---------------------------
jar:file:/repo/JT/SISC/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:327:30: <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>
===========================
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.
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Glitch 2: SISC launcher script interferes with new-catalog processing
When I evaluate (require 'new-catalog) I get this:
#;> (require 'new-catalog)
java.io.FileNotFoundException: /repo/JT/SISC/sisc-1.16.6/sisc/slibcat (Not a directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at sisc.modules.io.IO.getURLOutputStream(Unknown Source)
at sisc.modules.io.IO.openCharOutFile(Unknown Source)
at sisc.modules.io.IO.doApply(Unknown Source)
at sisc.nativefun.NativeProcedure.apply(Unknown Source)
at sisc.exprs.AppEval.eval(Unknown Source)
at sisc.interpreter.Interpreter.interpret(Unknown Source)
at sisc.interpreter.Interpreter.interpret(Unknown Source)
at sisc.interpreter.Interpreter.eval(Unknown Source)
at sisc.interpreter.Interpreter.eval(Unknown Source)
at sisc.modules.io.IO.load(Unknown Source)
at sisc.modules.io.IO.doApply(Unknown Source)
at sisc.nativefun.NativeProcedure.apply(Unknown Source)
at sisc.exprs.AppEval.eval(Unknown Source)
at sisc.interpreter.Interpreter.interpret(Unknown Source)
at sisc.interpreter.Interpreter.interpret(Unknown Source)
at sisc.interpreter.Interpreter.eval(Unknown Source)
at sisc.data.SchemeThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Error in load: evaluation error at file:/usr/share/slib/mklibcat.scm:20:1
---------------------------
jar:file:/repo/JT/SISC/sisc-1.16.6/sisc-lib.jar!/sisc/libs/slib.scm:327:30: <from call to load>
file:/usr/share/slib/require.scm:76:7: <from call to apply>
---------------------------
file:/usr/share/slib/require.scm:141:16: <from call to slib:load>
---------------------------
file:/usr/share/slib/require.scm:200:17: <from call to catalog:get>
---------------------------
console:3:1: <from call to require>
---------------------------
Some stack trace entries may have been suppressed. To see all entries set the dynamic parameter suppressed-stack-trace-source-kinds to '().
===========================
Caused by Error in open-output-file: error opening 'file:/repo/JT/SISC/sisc-1.16.6/sisc/slibcat'.
---------------------------
file:/usr/share/slib/mklibcat.scm:22:3: <from call to call-with-output-file>
Note the name of file in the FileNotFound exception:
"/repo/JT/SISC/sisc-1.16.6/sisc/slibcat". This path name
clashes with the supplied "sisc" Unix / Linux launcher script.
Presumably that file needs to be relocated to some other location
(in your PATH) rather than be used in situ.
But after getting the "sisc" launcher script out of the way, evaluating
the (require 'new-catalog) form still fails. The directory
$SISC_HOME/sisc must be manually created first. After doing this,
building the catalog succeeds.
(By the way, I do have write permissions in $SISC_HOME and all
subdirectories.)
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Glitch 3: suppressed-stack-trace-source-kinds Undefined
While working on the previous glitches, I got this diagnostic from SISC:
Some stack trace entries may have been suppressed. To see all entries set the dynamic parameter suppressed-stack-trace-source-kinds to '().
So I entered this:
#;> (suppressed-stack-trace-source-kinds '())
Error: undefined variable 'suppressed-stack-trace-source-kinds'.
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Randall Schulz
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace