如何在 OS X 中的 Bigloo Scheme 中启用本机线程支持?
我正在尝试从源代码编译 Bigloo 方案,但我无法弄清楚如何通过 OS X 10.5 (Leopard) 中的 ./configure 启用本机线程支持(而且我还没有)不要在任何地方读到线程不应该在这个平台上工作)。
我运行 ./configure --enable-sqlite --enable-web --enable-ssl --enable-pthreads --enable-fthreads
,但在配置摘要中,我总是得到:
Release features:
release number........................ 3.2a
supported backends.................... native:yes JVM:no .NET:no
default backend....................... native
additional APIs....................... fthreads pthreads ssl web sqlite ssl sqlite web multimedia mail calendar pkgcomp pkglib
native threads support................ no
openssl support....................... yes (dtls no)
sqlite support........................ sqltiny + sqlite
dynamic libraries support............. yes
bee support........................... partial
我想要 Bigloo
才能使用 Hop
,当我尝试使用如此创建的二进制文件运行它时,我总是收到警告:
*** WARNING:bigloo:hop
Threads disabled, forcing "nothread" scheduler.
I am trying to compile Bigloo
Scheme from source and I cannot figure out how to enable native thread support via ./configure
in OS X 10.5 (Leopard) (and I haven't read anywhere that threading is not supposed to work on this platform).
I run ./configure --enable-sqlite --enable-web --enable-ssl --enable-pthreads --enable-fthreads
, but then in the configuration summary, I am always getting:
Release features:
release number........................ 3.2a
supported backends.................... native:yes JVM:no .NET:no
default backend....................... native
additional APIs....................... fthreads pthreads ssl web sqlite ssl sqlite web multimedia mail calendar pkgcomp pkglib
native threads support................ no
openssl support....................... yes (dtls no)
sqlite support........................ sqltiny + sqlite
dynamic libraries support............. yes
bee support........................... partial
I want Bigloo
in order to use Hop
, and when I try to run it using so created binary I always get the warning:
*** WARNING:bigloo:hop
Threads disabled, forcing "nothread" scheduler.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
配置脚本有一个名为“--os-macosx”的开关,请尝试使用它。 我的最后一个例子是去 https://github.com/manuel-serrano/bigloo 并提出问题。 Bigloo 正在积极开发中,最新版本是 2020 年 5 月发布的。
The configure script has a switched named "--os-macosx", try with that. Last instance for me would be to go to https://github.com/manuel-serrano/bigloo and file an issue. Bigloo is actively developed as the last release is from May, 2020.