guile 1.8.3 + slib 3a5

Petr Ovtchenkov ptr at
Wed Jan 23 23:52:13 PST 2008

Successful build of guile 1.8.3 + slib 3a5.


Hints: removed patch for LFS's patch for slib, added /usr/share/guile/site directory
creation and few links to make guile + slib happy.

# guile

tar -C $BLFS_BUILD -xf $BLFS_SRC/guile-1.8.3.tar.gz
( echo "=================== guile";
  cd $BLFS_BUILD/guile-1.8.3 &&
  sed -i -e '20,$ d' -e 's|slib)|&)\n(load-from-path "slib/guile.init")|' ice-9/slib.scm;
  ./configure --prefix=/usr &&
  make &&
  make install
  find examples -name "Makefile*" -exec rm {} \;
  install -m 755 -d /usr/share/doc/guile-1.8.3
  cp -R examples /usr/share/doc/guile-1.8.3
) 2>&1 | tee -a $BLFS_BUILD/blfs.log

# slib

tar -C $BLFS_BUILD -xf $BLFS_SRC/slib3a5.tar.gz
( echo "=================== slib";
  cd $BLFS_BUILD/slib &&
  sed -i 's|usr/lib|usr/share|' {RScheme,guile}.init
  make prefix=/usr/ libdir=/usr/share/ mandir=/usr/share/man/ infodir=/usr/share/info/ install installinfo &&
  install -v -m755 -d                  /usr/share/doc/slib-3a5
  install -v -m644 ANNOUNCE FAQ README /usr/share/doc/slib-3a5
  ln -v -s ../slib /usr/share/guile
  ln -v -s mklibcat.scm /usr/share/slib/mklibcat
  install -v -m755 -d /usr/share/guile/site
  ln -v -s ../slibcat /usr/share/guile/site/slibcat
  guile -l guile.init -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
) 2>&1 | tee -a $BLFS_BUILD/blfs.log


   - Petr Ovtchenkov

More information about the blfs-dev mailing list