From: Matt Wette <mwette@alumni.caltech.edu>
To: Jan Wedekind <jan@wedesoft.de>
Cc: guile-user@gnu.org
Subject: Re: request for help with module build/install
Date: Sun, 05 Jul 2015 06:05:33 -0700 [thread overview]
Message-ID: <19B31724-26A9-4C2E-8B4D-32A085C81CA1@alumni.caltech.edu> (raw)
In-Reply-To: <3a180093-82f8-44cb-a4cf-9befe089a863@email.android.com>
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 <jan@wedesoft.de> wrote:
> I think the file names should be *.go (not *.scm.go).
>
> On July 5, 2015 3:19:47 AM GMT+01:00, Matt Wette <mwette@alumni.caltech.edu> wrote:
>> On Jul 1, 2015, at 8:12 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
>>> For .scm files, you may put it to (%site-dir)
>>> MOD_PATH := $(shell guile -c "(display (%site-dir))")
>>>
>>> For compiled .go, you may put it to (%site-ccache-dir) here:
>>> COMPILED_MOD := $(shell guile -c "(display (%site-ccache-dir))")
>>>
>>> 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= guile calc.scm
>> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
>> ;;; 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/myproj/lalr1/dist/test-suite/nyacc/calc.scm.go
>> 2
>> mwette$
>
> --
> Jan Wedekind
> http://www.wedesoft.de/
next prev parent reply other threads:[~2015-07-05 13:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-02 0:56 request for help with module build/install Matt Wette
2015-07-02 3:12 ` Nala Ginrut
2015-07-05 2:19 ` Matt Wette
2015-07-05 8:42 ` Jan Wedekind
2015-07-05 13:05 ` Matt Wette [this message]
2015-07-05 13:44 ` Jan Wedekind
2015-07-02 7:01 ` Jan Wedekind
2015-07-02 8:04 ` Chaos Eternal
2015-07-02 13:08 ` Matt Wette
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19B31724-26A9-4C2E-8B4D-32A085C81CA1@alumni.caltech.edu \
--to=mwette@alumni.caltech.edu \
--cc=guile-user@gnu.org \
--cc=jan@wedesoft.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).