无法使用 runghc 创建 scion_server

发布于 2024-08-29 02:36:58 字数 191 浏览 2 评论 0原文

我下载了 scion cabal 并尝试创建 scion_server

我运行了所有 runghc 设置(配置/构建/安装)

Haskell 库已安装,但 scion_server 不在 ~/.cabal/bin 中

我必须使用 - -user 配置,这样我就可以将其安装在我的帐户上。

有什么想法吗?

I downloaded the scion cabal and am attempting to created scion_server

I ran all of the runghc Setup (configure/build/install)

The Haskell libraries are installed, but the scion_server is not in the ~/.cabal/bin

I have to use a --user on configure so I can install it on just my account.

Any thoughts?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

多孤肩上扛 2024-09-05 02:36:58

尝试使用 GHC 取消注册 scion 软件包,然后重新安装。 (这通常可以为我解决此类问题。)

~/scion $ ghc-pkg unregister scion
~/scion $ cabal install

请注意,正确目录中的 cabal install 与“configure --user/build/install”相同。

Try unregistering the scion package with GHC and reinstalling it again. (That usually fixes these kinds of issues for me.)

~/scion $ ghc-pkg unregister scion
~/scion $ cabal install

Note that cabal install in the proper directory is the same as "configure --user/build/install".

心欲静而疯不止 2024-09-05 02:36:58

我在进行详细配置时发现了问题。

服务器选项默认设置为 False。

当我这样做时,

runghc Setup configure --flags="server"

我能够获取服务器文件

I found the problem when doing a verbose on configure.

The server option by default was set to False.

When I did

runghc Setup configure --flags="server"

I was able to get the server file

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文