1 This package contains Common Lisp bindings to GTK+ v2.0. It currently
2 only works with CMUCL 19a, but ports to other CL implementations may
9 The most recent version of this package can be found: in CVS
16 1. When building for CMUCL, first obtain a matching binary and source
17 tree (the only source file you will actually need is lisp.h and a
18 couple of other header files). On ELF systems you may also have to
19 rebuild lisp with -rdynamic added to OS_LINK_FLAGS.
22 2. Set up paths to reflect your system:
24 - Add a logical-pathname-translation to clg in ~/.cmucl-init.lisp
25 or some other startup file. Example:
28 (logical-pathname-translations "clg")
29 '(("**;*.*.*" "/home/espen/src/clg/**/")))
31 - Set the correct pkg-config search path if your gtk+ installation
32 is in an unusual place, by adding it to the PKG_CONFIG_PATH
33 environment variable before starting lisp.
35 - Set *cmucl-include-path* to point to the directory where the
36 lisp.h file resides, if it is not in the default place. Try "locate
37 'lisp/lisp.h'" if you don't know the location.
40 3. Compile and load the system:
42 (asdf:oos 'asdf:load-op :gtk)
44 Currently it will fail with:
46 Error in function KERNEL::%REDEFINE-DEFSTRUCT:
47 Redefining class PCL::SLOT-INFO incompatibly with the current definition.
49 Just accept the redefinition (restart 1) to continue building or loading.
52 4. If everything worked, try (load "hello-world") to see a small
53 window pop up, and then run testgtk.lisp in the example directory.
56 Send comments and patches to clg-devel@lists.sourceforge.net or
57 espen@users.sourceforge.net.