From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Wedekind Newsgroups: gmane.lisp.guile.user Subject: Re: request for help with module build/install Date: Sun, 05 Jul 2015 09:42:03 +0100 Message-ID: <3a180093-82f8-44cb-a4cf-9befe089a863@email.android.com> References: <4853AD2C-C8E3-4CD3-88B0-6823EC8A15B5@alumni.caltech.edu> <1435806778.4336.53.camel@Renee-desktop.suse> <4E8012C4-1450-4BCE-99AA-2007F20F1C0D@alumni.caltech.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436085759 14307 80.91.229.3 (5 Jul 2015 08:42:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 08:42:39 +0000 (UTC) To: Matt Wette ,guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jul 05 10:42:30 2015 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZBfVO-0004Cg-3M for guile-user@m.gmane.org; Sun, 05 Jul 2015 10:42:30 +0200 Original-Received: from localhost ([::1]:46061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBfVN-0005ts-5H for guile-user@m.gmane.org; Sun, 05 Jul 2015 04:42:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBfVE-0005ta-J2 for guile-user@gnu.org; Sun, 05 Jul 2015 04:42:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBfVB-0007Bf-BX for guile-user@gnu.org; Sun, 05 Jul 2015 04:42:20 -0400 Original-Received: from basicbox4.server-home.net ([195.137.212.26]:55053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBfVB-0007B6-4t for guile-user@gnu.org; Sun, 05 Jul 2015 04:42:17 -0400 Original-Received: from [10.68.132.14] (genkt-056-123.t-mobile.co.uk [149.254.56.123]) by basicbox4.server-home.net (Postfix) with ESMTPA id 02A641530660; Sun, 5 Jul 2015 10:42:11 +0200 (CEST) User-Agent: K-9 Mail for Android In-Reply-To: <4E8012C4-1450-4BCE-99AA-2007F20F1C0D@alumni.caltech.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.137.212.26 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11909 Archived-At: I think the file names should be *.go (not *.scm.go). On July 5, 2015 3:19:47 AM GMT+01:00, Matt Wette wrote: >On Jul 1, 2015, at 8:12 PM, Nala Ginrut wrote: >> For .scm files, you may put it to (%site-dir) >> MOD_PATH :=3D $(shell guile -c "(display (%site-dir))") >>=20 >> For compiled .go, you may put it to (%site-ccache-dir) here: >> COMPILED_MOD :=3D $(shell guile -c "(display (%site-ccache-dir))") >>=20 >> And it won't be compiled again when you load it. > >This is not working for me (guile 2.0.11). See below. In addition I >have tried other items. >(In addition, when I "sudo -s" to install under /opt/local, I end up >with guild support modules owned by root in my ~/.cache dir.) > >mwette$ cd /opt/local >mwette$ ls -l share/guile/site/2.0/nyacc/ >total 184 >-rw-r--r-- 1 root admin 69804 Jul 4 18:51 lalr.scm >-rw-r--r-- 1 root admin 13564 Jul 4 18:51 lex.scm >-rw-r--r-- 1 root admin 4041 Jul 4 18:51 util.scm > >mwette$ ls -l lib/guile/2.0/site-ccache/nyacc/ >total 272 >-rw-r--r-- 1 root admin 111444 Jul 4 18:53 lalr.scm.go >-rw-r--r-- 1 root admin 15367 Jul 4 18:53 lex.scm.go >-rw-r--r-- 1 root admin 5470 Jul 4 18:53 util.scm.go > >mwette$ GUILE_LOAD_PATH=3D guile calc.scm=20 >;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 >;;; or pass the --no-auto-compile argument to disable. >;;; compiling >/Users/mwette/proj/scheme/myproj/lalr1/dist/test-suite/nyacc/calc.scm >;;; compiling /opt/local/share/guile/site/2.0/nyacc/lalr.scm >;;; compiling /opt/local/share/guile/site/2.0/nyacc/util.scm >;;; compiled >/Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/opt/local/share/guile/sit= e/2.0/nyacc/util.scm.go >;;; compiled >/Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/opt/local/share/guile/sit= e/2.0/nyacc/lalr.scm.go >;;; compiling /opt/local/share/guile/site/2.0/nyacc/lex.scm >;;; compiled >/Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/opt/local/share/guile/sit= e/2.0/nyacc/lex.scm.go >;;; compiled >/Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/Users/mwette/proj/scheme/= myproj/lalr1/dist/test-suite/nyacc/calc.scm.go >2 >mwette$=20 --=20 Jan Wedekind http://www.wedesoft.de/