Guile-2.0.12
Installation of Guile
Install Guile by running the
following commands:
sed -i "/seems to be moved/s/^/:#/" build-aux/ltmain.sh &&
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/guile-2.0.12 &&
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
To test the results, issue: make
check.
Now, as the root
user:
make install &&
make install-html &&
mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &&
mv /usr/share/doc/guile-2.0.12/{guile.html,ref} &&
mv /usr/share/doc/guile-2.0.12/r5rs{.html,} &&
find examples -name "Makefile*" -delete &&
cp -vR examples /usr/share/doc/guile-2.0.12 &&
for DIRNAME in r5rs ref; do
install -v -m644 doc/${DIRNAME}/*.txt \
/usr/share/doc/guile-2.0.12/${DIRNAME}
done &&
unset DIRNAME
Command Explanations
sed -i ...
build-aux/ltmain.sh: This sed disables a lot
invalid warnings about moved libraries generated by libtool.
--disable-static
: This
switch prevents installation of static versions of the libraries.
Contents
Installed Programs:
guild, guile, guile-config, guile-snarf
and guile-tools
Installed Libraries:
libguile-2.0.so and
libguilereadline-v-18.so
Installed Directories:
/usr/include/guile, /usr/lib/guile,
/usr/share/doc/guile-2.0.12 and /usr/share/guile
Short Descriptions
guile
|
is a stand-alone Scheme interpreter for Guile.
|
guile-config
|
is a Guile script which
provides the information necessary to link your programs
against the Guile
library, in much the same way PkgConfig does.
|
guile-snarf
|
is a script to parse declarations in your C code for Scheme visible C functions.
|
guild
|
is a wrapper program installed along with guile, which knows
where a particular module is installed and calls it,
passing its arguments to the program.
|
guile-tools
|
is a symlink to guild.
|
Last updated on 2016-08-26 22:16:27 -0700