Re: [Haskell-cafe] Upgrading to Haskell Platform

2010-03-13 Thread Jason Dagit
On Wed, Mar 10, 2010 at 8:50 AM, David Place d...@vidplace.com wrote:

 Hi:

 I am running GHC 6.10.4 on Mac OSX 10.6.2.   Somehow, I have a broken
 version of Cabal (1.6.0.3) installed.


In what was is it broken?  A co-worker of mine had problem recently where
her cabal was giving Bus error whenever it tried to use network
functionality (fetch, update, install).  We could see where this was
happening by running something like:
gdb --args cabal install
 run

And we'd see the mangle name of Network.Socket.getSocketOptions at the top
of the stack trace.  dtruss wasn't much help here, but that may have been a
lack of experience with that tool.

The solution for my co-worker was to upgrade to network-2.2.1.7 then rebuild
HTTP-4000.0.9 against the upgraded network library then rebuild/reinstall
the latest Cabal and cabal-install packages.  This had to be done using
runghc Setup ... instead of cabal.  Whenever she would type 'cabal install'
(even from inside a package's directory) it would try to download from
hackage and give another Bus error.

Does that sound like your problem?



  In order to fix it, I thought I should just upgrade to the Haskell
 Platform.  Is it necessary to uninstall my current GHC first?  If, so, how?


I don't think you need to uninstall your current GHC.  I tend to have
multiple GHC's installed.  But, you should know that the next Haskell
Platform release is very soon (before the end of the month) and it will
include ghc 6.12.

I hope that helps,
Jason
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Upgrading to Haskell Platform

2010-03-13 Thread David Place

On Mar 13, 2010, at 12:39 PM, Jason Dagit wrote:

 On Wed, Mar 10, 2010 at 8:50 AM, David Place d...@vidplace.com wrote:
 Hi:
 
 I am running GHC 6.10.4 on Mac OSX 10.6.2.   Somehow, I have a broken version 
 of Cabal (1.6.0.3) installed.
 
 In what was is it broken? 

It turns out that I had the wrong version of zlib in my local ~/.cabal.  
Apparently, the uninstaller doesn't uninstall 
those.___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Upgrading to Haskell Platform

2010-03-12 Thread Thomas Hartman
It should not be necessary to uninstall ghc, as hask plat and ghc are
orthogonal by design.
r
Unless there is some gotcha I am unaware of, not being a mac user.

You are aware that hask plat is beta though, right?

You might be better served simply upgrading your cabal, and waiting
for the all-in-one mac packager to be really shiny.

You can grab cabal here, and after you have unzipped it run the
bootstrap script which also downloads dependencies you might need.

cheers.

2010/3/10 David Place d...@vidplace.com:
 Hi:

 I am running GHC 6.10.4 on Mac OSX 10.6.2.   Somehow, I have a broken version 
 of Cabal (1.6.0.3) installed.  In order to fix it, I thought I should just 
 upgrade to the Haskell Platform.  Is it necessary to uninstall my current GHC 
 first?  If, so, how?

 Thanks you.

 Cheers,
 David

 ___
 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] Upgrading to Haskell Platform

2010-03-12 Thread Thomas Hartman
grab cabal here I mean:

http://hackage.haskell.org/trac/hackage/wiki/CabalInstall

2010/3/12 Thomas Hartman tphya...@gmail.com:
 It should not be necessary to uninstall ghc, as hask plat and ghc are
 orthogonal by design.
 r
 Unless there is some gotcha I am unaware of, not being a mac user.

 You are aware that hask plat is beta though, right?

 You might be better served simply upgrading your cabal, and waiting
 for the all-in-one mac packager to be really shiny.

 You can grab cabal here, and after you have unzipped it run the
 bootstrap script which also downloads dependencies you might need.

 cheers.

 2010/3/10 David Place d...@vidplace.com:
 Hi:

 I am running GHC 6.10.4 on Mac OSX 10.6.2.   Somehow, I have a broken 
 version of Cabal (1.6.0.3) installed.  In order to fix it, I thought I 
 should just upgrade to the Haskell Platform.  Is it necessary to uninstall 
 my current GHC first?  If, so, how?

 Thanks you.

 Cheers,
 David

 ___
 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] Upgrading to Haskell Platform

2010-03-10 Thread David Place
Hi:

I am running GHC 6.10.4 on Mac OSX 10.6.2.   Somehow, I have a broken version 
of Cabal (1.6.0.3) installed.  In order to fix it, I thought I should just 
upgrade to the Haskell Platform.  Is it necessary to uninstall my current GHC 
first?  If, so, how?

Thanks you.

Cheers,
David

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