开发者

Cabal and zlib on OS X

开发者 https://www.devze.com 2022-12-31 14:32 出处:网络
When I run \"cabal update\" on my Mac (Snow Leopard, Intel), I get: % cabal update Downloading the latest package list from hackage.haskell.org

When I run "cabal update" on my Mac (Snow Leopard, Intel), I get:

% cabal update Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: incompatible zlib version

Anyone else seeing this? Reinstalling the Haskell Platform hasn't helped. I'm unable to install or update Cab开发者_如何学JAVAal packages at the moment, so I'd appreciate any help.

Thanks!


Incompatible zlib version

I think this means the C zlib library you have installed is out of date. Can you update it?


What I've done is install zlib from MacPorts with the +universal flag and that works without problems. Does this help you?


So I fixed this by removing MacPorts completely from my machine, re-installing zlib with it, and then clearing out my ~/.cabal.

After that I stopped getting these messages.

Thanks, all.

0

精彩评论

暂无评论...
验证码 换一张
取 消