GNU Artanis-0.3.2 发布

45 views
Skip to first unread message

Nala Ginrut

unread,
Jun 13, 2019, 4:30:08 AM6/13/19
to sz...@googlegroups.com, lis...@googlegroups.com, szlug, gz...@googlegroups.com

Louis de Guenchy

unread,
Sep 16, 2019, 9:33:15 PM9/16/19
to Lisp-cn(Lisp中文用户组)
make 失败   试了无数个版本的artanis都不行

MacOS


artanis-0.3.2

guile -v

guile (GNU Guile) 2.2.6


make

make[1]: `artanis/version.scm' is up to date.

+ compiling artanis/version.scm

script: illegal option -- e

usage: script [-adkpqr] [-t time] [file [command ...]]

cat: build.err.version.go: No such file or directory

make: *** [obj/artanis/version.go] Error 1



在 2019年6月13日星期四 UTC+2上午10:30:08,Nala Ginrut写道:
https://lists.gnu.org/archive/html/artanis/2019-06/msg00000.html

Nala Ginrut

unread,
Sep 16, 2019, 11:01:53 PM9/16/19
to lis...@googlegroups.com
刚入门请用docker

Louis de Guenchy <louis.d...@gmail.com> 于 2019年9月17日周二 09:33写道:
--
--
Lisp-cn(Lisp中文用户组)
CLUG http://lisp.org.cn

---
您收到此邮件是因为您订阅了Google网上论坛上的“Lisp-cn(Lisp中文用户组)”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到lisp-cn+u...@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/lisp-cn/ed656abe-244f-4067-a4e6-23e567511040%40googlegroups.com

Nala Ginrut

unread,
Sep 16, 2019, 11:04:49 PM9/16/19
to lis...@googlegroups.com
运行:
docker run --it -p 3000:3000 registry.gitlab.com/nalaginrut/artanis bash

接下来按照文档玩就行了

Nala Ginrut <nalag...@gmail.com> 于 2019年9月17日周二 11:01写道:

Jactry Zeng

unread,
Sep 17, 2019, 12:31:05 AM9/17/19
to lis...@googlegroups.com


On Tue, Sep 17, 2019 at 1:33 AM Louis de Guenchy <louis.d...@gmail.com> wrote:
>
> make
>
> make[1]: `artanis/version.scm' is up to date.
>
> + compiling artanis/version.scm
>
> script: illegal option -- e
>
> usage: script [-adkpqr] [-t time] [file [command ...]]
>
> cat: build.err.version.go: No such file or directory
>
> make: *** [obj/artanis/version.go] Error 1
>

macOS 的 script 是 BSD script 吧,没有 -e 这个选项,Artanis 估计用的是 GNU script。

--
Regards,
Jactry Zeng

Nala Ginrut

unread,
Sep 17, 2019, 12:32:48 AM9/17/19
to lis...@googlegroups.com
除此之外,macOS要用kqueue,目前不支持,还是docker就行了,以后想布到VPS也方便

Jactry Zeng <jact...@gmail.com> 于 2019年9月17日周二 12:31写道:
--
--
Lisp-cn(Lisp中文用户组)
CLUG http://lisp.org.cn

---
您收到此邮件是因为您订阅了Google网上论坛上的“Lisp-cn(Lisp中文用户组)”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到lisp-cn+u...@googlegroups.com

Louis de Guenchy

unread,
Sep 20, 2019, 10:29:29 PM9/20/19
to Lisp-cn(Lisp中文用户组)

root@64928c32a606:/# guile

GNU Guile 2.2.4

Copyright (C) 1995-2017 Free Software Foundation, Inc.


Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.

This program is free software, and you are welcome to redistribute it

under certain conditions; type `,show c' for details.


Enter `,help' for help.

scheme@(guile-user)> (use-modules (artanis artanis))

scheme@(guile-user)> (init-server)

Loading /etc/artanis/artanis.conf...done.

scheme@(guile-user)> (get "/hello" (lambda () "hello world"))

$1 = #<handler-context handler: #<procedure 55a667f92c48 at <unknown port>:3:14 ()> keys: () oht: #f>

scheme@(guile-user)> (run #:port 8080)

Session with SIMPLE backend init done!

Server core: ragnarok

http://127.0.0.1:8080

Anytime you want to quit just try Ctrl+C, thanks!


$ curl 127.0.0.1:8080/hello

curl: (52) Empty reply from server




在 2019年9月17日星期二 UTC+2上午6:32:48,Nala Ginrut写道:
除此之外,macOS要用kqueue,目前不支持,还是docker就行了,以后想布到VPS也方便

Jactry Zeng <jact...@gmail.com> 于 2019年9月17日周二 12:31写道:


On Tue, Sep 17, 2019 at 1:33 AM Louis de Guenchy <louis.d...@gmail.com> wrote:
>
> make
>
> make[1]: `artanis/version.scm' is up to date.
>
> + compiling artanis/version.scm
>
> script: illegal option -- e
>
> usage: script [-adkpqr] [-t time] [file [command ...]]
>
> cat: build.err.version.go: No such file or directory
>
> make: *** [obj/artanis/version.go] Error 1
>

macOS 的 script 是 BSD script 吧,没有 -e 这个选项,Artanis 估计用的是 GNU script。

--
Regards,
Jactry Zeng

--
--
Lisp-cn(Lisp中文用户组)
CLUG http://lisp.org.cn

---
您收到此邮件是因为您订阅了Google网上论坛上的“Lisp-cn(Lisp中文用户组)”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到lisp-cn+unsubscribe@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/lisp-cn/CAManwEyDY3rvcOcFp8hgh29rX%3D6R0uC8K9S2GNK%2BvYu6Vx9P-g%40mail.gmail.com

Nala Ginrut

unread,
Sep 20, 2019, 11:22:08 PM9/20/19
to lis...@googlegroups.com
docker里127.0.0.1不能映射端口,要改成0.0.0.0,用art work -h 0.0.0.0

Louis de Guenchy <louis.d...@gmail.com> 于 2019年9月21日周六 10:29写道:
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到lisp-cn+u...@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/lisp-cn/CAManwEyDY3rvcOcFp8hgh29rX%3D6R0uC8K9S2GNK%2BvYu6Vx9P-g%40mail.gmail.com

--
--
Lisp-cn(Lisp中文用户组)
CLUG http://lisp.org.cn

---
您收到此邮件是因为您订阅了Google网上论坛上的“Lisp-cn(Lisp中文用户组)”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到lisp-cn+u...@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/lisp-cn/32b609ec-4a6b-4764-82e7-dc5982095e75%40googlegroups.com

Nala Ginrut

unread,
Sep 20, 2019, 11:23:54 PM9/20/19
to lis...@googlegroups.com
或者(run #:host "0.0.0.0" #:port 3000)

Nala Ginrut <nalag...@gmail.com> 于 2019年9月21日周六 11:21写道:
Reply all
Reply to author
Forward
0 new messages