Tag: haskell

在Ubuntu 13.04上从源代码安装Haskell平台:找不到OpenGL

我正在尝试使用以下说明在一个相当新的Ubuntu 13.04上安装Haskell Platform 2013.2.0.0: 如何为Ubuntu 13.04安装Haskell平台? 我已经安装了评论中提到的额外软件包,但是configure步骤会生成与找不到OpenGL相关的错误。 这里是: > ./configure # Omitting some output # … checking for zlibVersion in -lz… yes checking GL/gl.h usability… yes checking GL/gl.h presence… yes checking for GL/gl.h… yes checking for library containing glEnd… no configure: error: The OpenGL C library is required 奇怪的是,它可以找到OpenGL头,但它找不到glEnd 。 什么可能导致这个?

无法编译Glasgow Haskell编译器

./configure checking for gfind… no checking for find… /usr/bin/find checking for sort… /usr/bin/sort checking for ghc… no configure: error: GHC is required unless bootstrapping from .hc files. 256 我想安装Glasgow Haskell Compiler,而./configure要求GHC。 它要求什么样的GHC? 全球强子对撞机? 我从http://www.haskell.org/ghc/download_ghc_7_6_3下载了源代码

尝试通过cabal安装安装pandoc失败

由于存储库中的pandoc软件包已过时,我想通过cabal-install安装它。 我运行cabal update ,然后cabal install pandoc失败了: cabal: Couldn’t read cabal file “pandoc/1.9.4.4/pandoc.cabal” 这可能是相关的: cabal –version cabal-install version 0.10.2 using version 1.10.1.0 of the Cabal library 我的机器正在运行oneiric。

如何为Ubuntu 13.04安装Haskell平台?

如何为Ubuntu 13.04安装Haskell平台? 当我键入sudo apt-get install haskell-platform时出现以下错误: E: Unable to locate package haskell-platform error