From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: request for help with module build/install Date: Sun, 05 Jul 2015 06:05:33 -0700 Message-ID: <19B31724-26A9-4C2E-8B4D-32A085C81CA1@alumni.caltech.edu> References: <4853AD2C-C8E3-4CD3-88B0-6823EC8A15B5@alumni.caltech.edu> <1435806778.4336.53.camel@Renee-desktop.suse> <4E8012C4-1450-4BCE-99AA-2007F20F1C0D@alumni.caltech.edu> <3a180093-82f8-44cb-a4cf-9befe089a863@email.android.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436101578 5796 80.91.229.3 (5 Jul 2015 13:06:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 13:06:18 +0000 (UTC) Cc: guile-user@gnu.org To: Jan Wedekind Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jul 05 15:06:08 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 1ZBjcW-0003z2-L4 for guile-user@m.gmane.org; Sun, 05 Jul 2015 15:06:08 +0200 Original-Received: from localhost ([::1]:46705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBjcV-0004R3-Sf for guile-user@m.gmane.org; Sun, 05 Jul 2015 09:06:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBjcN-0004Qv-U9 for guile-user@gnu.org; Sun, 05 Jul 2015 09:06:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBjcI-0003oQ-V1 for guile-user@gnu.org; Sun, 05 Jul 2015 09:05:59 -0400 Original-Received: from vms173021pub.verizon.net ([206.46.173.21]:61076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBjcI-0003nP-Pg for guile-user@gnu.org; Sun, 05 Jul 2015 09:05:54 -0400 Original-Received: from [192.168.2.127] ([71.108.227.241]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NR00086WN1AL930@vms173021.mailsrvcs.net> for guile-user@gnu.org; Sun, 05 Jul 2015 08:05:35 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=Jp0M15MC c=1 sm=1 tr=0 a=C7TgS9Pb229lFodQust5qw==:117 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=kj9zAlcOel0A:10 a=zOBTXjUuO1YA:10 a=pGLkceISAAAA:8 a=QvoPYZ6UAAAA:8 a=ShUbJ5phfQM4bMJNsqAA:9 a=CjuIK1q_8ugA:10 In-reply-to: <3a180093-82f8-44cb-a4cf-9befe089a863@email.android.com> X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.46.173.21 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:11910 Archived-At: Ah, thanks. The cached files under the user directory are .scm.go, but = the ones in the global are .go. On Jul 5, 2015, at 1:42 AM, Jan Wedekind wrote: > I think the file names should be *.go (not *.scm.go). >=20 > 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. >>=20 >> 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.) >>=20 >> 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 >>=20 >> 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 >>=20 >> 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/site/= 2.0/nyacc/util.scm.go >> ;;; compiled >> = /Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/opt/local/share/guile/site/= 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/site/= 2.0/nyacc/lex.scm.go >> ;;; compiled >> = /Users/mwette/.cache/guile/ccache/2.0-LE-8-2.0/Users/mwette/proj/scheme/my= proj/lalr1/dist/test-suite/nyacc/calc.scm.go >> 2 >> mwette$=20 >=20 > --=20 > Jan Wedekind > http://www.wedesoft.de/