unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Installing SLIB 3b1 with Guile 1.8.6 (to work with Gnucash 2.8.8)  [SOLVED]
@ 2009-01-27 23:29 Tom Browder
  2009-01-29 13:33 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Browder @ 2009-01-27 23:29 UTC (permalink / raw)
  To: guile-user; +Cc: gnucash-devel, gnucash-user

I have successfully gotten slib version 3b1 to work with guile 1.8.6.
The following instructions from paragraph 6.6.1 of the guile 1.8.6
manual (http://www.gnu.org/software/guile/manual/html_node/SLIB-installation.html#SLIB-installation)
have been corrected according to my experience (Centos 5.2, x86_64):

[Note that instructions need to be updated to work with slib 3b1; note also
that the link to the SLIB installation is broken.]

==========

6.1.1 SLIB installation

The following procedure works, e.g., with SLIB version 3b1 (see SLIB
installation):

   1. Unpack SLIB and install it using make install from its directory. By
      default, this will install SLIB in /usr/local/lib/slib/. Running make
      installinfo installs its documentation, by default under
      /usr/local/info/.

   2. Create a symlink in the Guile directory to SLIB, e.g.:

                mkdir -p /usr/local/share/guile/site
                ln -s /usr/local/lib/slib /usr/local/share/guile/site/slib

   3. Use Guile to create the catalog file, e.g.,:

                # guile
                guile> (use-modules (ice-9 slib))
                guile> (require 'new-catalog)
                guile> (quit)

      The catalog data should now be in /usr/local/share/guile/site/slibcat.

      If instead you get an error such as:

          Unbound variable: scheme-implementation-type

      then a solution is to get a newer version of Guile, or to modify
ice-9/slib.scm to use define-public for the offending variables.

   4. Test the installation by executing the following at the command line:

                guile -c "(use-modules (ice-9 slib)) (require 'printf)"

==========

Notice that the instructions for setting environment variables, for
some reason, did not work for me.  I have seen several other threads
from other folks who have had the same experience, i.e., environment
variables not working.

Notice also that the directory /usr/local/share/guile/site was not
produced during the guile installation, and putting the slib directory
under /usr/local/share/guile/1.8 didn't work either.

I hope someday to know enough about the two packages to find out why
the interface is not more robust.

Good luck slib users, especially those trying to install gnucash from source!

Cheers,

-Tom

Tom Browder
Niceville, Florida
USA




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-29 18:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 23:29 Installing SLIB 3b1 with Guile 1.8.6 (to work with Gnucash 2.8.8) [SOLVED] Tom Browder
2009-01-29 13:33 ` Ludovic Courtès
2009-01-29 16:05   ` Tom Browder
2009-01-29 18:40     ` Ludovic Courtès
2009-01-29 18:58       ` Tom Browder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).