Date: Sun, 26 Jul 2009 07:19:18 -0500 From: "RandomUser" <rannumgen@globaleyes.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/137151: ports/slib-guile using latest 3b1 version of slib fails to install "(require 'new-catalog)" -> Error code 1 Message-ID: <1248610758.3574@FreeBSD2.LocalNET10> Resent-Message-ID: <200907261240.n6QCe1qO045933@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137151 >Category: ports >Synopsis: ports/slib-guile using latest 3b1 version of slib fails to install "(require 'new-catalog)" -> Error code 1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 12:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: RandomUser >Release: FreeBSD 6.4-STABLE i386 >Organization: >Environment: System: FreeBSD 6.4-STABLE #0: Sat Jul 4 18:28:39 CDT 2009 libgmp-4.3.1 guile-1.8.6_1 slib-3b1_1 (manual adjustment to slib install to get latest version: 3b1) setenv GUILE_LOAD_PATH=/usr/local/share/slib/ >Description: ===> Installing for slib-guile-3b1_1 ===> slib-guile-3b1_1 depends on file: /usr/local/share/slib/require.scm - found ===> slib-guile-3b1_1 depends on executable: guile - found ===> Generating temporary packing list ===> Checking if lang/slib-guile already installed /bin/ln -shf /usr/local/share/slib /usr/local/share/guile/1.8/slib cd /usr/local/share/guile/1.8/slib && /usr/local/bin/guile -q -l guile.init -c "(require 'new-catalog)" *** Error code 1 Stop in /ad4/usrports/lang/slib-guile. >How-To-Repeat: Before setting GUILE_LOAD_PATH=/usr/local/share/slib/, the error message was: /bin/ln -shf /usr/local/share/slib /usr/local/share/guile/1.8/slib cd /usr/local/share/guile/1.8/slib && /usr/local/bin/guile -q -l guile.init -c "(require 'new-catalog)" ERROR: Unbound variable: require *** Error code 1 Stop in /ad4/usrports/lang/slib-guile. >Fix: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A) Modify "do-install" target in the Makefile === from ${LN} -shf ${PREFIX}/share/slib ${LOCALBASE}/share/guile/1.8/slib cd ${PREFIX}/share/guile/1.8/slib && \ ${LOCALBASE}/bin/guile -q -l guile.init -c \ "(require 'new-catalog)" === to ${LN} -shf ${PREFIX}/share/slib ${LOCALBASE}/share/guile/1.8/slib cd ${PREFIX}/share/guile/1.8/slib && \ ${LOCALBASE}/bin/guile -q -l guile.init -c \ "(use-modules (ice-9 slib));(require 'new-catalog)" =========== PATCH ============== 9,10c9,10 < PORTVERSION= 3a4 # Keep this in sync with lang/slib < PORTREVISION= 2 --- > PORTVERSION= 3b1 # Keep this in sync with lang/slib > PORTREVISION= 1 29c29 < "(require 'new-catalog)" --- > "(use-modules (ice-9 slib))(require 'new-catalog)" =========== REFERENCE ================ http://sources.redhat.com/ml/guile/2000-04/msg00114.html - - - - - - - - - - - - - - - - - - - - - - - - - - B) mkdir /usr/local/share/guile/site -- -- - - - - - - - - - - - - - - - - - - - - - - - NOTE: when compiling GnuCASH which requires "/usr/local/share/guile/1.8/slibcat", it was necessary to create a link from "../guile/site/slibcat". Don't know if this is the proper way to handle this requirement for slibcat or not. Installing slib-3b1 has fixed GnuCASH's requrement for slib-3b1 (as noted in the above REFERENCE). COMMENTS: I am not really famiilar with guile or slib. Also, creating "$HOME/.guile" as recommended didn't help. ktrace showed that it wasn't being used during "make install" - hence the change to the Makefile. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1248610758.3574>