[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] website: Add support for Haunt.
From: |
Alex Vong |
Subject: |
Re: [PATCH] website: Add support for Haunt. |
Date: |
Wed, 11 Nov 2015 13:14:09 +0800 |
Hi,
On 11/11/2015, Mathieu Lirzin <address@hidden> wrote:
> Hi,
>
> Alex Vong <address@hidden> writes:
>
>> However, there is a little problem. When I run "haunt build -c
>> guixsd.scm",
>>
> [...]
>> In unknown file:
>> ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (www)) #f]
>>
>> ERROR: In procedure scm-error:
>> ERROR: no code for module (www)
> [...]
>> This are my installed packages:
>>
> [...]
>>
>> autogen 5.18.6 out
>> /gnu/store/3gsqxw3gw862k1m1zmf2wb9p9fc30k7k-autogen-5.18.6
>> perl 5.16.1 out
>> /gnu/store/czs63sm4l0s4a56ab38dqvkx19yzylbq-perl-5.16.1
>>
>> python 3.4.3 out
>> /gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3
>>
>> guile 2.0.11 out
>> /gnu/store/5i87jzm90nw8j692y7z1j2qfx16h6ni3-guile-2.0.11
>> haunt 0.1 out
>> /gnu/store/k0cg8shqs12dh9j3a47b6hkvcrk998zg-haunt-0.1
>>
>> I also try to install guile-www from tarball, but it doesn't help. I
>> think this make sense since haunt cannot load module from my
>> /usr/share/guile/site. Does anyone know how to fix it?
>
> The (www) module is the module for the website which is defined in
> 'website/www.scm' so it not related to guile-www.
>
> What is going on is that the current working directory is not in Guile
> load path. In the git version of Haunt, this is added automatically but
> in the latest 0.1 release which is the version provided by Guix, this
> feature doesn't exist. See:
>
>
> https://git.dthompson.us/haunt.git/commit/288913eff2fc308354a373c39463e48bb879ea91
>
> Since I have only used the git version, I didn't check that. If you
> want to install the latest version from Guix, There is a development
> package definition "guix.scm" in the git repository of Haunt.
>
> Thanks for reporting the issue,
>
> --
> Mathieu Lirzin
>
I have followed your instruction but there is still a problem. After I
run `guix build -f guix.scm`, I try to run:
address@hidden:~$
/gnu/store/n8r3jj2jhs5xvpcf2d4crqk706089sxa-haunt-0.1/bin/haunt --help
Backtrace:
In ice-9/boot-9.scm:
157: 17 [catch #t #<catch-closure 2147840> ...]
In unknown file:
?: 16 [apply-smob/1 #<catch-closure 2147840>]
In ice-9/boot-9.scm:
63: 15 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
432: 14 [eval # #]
In ice-9/boot-9.scm:
2401: 13 [save-module-excursion #<procedure 2164940 at
ice-9/boot-9.scm:4045:3 ()>]
4050: 12 [#<procedure 2164940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 11 [%start-stack load-stack ...]
1729: 10 [#<procedure 217aea0 ()>]
In unknown file:
?: 9 [primitive-load
"/gnu/store/n8r3jj2jhs5xvpcf2d4crqk706089sxa-haunt-0.1/bin/haunt"]
In ice-9/eval.scm:
505: 8 [#<procedure 20186a0 at ice-9/eval.scm:499:4 (exp)> (use-modules #)]
In ice-9/psyntax.scm:
1106: 7 [expand-top-sequence ((use-modules (haunt ui))) () ...]
989: 6 [scan ((use-modules (haunt ui))) () ...]
279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3597: 4 [process-use-modules (((haunt ui)))]
702: 3 [map #<procedure 20d9d00 at ice-9/boot-9.scm:3597:25 (mif-args)> ((#))]
3598: 2 [#<procedure 20d9d00 at ice-9/boot-9.scm:3597:25 (mif-args)>
((haunt ui))]
2867: 1 [resolve-interface (haunt ui) #:select ...]
In unknown file:
?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (haunt ui)) #f]
ERROR: In procedure scm-error:
ERROR: no code for module (haunt ui)
Thanks for your help!
Cheers,
Alex
- Re: [PATCH] website: Add support for Haunt., (continued)
- Re: [PATCH] website: Add support for Haunt., Ludovic Courtès, 2015/11/06
- Re: [PATCH] website: Add support for Haunt., Thompson, David, 2015/11/06
- Re: [PATCH] website: Add support for Haunt., Ludovic Courtès, 2015/11/07
- Re: [PATCH] website: Add support for Haunt., Thompson, David, 2015/11/09
Re: [PATCH] website: Add support for Haunt., Alex Vong, 2015/11/10