Installation of Guile
        
        
          Install Guile by running the
          following commands:
        
        
sed -i -e '20,$ d' \
       -e 's|slib)|&)\n(load-from-path "slib/guile.init")|' \
    ice-9/slib.scm
./configure --prefix=/usr &&
make
        
          If you have teTeX-3.0 installed and wish to build alternate
          formats of the documentation, issue the following commands:
        
        
for DIRNAME in goops r5rs ref tutorial
do
  make -k -C doc/$DIRNAME pdf ps html
done &&
makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi &&
makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &&
makeinfo --plaintext -o doc/tutorial/guile-tut.txt \
    doc/tutorial/guile-tut.texi &&
unset DIRNAME
        
          To test the results, issue: make
          check.
        
        
          Now, as the root user:
        
        
make install &&
find examples -name "Makefile*" -exec rm {} \; &&
install -v -m755 -d /usr/share/doc/guile-1.8.2 &&
cp -v -R examples   /usr/share/doc/guile-1.8.2
        
          If you built the alternate formats of the documentation, install
          them using the following commands issued by the root user:
        
        
for DIRNAME in goops r5rs ref tutorial
do
  install -v -m755 -d /usr/share/doc/guile-1.8.2/$DIRNAME/html
  install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi,txt} \
      /usr/share/doc/guile-1.8.2/$DIRNAME
  if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
    install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
        /usr/share/doc/guile-1.8.2/$DIRNAME/html
  fi
done &&
install -v -m644 doc/goops/hierarchy.{eps,png} \
    /usr/share/doc/guile-1.8.2/goops &&
install -v -m644 doc/ref/guile.html/* \
    /usr/share/doc/guile-1.8.2/ref/html &&
install -v -m644 doc/tutorial/guile-tut.html/* \
    /usr/share/doc/guile-1.8.2/tutorial/html
       
      
        
          Command Explanations
        
        
          sed -i -e '20,$ d' -e '...'
          ice-9/slib.scm: This command is used to modify the
          Guile SLIB initialization script. There are
          incompatibilities with newer versions of SLIB and this command modifes the script to
          use the installed SLIB script.