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
https://lists.gnu.org/archive/html/artanis/2019-06/msg00000.html
--
--
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。
--
--
Lisp-cn(Lisp中文用户组)
CLUG http://lisp.org.cn
---
您收到此邮件是因为您订阅了Google网上论坛上的“Lisp-cn(Lisp中文用户组)”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到lisp-cn+u...@googlegroups.com。
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
Anytime you want to quit just try Ctrl+C, thanks!
$ curl 127.0.0.1:8080/hello
curl: (52) Empty reply from server
除此之外,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。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到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。