bug#81603: SLIB in guile-3.0.9

Aubrey Jaffer via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <CA+AOyRum9ezOjmv_EZev+V2m=9-+ADH3xFi_30JMC4djX3NtmQ@mail.gmail.com>
I am the SLIB maintainer in the process of making a new release.  Following
the instructions in
https://doc.guix.gnu.org/guile/3.0.9/en/html_node/SLIB-installation.html on
Ubuntu-24.04 revealed several path problems.  I tried looking in the bug
reporting system, but didn't find any mention of "slib".
SCHEME_LIBRARY_PATH=/usr/local/lib/slib/ had the same behavior.

jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$
SCHEME_LIBRARY_PATH=/usr/local/lib/slib
export SCHEME_LIBRARY_PATH
jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$
jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$
jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$ guile
GNU Guile 3.0.9
scheme@(guile-user)> (use-modules (ice-9 slib))
While compiling expression:
In procedure primitive-load-path: Unable to find file "slib/guile.init" in
load path

jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$ ln -s
/usr/local/lib/slib /usr/local/share/guile/3.0/slib
ln: failed to create symbolic link '/usr/local/share/guile/3.0/slib': No
such file or directory
jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$ sudo ln -s
/usr/local/lib/slib /usr/share/guile/3.0/slib
jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$ guile
GNU Guile 3.0.9
scheme@(guile-user)> (use-modules (ice-9 slib))
scheme@(guile-user)> (require 'new-catalog)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure open-file: No such file or directory:
"/usr/share/guile/site/3.0/slibcat"

jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$ sudo mkdir
/usr/share/guile/3.0/site
jaffer@jaffer-Vivobook-ASUSLaptop-X1703ZA-K1703ZA:~/slib$ guile
GNU Guile 3.0.9
scheme@(guile-user)> (use-modules (ice-9 slib))
scheme@(guile-user)> (require 'new-catalog)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure open-file: No such file or directory:
"/usr/share/guile/site/3.0/slibcat"

So the problem is the "site" in /usr/share/guile/site/3.0/.  I didn't find
"/site" or "site/" in the files in /usr/share/guile/3.0/.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.