Re: [Haskell-cafe] cabal problem on OS X

2010-09-19 Thread Bernie Pope
On 10 June 2010 01:08, Gregory Collins g...@gregorycollins.net wrote:
 Jeroen Weijers jeroenweijers+haskellc...@gmail.com writes:

 Hi,

 For me it turned out to be some problem with MacPorts, removing
 MacPorts (with all its installed ports) solved the problem regarding
 ZLib. I assume that a less drastic measure would also work (only
 remove selected ports or remove the ports from your path).

 This specific error happens when you try to link with a 64-bit library
 from 32-bit GHC. So the odds are good either your flags aren't set right
 in /usr/bin/ghc and friends (which was an issue on 6.10), or you're
 linking to a non-universal copy of zlib (like the one macports will
 build).

I was having this problem too, so I searched through my mail and found
this thread. I upgraded to the latest Haskell Platform 2010.2.0.0, but
the problem persisted. I noticed that macports has a universal variant
of zlib, so I installed that:

   sudo port install zlib +universal

Then I rebuild cabal, and now it works properly.

Cheers,
Bernie.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal problem on OS X

2010-06-08 Thread Gordon J. Uszkay
Did you manage to fix this problem, or are there any updates on it?  I am now 
having the same issue - presumably due to updating my Mac OS X version, because 
cabal was working fine before that.  I can't upgrade cabal or install anything 
either, same reason.

Gordon J. Uszkay
uszka...@mcmaster.ca



On May 22, 2010, at 7:27 AM, Ivan Lazar Miljenovic wrote:

 Bill Atkins watk...@alum.rpi.edu writes:
 
 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
 
 I'm going to randomly guess that the version of the C zlib library that
 Cabal was indirectly built against is different to the one on your
 machine.
 
 -- 
 Ivan Lazar Miljenovic
 ivan.miljeno...@gmail.com
 IvanMiljenovic.wordpress.com
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal problem on OS X

2010-06-08 Thread Christopher Done
I am also experiencing this problem.

I read that the problem was fixed in the latest Cabal-install version.
But I'm not sure, as I tried to install the latest Cabal-install and
got 50 linker errors which I'm not prepared to tackle until the
weekend.

On 8 June 2010 18:21, Gordon J. Uszkay uszka...@mcmaster.ca wrote:
 Did you manage to fix this problem, or are there any updates on it?  I am now 
 having the same issue - presumably due to updating my Mac OS X version, 
 because cabal was working fine before that.  I can't upgrade cabal or install 
 anything either, same reason.

 Gordon J. Uszkay
 uszka...@mcmaster.ca



 On May 22, 2010, at 7:27 AM, Ivan Lazar Miljenovic wrote:

 Bill Atkins watk...@alum.rpi.edu writes:

 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

 I'm going to randomly guess that the version of the C zlib library that
 Cabal was indirectly built against is different to the one on your
 machine.

 --
 Ivan Lazar Miljenovic
 ivan.miljeno...@gmail.com
 IvanMiljenovic.wordpress.com
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal problem on OS X

2010-06-08 Thread Jeroen Weijers
Hi,

For me it turned out to be some problem with MacPorts, removing
MacPorts (with all its installed ports) solved the problem regarding
ZLib. I assume that a less drastic measure would also work (only
remove selected ports or remove the ports from your path).

Regards,

Jeroen

2010/6/9 Christopher Done chrisd...@googlemail.com:
 I am also experiencing this problem.

 I read that the problem was fixed in the latest Cabal-install version.
 But I'm not sure, as I tried to install the latest Cabal-install and
 got 50 linker errors which I'm not prepared to tackle until the
 weekend.

 On 8 June 2010 18:21, Gordon J. Uszkay uszka...@mcmaster.ca wrote:
 Did you manage to fix this problem, or are there any updates on it?  I am 
 now having the same issue - presumably due to updating my Mac OS X version, 
 because cabal was working fine before that.  I can't upgrade cabal or 
 install anything either, same reason.

 Gordon J. Uszkay
 uszka...@mcmaster.ca



 On May 22, 2010, at 7:27 AM, Ivan Lazar Miljenovic wrote:

 Bill Atkins watk...@alum.rpi.edu writes:

 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

 I'm going to randomly guess that the version of the C zlib library that
 Cabal was indirectly built against is different to the one on your
 machine.

 --
 Ivan Lazar Miljenovic
 ivan.miljeno...@gmail.com
 IvanMiljenovic.wordpress.com
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] cabal problem on OS X

2010-05-22 Thread Bill Atkins
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.

Thanks!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal problem on OS X

2010-05-22 Thread Ivan Lazar Miljenovic
Bill Atkins watk...@alum.rpi.edu writes:

 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

I'm going to randomly guess that the version of the C zlib library that
Cabal was indirectly built against is different to the one on your
machine.

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal problem on OS X

2010-05-22 Thread Chris Eidhof
I have a different problem (also after doing a cabal update): I get a bus 
error. I just created this ticket for it: 
http://hackage.haskell.org/trac/hackage/ticket/691

-chris

On 22 mei 2010, at 13:20, Bill Atkins wrote:

 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.
 
 Thanks!
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe