通过Cabal安装了Haskell hoogle,但未找到hoogle命令 [英] Haskell hoogle installed through cabal, but hoogle command not found

查看:117
本文介绍了通过Cabal安装了Haskell hoogle,但未找到hoogle命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

钩子(hoogle-4.2.36)安装过程看起来很成功,除了在命令行中键入"hoogle"时,它会抱怨"hoogle:not found".

The hoogle (hoogle-4.2.36) installation process looks successful, except that when typing "hoogle" at the command line, it complains "hoogle: command not found".

在两台计算机(都运行MAC OS X Yosemite)上对此进行了尝试,但它们完全相同地失败了.有什么建议可以解决这个问题吗?

Tried this on two machines (both running MAC OS X Yosemite), they failed exactly the same way. Any suggestions to resolve this?

谢谢!

推荐答案

感谢您的信息,我在".cabal/bin"中找到了"hoogle"可执行文件. las,为什么不把它添加到PATH中?

Thanks to your information, I found my "hoogle" executable in ".cabal/bin". Alas, why doesn't cabal add it to PATH?

这篇关于通过Cabal安装了Haskell hoogle,但未找到hoogle命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆