guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: request for help with module build/install


From: Jan Wedekind
Subject: Re: request for help with module build/install
Date: Sun, 05 Jul 2015 14:44:15 +0100
User-agent: K-9 Mail for Android

Hmm ok. Also the timestamp of the *.go file needs to be more recent than the 
*.scm source. But that looked ok in the "ls" output you posted.

On July 5, 2015 2:05:33 PM GMT+01:00, Matt Wette <address@hidden> wrote:
>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 <address@hidden> 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
><address@hidden> wrote:
>>> On Jul 1, 2015, at 8:12 PM, Nala Ginrut <address@hidden>
>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/

-- 
Jan Wedekind
http://www.wedesoft.de/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]