Installation of Guile
Install Guile by running the
following commands:
patch -Np1 -i ../guile-1.6.7-gcc4-1.patch &&
patch -Np1 -i ../guile-1.6.7-slib-1.patch &&
./configure --prefix=/usr --with-threads &&
make
If you have teTeX 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.6.7 &&
cp -v -R examples /usr/share/doc/guile-1.6.7
If you built the alternate formats of the documentation, install it
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.6.7/$DIRNAME/html
install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi,txt} \
/usr/share/doc/guile-1.6.7/$DIRNAME
if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
/usr/share/doc/guile-1.6.7/$DIRNAME/html
fi
done &&
install -v -m644 doc/goops/hierarchy.{eps,png} \
/usr/share/doc/guile-1.6.7/goops &&
install -v -m644 doc/ref/guile.html/* \
/usr/share/doc/guile-1.6.7/ref/html &&
install -v -m644 doc/tutorial/guile-tut.html/* \
/usr/share/doc/guile-1.6.7/tutorial/html