Introduction to G-Wrap

The G-Wrap package contains tools for exporting C libraries into Scheme interpreters.

Package Information

G-Wrap Dependencies


SLIB-3a4 and GLib-1.2.10


guile-gtk and GCC-4.1.2 (build Java so that libffi is built)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gwrap

Installation of G-Wrap

Install G-Wrap by running the following commands:

./configure --prefix=/usr &&

If you have teTeX-3.0 installed and wish to create alternate formats of the documentation, issue the following commands:

cd doc &&
texi2pdf g-wrap.texi &&
texi2html g-wrap.texi &&
makeinfo --plaintext -o g-wrap.txt g-wrap.texi &&
mv texinfo.tex texinfo.tex.SAVE &&
texi2dvi g-wrap.texi &&
dvips -o g-wrap.ps g-wrap.dvi &&
cd ..

To test the results, issue: make check.

Now, as the root user:

make install

If you created the alternate formats of the documentation, install it using the following commands as the root user:

install -v -m755 -d /usr/share/doc/g-wrap-1.3.4 &&
install -v -m644 doc/g-wrap.{pdf,html,txt,dvi,ps} \


Installed Program: g-wrap-config
Installed Libraries: libgw-glib.{so,a}, libgw-gtk.{so,a}, libgw-standard.{so,a}, libgw-wct.{so,a}, libgwrap-glib.{so,a} and libgwrap-wct.{so,a}
Installed Directories: /usr/include/g-wrap, /usr/share/doc/g-wrap-1.3.4 and /usr/share/guile/site

Short Descriptions


is a tool to generate CFLAGS for linking C code to the Scheme runtime libraries.

Last updated on 2007-07-14 18:27:07 -0500