unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Matt Wette <mwette@alumni.caltech.edu>
To: guile-user@gnu.org
Subject: Re: request for help with module build/install
Date: Sat, 04 Jul 2015 19:19:47 -0700	[thread overview]
Message-ID: <4E8012C4-1450-4BCE-99AA-2007F20F1C0D@alumni.caltech.edu> (raw)
In-Reply-To: <1435806778.4336.53.camel@Renee-desktop.suse>

[-- Attachment #1: Type: text/plain, Size: 2002 bytes --]

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$ 


[-- Attachment #2: Type: text/html, Size: 3855 bytes --]

  reply	other threads:[~2015-07-05  2:19 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 [this message]
2015-07-05  8:42     ` Jan Wedekind
2015-07-05 13:05       ` Matt Wette
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=4E8012C4-1450-4BCE-99AA-2007F20F1C0D@alumni.caltech.edu \
    --to=mwette@alumni.caltech.edu \
    --cc=guile-user@gnu.org \
    /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).