Installation of Guile
Install Guile by running the
following commands:
./configure --prefix=/usr --disable-static &&
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
If you have texlive-20130530 installed and wish to build
alternate formats (PDF and postscript) of the documentation, issue
the following commands:
for DIRNAME in r5rs ref
do make -k -C doc/${DIRNAME} pdf ps
done &&
unset DIRNAME
To test the results, issue: make
check.
Now, as the root
user:
make install &&
find examples -name "Makefile*" -exec rm {} \; &&
install -v -dm755 /usr/share/doc/guile-2.0.9 &&
cp -vR examples /usr/share/doc/guile-2.0.9 &&
for DIRNAME in r5rs ref
do
install -v -dm755 /usr/share/doc/guile-2.0.9/${DIRNAME} &&
install -v -m644 doc/${DIRNAME}/*.txt \
/usr/share/doc/guile-2.0.9/${DIRNAME} &&
if [ -d doc/${DIRNAME}/${DIRNAME}.html ]; then
cp -Rv doc/${DIRNAME}/${DIRNAME}.html \
/usr/share/doc/guile-2.0.9/${DIRNAME}
fi
done
cp -vR doc/ref/guile.html /usr/share/doc/guile-2.0.9/ref
If you built the alternate formats of the documentation, install
them using the following commands issued by the root
user:
for DIRNAME in r5rs ref
do
install -v -m644 doc/${DIRNAME}/*.{pdf,ps,dvi} \
/usr/share/doc/guile-2.0.9/${DIRNAME}
done