Re: [Haskell-cafe] Upgraded to GHC 6.12 and can't find anything

2009-12-28 Thread Gregory Propf
Ok, I'm trying to build the haskell platform but getting this.  Anyone know 
what the problem is?  As far as I know I have all the development libs for 
OpenGL.  I'm not sure what this means.  I'm running Ubuntu 9.04 on a 64bit dual 
core AMD.

Preprocessing library GLUT-2.1.1.2...
Building GLUT-2.1.1.2...
Registering GLUT-2.1.1.2...
Setup: GLUT-2.1.1.2: dependency
OpenGL-2.2.1.1-e949822dd9af14c1680857afb46ab567 doesn't exist (use --force
to override)

Error:
Building the GLUT-2.1.1.2 package failed
make: *** [build.stamp] Error 2
make: Target `default' not remade because of errors.




--- On Sun, 12/27/09, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote:

From: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com
Subject: Re: [Haskell-cafe] Upgraded to GHC 6.12 and can't find anything
To: Gregory Propf gregorypr...@yahoo.com
Cc: Haskell-Cafe haskell-cafe@haskell.org
Date: Sunday, December 27, 2009, 11:30 PM

Gregory Propf gregorypr...@yahoo.com writes:

 I finally compiled and installed GHC 6.12 on my Linux system and it seems to 
 be failing to find a lot of things.  Notably these

 import Control.Monad
 import Control.Monad.State
 import Control.Monad.Trans
 import Control.Parallel


A lot of these kinds of modules were not actually part of GHC but
installed as part of GHC's extralibs packages (which is being replaced
by the Haskell platform).

You can get the first three modules by installing mtl and the last by
installing parallel, both of which can be found on Hackage.

-- 
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] Upgraded to GHC 6.12 and can't find anything

2009-12-28 Thread Jon Harrop
On Monday 28 December 2009 21:06:20 Gregory Propf wrote:
 Ok, I'm trying to build the haskell platform but getting this.  Anyone know
 what the problem is?  As far as I know I have all the development libs for
 OpenGL.  I'm not sure what this means.  I'm running Ubuntu 9.04 on a 64bit
 dual core AMD.

I had the same problem with Debian Lenny on a 32-bit 2x quadcore Opteron:

  http://groups.google.com/group/fa.haskell/msg/34ee76bed380438d

I found that installing the binary Debian packages (from Sid) haskell-platform 
and ghc6, and then installing ghc 6.12 from source fixed 6.10. Now I seem to 
be able to compile with 6.10 and programs run without segfaulting (but not 
6.8 or 6.12). I never managed to get cabal to work though...

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Upgraded to GHC 6.12 and can't find anything

2009-12-28 Thread Tom Hawkins
Jon,

I haven't tried GHC 6.12 or the Haskell Platform yet, but here is our
standard install procedure for our company, which has worked
consistently for us since GHC 6.8 (we use ubuntu 9.04 32-bit):

- Add ~/.ghc/bin and ~/.cabal/bin to PATH.

- Download and extract latest ghc.  Then from directory:
  $ configure --prefix=$HOME/.ghc  make install

- Download and extract cabal-install from hackage.  Then from directory:
  $ ./bootstrap.sh

- Update cabal package database:
  $ cabal update

- Install required libs and tools:
  $ cabal install darcs atom ...


When we upgrade GHC, we typically nuke ~/.cabal and ~/.ghc and start
over.  The whole process usually only takes about 20 minutes.

-Tom





On Tue, Dec 29, 2009 at 12:02 AM, Jon Harrop j...@ffconsultancy.com wrote:
 On Monday 28 December 2009 21:06:20 Gregory Propf wrote:
 Ok, I'm trying to build the haskell platform but getting this.  Anyone know
 what the problem is?  As far as I know I have all the development libs for
 OpenGL.  I'm not sure what this means.  I'm running Ubuntu 9.04 on a 64bit
 dual core AMD.

 I had the same problem with Debian Lenny on a 32-bit 2x quadcore Opteron:

  http://groups.google.com/group/fa.haskell/msg/34ee76bed380438d

 I found that installing the binary Debian packages (from Sid) haskell-platform
 and ghc6, and then installing ghc 6.12 from source fixed 6.10. Now I seem to
 be able to compile with 6.10 and programs run without segfaulting (but not
 6.8 or 6.12). I never managed to get cabal to work though...

 --
 Dr Jon Harrop, Flying Frog Consultancy Ltd.
 http://www.ffconsultancy.com/?e
 ___
 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] Upgraded to GHC 6.12 and can't find anything

2009-12-27 Thread Gregory Propf
I finally compiled and installed GHC 6.12 on my Linux system and it seems to be 
failing to find a lot of things.  Notably these

import Control.Monad
import Control.Monad.State
import Control.Monad.Trans
import Control.Parallel

Worked fine under 6.10.  Any clues?



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


Re: [Haskell-cafe] Upgraded to GHC 6.12 and can't find anything

2009-12-27 Thread Ivan Lazar Miljenovic
Gregory Propf gregorypr...@yahoo.com writes:

 I finally compiled and installed GHC 6.12 on my Linux system and it seems to 
 be failing to find a lot of things.  Notably these

 import Control.Monad
 import Control.Monad.State
 import Control.Monad.Trans
 import Control.Parallel


A lot of these kinds of modules were not actually part of GHC but
installed as part of GHC's extralibs packages (which is being replaced
by the Haskell platform).

You can get the first three modules by installing mtl and the last by
installing parallel, both of which can be found on Hackage.

-- 
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