From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Browder Newsgroups: gmane.lisp.guile.user,gmane.comp.gnome.apps.gnucash.devel,gmane.comp.gnome.apps.gnucash.user Subject: Installing SLIB 3b1 with Guile 1.8.6 (to work with Gnucash 2.8.8) [SOLVED] Date: Tue, 27 Jan 2009 17:29:23 -0600 Message-ID: <8bc817ee0901271529q46dd9742sa1c10cf4c86af602@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233098991 26305 80.91.229.12 (27 Jan 2009 23:29:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 23:29:51 +0000 (UTC) Cc: gnucash-devel@gnucash.org, gnucash-user@gnucash.org To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jan 28 00:31:05 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRxOa-0004Ou-80 for guile-user@m.gmane.org; Wed, 28 Jan 2009 00:31:04 +0100 Original-Received: from localhost ([127.0.0.1]:38374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRxNH-0001ZL-Fy for guile-user@m.gmane.org; Tue, 27 Jan 2009 18:29:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRxN0-0001YZ-OB for guile-user@gnu.org; Tue, 27 Jan 2009 18:29:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRxMz-0001YN-HK for guile-user@gnu.org; Tue, 27 Jan 2009 18:29:25 -0500 Original-Received: from [199.232.76.173] (port=50832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRxMz-0001YK-C5 for guile-user@gnu.org; Tue, 27 Jan 2009 18:29:25 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.150]:49620) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRxMy-0002Db-TG for guile-user@gnu.org; Tue, 27 Jan 2009 18:29:25 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 4so916751eyg.24 for ; Tue, 27 Jan 2009 15:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=fnrJGNXmZKL+LV5DRSBOrovGsYOskpw/BB6hVoqXyTU=; b=FT1b1zpURezdD2JhUOO6+sYZQCwaDJnWMmwYxp4rgXNPnjriZfoYXJcofBpBO+mPT7 A0El8ZH71wctUNaOT+w139DWPIYd4gtKS2FKe8r6FPHSKx0QpBrt0nJAA7hLybT5y16k ZmplhJpgUnPX/QiB/0RA3zG8i/+Re1Q3L+bsE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=GEd5dyGf7SCdMIeylMWT+yZcOGO0NjL54GKUPa4F3XAhdZl0lYs4lQNai+QI3rd+9g LY97pldiyEwpHCmyVQIWn9NlnVsE0pCUnhH6ArgICE4qpT515PQODK/yHvxHnYiPpXrN OpBdR6hCijVm1vZHHOLCRo8XsxH6vx/bi1Flk= Original-Received: by 10.103.171.6 with SMTP id y6mr3061757muo.110.1233098963848; Tue, 27 Jan 2009 15:29:23 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7114 gmane.comp.gnome.apps.gnucash.devel:24905 gmane.comp.gnome.apps.gnucash.user:28829 Archived-At: 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