#641063 [slib] slib 3b1-3.1 install is broken when used with mit-scheme 9.0.1-1+b1, manual fix included

#641063#5
Date:
2011-09-09 23:26:45 UTC
From:
To:
--- Please enter the report below this line. ---
the current package of slib has several problem which prevent it from
working with mit-scheme 9.0.1.

1) running slib when mit-scheme is the default scheme on the machine throws an error regarding "(runtime syntactic-closures)"

see brief discussion here:

http://www.mail-archive.com/slib-discuss@gnu.org/msg00056.html

the current cvs version on savnnah (3b3) has this fixed.

2) the default paths slib searches for are under /usr/local,
violating debian policy and the actual paths where slib is installed.

these can be fixed by a package patch equivalent to running

$ sudo sed -i *.scm *.init -e 's#/usr/local/lib/slib#/usr/share/slib#'

in the /usr/share/slib directory

3) slib and it's require mechanism rely on a catalog file called slibcat
which is generated dynamically if the file cannot be found.
the path where slib tried to generate this file , under
/usr/lib/mit-scheme-i386/, requires admin permissions and fails
when the user runs slib under his own id.

running the command
sudo mit-scheme --load /usr/share/slib/mitscheme.init --eval "(require 'printf)"

once after the previous issues are fixed creates this catalog file, which can then be accessed by any user running slib normally.


Debian Release: wheezy/sid
  700 debian          packages.linuxmint.com
  500 testing         www.debian-multimedia.org
  500 testing         security.debian.org
  500 testing         mirror.isoc.org.il
  500 testing         ftp.debian.org
--- Package information. ---
Depends             (Version) | Installed
=============================-+-=============
dpkg             (>= 1.15.4)  | 1.16.0.3
 OR install-info              | 4.13a.dfsg.1-8


Package's Recommends field is empty.

Package's Suggests field is empty.

#641063#10
Date:
2011-09-12 23:30:53 UTC
From:
To: