Introduction to Guile
The Guile package contains the GNU
Project's extension language library. Guile also contains a stand alone Scheme interpreter.
Note
This version of BLFS may not build or run
some packages properly if LFS or dependencies have been updated
since the most recent stable version of the System V
books.
Package Information
-
Download (HTTP): https://ftpmirror.gnu.org/guile/guile-3.0.11.tar.xz
-
Download MD5 sum: f215f364387f6c9b008efaa11e8079dc
-
Download size: 5.6 MB
-
Estimated disk space required: 195 MB (add 3 MB for tests)
-
Estimated build time: 4.2 SBU (Using parallelism=4; add 0.3
SBU for tests)
Guile Dependencies
Required
GC-8.2.12 and
libunistring-1.4.1
Optional
Emacs-30.2 and GDB-17.1 (run-time only dependencies).
Installation of Guile
Install Guile by running the
following commands:
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/guile-3.0.11 &&
make &&
make html &&
makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi
When running the test suite, first remove a failing test that halts
the tests: rm
test-suite/tests/srfi-207.test. Then to test the
results, issue: ./check-guile.
Now, as the root user:
make install &&
make install-html &&
mkdir -p /usr/share/gdb/auto-load/usr/lib &&
mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &&
mv /usr/share/doc/guile-3.0.11/{guile.html,ref} &&
mv /usr/share/doc/guile-3.0.11/r5rs{.html,} &&
find examples -name "Makefile*" -delete &&
cp -vR examples /usr/share/doc/guile-3.0.11 &&
for DIRNAME in r5rs ref; do
install -v -m644 doc/${DIRNAME}/*.txt \
/usr/share/doc/guile-3.0.11/${DIRNAME}
done &&
unset DIRNAME