Introduction to Guile
        
        
          The Guile package contains the GNU
          Project's extension language library. Guile also contains a stand alone Scheme interpreter.
        
        
          ![[Note]](../images/note.png) 
          
            Note
          
          
            Development versions of BLFS may not build or run some packages
            properly if LFS or dependencies have been updated since the most
            recent stable versions of the books.
          
         
        
          Package Information
        
        
          
            - 
              
                Download (HTTP): https://ftp.gnu.org/gnu/guile/guile-3.0.10.tar.xz
               
- 
              
                Download MD5 sum: 375f8a423a23d229552512113aa4a954
               
- 
              
                Download size: 5.5 MB
               
- 
              
                Estimated disk space required: 184 MB (add 4 MB for tests)
               
- 
              
                Estimated build time: 4.5 SBU (Using parallelism=4; add 0.3
                SBU for tests)
               
 
        
          Additional Downloads
        
        
        
          Guile Dependencies
        
        
          Required
        
        
          GC-8.2.10 and
          libunistring-1.4.1
        
        
          Optional
        
        
          Emacs-30.2 and GDB-16.3 (run-time only dependencies).
        
       
      
        
          Installation of Guile
        
        
          First, if you are on a 32-bit system, fix a build failure:
        
        case $(uname -m) in
    i?86) patch -Np1 -i ../guile-3.0.10-32bit_fixes-1.patch ;;
esac
        
          Install Guile by running the
          following commands:
        
        CC="gcc -std=gnu17"          \
./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/guile-3.0.10 &&
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: ./check-guile. On an i686 system,
          as many as 10 tests will fail in the numbers.test test suite due to minor
          floating-point rounding errors.
        
        
          Now, as the root user:
        
        make install      &&
make install-html &&
mkdir -p                       /usr/share/gdb/auto-load/usr/lib &&
mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &&
mv /usr/share/doc/guile-3.0.10/{guile.html,ref} &&
mv /usr/share/doc/guile-3.0.10/r5rs{.html,}     &&
find examples -name "Makefile*" -delete         &&
cp -vR examples   /usr/share/doc/guile-3.0.10   &&
for DIRNAME in r5rs ref; do
  install -v -m644  doc/${DIRNAME}/*.txt \
                    /usr/share/doc/guile-3.0.10/${DIRNAME}
done &&
unset DIRNAME