centos 6.3安装Haskell Platform随笔

本文提供了解决yum install异常锁死的方法,并详细记录了Haskell及其平台的安装步骤,包括依赖库gmp、zlib和OpenGL的获取及安装。

系统安装不在阐述,配置好网络可以连接外网;然后开始安装:

问题1:yum install使用不了   Exception:Another app is currently holding the yum lock;

解决方案:

    参考:http://www.2cto.com/os/201201/117795.html

    #ps -ef|grep upate

    找到进程,强制kill掉,之后删除运行进程文件

    #rm -f /var/run/yum.pid

安装过程:

1:下载最新的ghc和Haskell Platform:

      链接地址:http://www.haskell.org/platform/

安装ghc没什么问题;

安装Haskell Platform时, 需要安装gmp包:

      gmp包 下载地址:http://gmplib.org/

configure 时 还可能报:configure: error: The zlib C library is required.

      zlib包 下载地址:http://zlib.net/

configure 是 还可能报:configure: error: The OpenGL C library is required.

      执行操作yum安装:

      #yum -y install mesa *

      #yum -y install freeglut*

最后,make install即可;

转载于:https://www.cnblogs.com/aquariusm/archive/2013/01/21/2870182.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值