Re: How to install slib? (was Re: Help with a basic install)




Chiel Postma writes:

 > guile> (use-modules (ice-9 slib))
 > guile> (require 'random) ;; any other slib-module will do
 > 
 > and then you're done.
 > 
 > Michael

Been there, done that :( I still get the same error :

-----------------------------------------------------------------

guile> (use-modules (ice-9 slib))
guile> (require 'random)
ERROR: In expression identity:
ERROR: Unbound variable: identity
ABORT: (misc-error)

- or, when compiling :

make[2]: Entering directory `/home/bobo/test/gnome/gnome-guile/guile-gtk'
./gen-typeinfo infomac gtk.defs ./guile.details >tmph \
&& mv tmph gtk-types.h
guile: Unbound variable: identity

-----------------------------------------------------------------

This probably belongs to the FAQ. Can someone explain what I did
wrong, or missed ? Here are the steps :

1. downloaded guile-1.2.tar.gz from ftp.fsf.org
2. unpacked it
3. ./configure --prefix=/home/bobo/gnome
4. make
5. make install

# the guile libs are now in /home/bobo/gnome/lib
6. export LD_LIBRARY_PATH=/home/bobo/gnome/lib

7. guile
guile> %load-path
("/home/bobo/gnome/share/guile/site" "/home/bobo/gnome/share/guile/1.2" "/home/bobo/gnome/share/guile" ".")

--> looks ok.

8. cd /home/bobo/gnome/share/guile/site
9. tar xzvf ~/slib2c0.tar.gz
10. guile
guile> (use-modules (ice-9 slib))
guile> (require 'format)		; as per guile-ref.info
ERROR: In expression identity:
ERROR: Unbound variable: identity
ABORT: (misc-error)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]