Re: [Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems

2011-07-04 Thread Adrien Haxaire

You're welcome :)

Adrien


On Mon, 4 Jul 2011 19:09:50 +0400, Dmitri O.Kondratiev wrote:

I noticed that )
I removed GHC 6 completely. Then installed platform-independent GHC 7
compiler.
Next to configure and eventually compile Haskell Platform I had to
install  libgmp3-dev, zlib and OpenGL libraries.
 Istall  and cabal update went smoothly.
Now I got :
GHCi, version 7.0.3 

Great! Thanks!
 




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


Re: [Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems

2011-07-04 Thread Dmitri O.Kondratiev
On Mon, Jul 4, 2011 at 6:24 PM, anonymous  wrote:

> No, you shouldn't need to do that.
>


> Just download the Haskell Platform and GHC 7:
>
> http://lambda.galois.com/hp-tmp/2011.2.0.1/haskell-platform-2011.2.0.1.tar.gz
> http://haskell.org/ghc/dist/7.0.3/ghc-7.0.3-i386-unknown-linux.tar.bz2
>
> Extract ghc, change into the directory, run configure, then make install as
> root.
> After that, extract the haskell platform, change into the directory,
> configure, make, make install as root.
> Then run cabal update.
>
> The haskell platform is broken on Natty.
> https://bugs.launchpad.net/ubuntu/+source/haskell-platform/+bug/742052



I noticed that )
I removed GHC 6 completely. Then installed platform-independent GHC 7
compiler.
Next to configure and eventually compile Haskell Platform I had to install
 libgmp3-dev, zlib and OpenGL libraries.
Istall  and 'cabal update' went smoothly.
Now I got :
GHCi, version 7.0.3

Great! Thanks!


>
>
>
> On Mon, Jul 4, 2011 at 9:12 AM, Dmitri O.Kondratiev wrote:
>
>>
>>
>> >Adrien Haxaire adrien at adrienhaxaire.org  wrote:
>>
>> >I dropped the idea of installing Haskell Platform with synaptic. I
>>  >installed it manually and I don't have any problem since then.
>>
>> To install GHC 7, have you  completely de-installed  GHC  6.12.3 and all
>> related libraries ?
>>
>>
>> On Mon, Jul 4, 2011 at 5:04 PM, Dmitri O.Kondratiev wrote:
>>
>>> Hi,
>>> I am trying to install Haskell Platform on latest Ubuntu desktop:
>>> ( uname -a:
>>> Linux frigate 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC
>>> 2011 x86_64 x86_64 x86_64 GNU/Linux )
>>>
>>> I started with installing GHC.  Ubuntu could only install version 6.12.3:
>>> without Cabal!
>>> Now I am trying to install haskell-platform which is a separate package.
>>> Ubuntu suggests to insatll version 2010.1.0.0.1 and fails (see bellow).
>>> What sould I do now to get GHC + Cabal? Should I:
>>> 1) De-insatll  GHC  6.12.3 and all related libraries and try then
>>> installing Haskell Platform again?
>>> 2) Should I install Caball separately and forget about Haskell Platform?
>>> 3) Provide somehow for two different installations?
>>>
>>> Thanks!
>>>
>>> === Installation errors:
>>>
>>> This error could be caused by required additional software packages which
>>> are missing or not installable. Furthermore there could be a conflict
>>> between software packages which are not allowed to be installed at the same
>>> time.
>>>
>>> haskell-platform: Depends: ghc6 (< 6.12.1+) but 6.12.3-1ubuntu7 is to be
>>> installed
>>> Depends: libghc6-cgi-dev (>= 3001.1.7.2) but 3001.1.7.2-1build1 is to be
>>> installed
>>> Depends: libghc6-fgl-dev (< 5.4.2.2+) but 5.4.2.2-2build2 is to be
>>> installed
>>> Depends: libghc6-glut-dev (< 2.1.2.1+) but 2.1.2.1-1build1 is to be
>>> installed
>>> Depends: libghc6-haskell-src-dev (< 1.0.1.3+) but 1.0.1.3-2build1 is to
>>> be installed
>>> Depends: libghc6-html-dev (< 1.0.1.2+) but 1.0.1.2-3build2 is to be
>>> installed
>>> Depends: libghc6-hunit-dev (< 1.2.2.1+) but 1.2.2.1-2build2 is to be
>>> installed
>>> Depends: libghc6-mtl-dev (< 1.1.0.2+) but 1.1.0.2-10build2 is to be
>>> installed
>>> Depends: libghc6-network-dev (< 2.2.1.7+) but 2.2.1.7-1build2 is to be
>>> installed
>>> Depends: libghc6-opengl-dev (< 2.2.3.0+) but 2.2.3.0-2build2 is to be
>>> installed
>>> Depends: libghc6-parallel-dev (< 2.2.0.1+) but 2.2.0.1-1build1 is to be
>>> installed
>>> Depends: libghc6-parsec2-dev (< 2.1.0.1+) but 2.1.0.1-2build2 is to be
>>> installed
>>> Depends: libghc6-quickcheck2-dev (< 2.1.0.3+) but 2.1.0.3-1build2 is to
>>> be installed
>>> Depends: libghc6-regex-base-dev (< 0.93.1+) but 0.93.1-8build1 is to be
>>> installed
>>> Depends: libghc6-regex-compat-dev (< 0.92+) but 0.92-6build2 is to be
>>> installed
>>> Depends: libghc6-regex-posix-dev (< 0.94.1+) but 0.94.1-2build1 is to be
>>> installed
>>> Depends: libghc6-stm-dev (< 2.1.1.2+) but 2.1.1.2-5build2 is to be
>>> installed
>>> Depends: libghc6-xhtml-dev (>= 3000.2.0.1) but 3000.2.0.1-6build2 is to
>>> be installed
>>> Depends: libghc6-zlib-dev (< 0.5.2.0+) but 0.5.2.0-4build2 is to be
>>> installed
>>> Depends: libghc6-http-dev (>= 4009) but 4009-2build1 is to be
>>> installed
>>> Depends: libghc6-deepseq-dev (< 1.1.0.0+) but 1.1.0.0-2build1 is to be
>>> installed
>>> Depends: alex (< 2.3.3+) but 2.3.3-1 is to be installed
>>> Depends: happy (< 1.18.4-2+) but 1.18.4-2 is to be installed
>>> Depends: haddock but it is a virtual package
>>>
>>>
>>>
>>
>>
>> ___
>> 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] Haskell Platform on Ubuntu: Installation Problems

2011-07-04 Thread Adrien Haxaire

To install GHC 7, have you  completely de-installed  GHC  6.12.3
and all related libraries ?


I am not sure if uninstalling GHC 6.12.3 is mandatory, but I did it to 
have a clean Haskell installation.


Then I did what anonymous has summarized below:


 Just download the Haskell Platform and GHC 7:


http://lambda.galois.com/hp-tmp/2011.2.0.1/haskell-platform-2011.2.0.1.tar.gz
[5]
 
http://haskell.org/ghc/dist/7.0.3/ghc-7.0.3-i386-unknown-linux.tar.bz2

[6]

 Extract ghc, change into the directory, run configure, then make
install as root.
 After that, extract the haskell platform, change into the directory,
configure, make, make install as root.
 Then run cabal update.

 The haskell platform is broken on Natty.
 
https://bugs.launchpad.net/ubuntu/+source/haskell-platform/+bug/742052

[7]




Adrien

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


Re: [Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems

2011-07-04 Thread anonymous
No, you shouldn't need to do that.
Just download the Haskell Platform and GHC 7:
http://lambda.galois.com/hp-tmp/2011.2.0.1/haskell-platform-2011.2.0.1.tar.gz
http://haskell.org/ghc/dist/7.0.3/ghc-7.0.3-i386-unknown-linux.tar.bz2

Extract ghc, change into the directory, run configure, then make install as
root.
After that, extract the haskell platform, change into the directory,
configure, make, make install as root.
Then run cabal update.

The haskell platform is broken on Natty.
https://bugs.launchpad.net/ubuntu/+source/haskell-platform/+bug/742052


On Mon, Jul 4, 2011 at 9:12 AM, Dmitri O.Kondratiev wrote:

>
>
> >Adrien Haxaire adrien at adrienhaxaire.org  wrote:
>
> >I dropped the idea of installing Haskell Platform with synaptic. I
>  >installed it manually and I don't have any problem since then.
>
> To install GHC 7, have you  completely de-installed  GHC  6.12.3 and all
> related libraries ?
>
>
> On Mon, Jul 4, 2011 at 5:04 PM, Dmitri O.Kondratiev wrote:
>
>> Hi,
>> I am trying to install Haskell Platform on latest Ubuntu desktop:
>> ( uname -a:
>> Linux frigate 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
>> x86_64 x86_64 x86_64 GNU/Linux )
>>
>> I started with installing GHC.  Ubuntu could only install version 6.12.3:
>> without Cabal!
>> Now I am trying to install haskell-platform which is a separate package.
>> Ubuntu suggests to insatll version 2010.1.0.0.1 and fails (see bellow).
>> What sould I do now to get GHC + Cabal? Should I:
>> 1) De-insatll  GHC  6.12.3 and all related libraries and try then
>> installing Haskell Platform again?
>> 2) Should I install Caball separately and forget about Haskell Platform?
>> 3) Provide somehow for two different installations?
>>
>> Thanks!
>>
>> === Installation errors:
>>
>> This error could be caused by required additional software packages which
>> are missing or not installable. Furthermore there could be a conflict
>> between software packages which are not allowed to be installed at the same
>> time.
>>
>> haskell-platform: Depends: ghc6 (< 6.12.1+) but 6.12.3-1ubuntu7 is to be
>> installed
>> Depends: libghc6-cgi-dev (>= 3001.1.7.2) but 3001.1.7.2-1build1 is to be
>> installed
>> Depends: libghc6-fgl-dev (< 5.4.2.2+) but 5.4.2.2-2build2 is to be
>> installed
>> Depends: libghc6-glut-dev (< 2.1.2.1+) but 2.1.2.1-1build1 is to be
>> installed
>> Depends: libghc6-haskell-src-dev (< 1.0.1.3+) but 1.0.1.3-2build1 is to be
>> installed
>> Depends: libghc6-html-dev (< 1.0.1.2+) but 1.0.1.2-3build2 is to be
>> installed
>> Depends: libghc6-hunit-dev (< 1.2.2.1+) but 1.2.2.1-2build2 is to be
>> installed
>> Depends: libghc6-mtl-dev (< 1.1.0.2+) but 1.1.0.2-10build2 is to be
>> installed
>> Depends: libghc6-network-dev (< 2.2.1.7+) but 2.2.1.7-1build2 is to be
>> installed
>> Depends: libghc6-opengl-dev (< 2.2.3.0+) but 2.2.3.0-2build2 is to be
>> installed
>> Depends: libghc6-parallel-dev (< 2.2.0.1+) but 2.2.0.1-1build1 is to be
>> installed
>> Depends: libghc6-parsec2-dev (< 2.1.0.1+) but 2.1.0.1-2build2 is to be
>> installed
>> Depends: libghc6-quickcheck2-dev (< 2.1.0.3+) but 2.1.0.3-1build2 is to be
>> installed
>> Depends: libghc6-regex-base-dev (< 0.93.1+) but 0.93.1-8build1 is to be
>> installed
>> Depends: libghc6-regex-compat-dev (< 0.92+) but 0.92-6build2 is to be
>> installed
>> Depends: libghc6-regex-posix-dev (< 0.94.1+) but 0.94.1-2build1 is to be
>> installed
>> Depends: libghc6-stm-dev (< 2.1.1.2+) but 2.1.1.2-5build2 is to be
>> installed
>> Depends: libghc6-xhtml-dev (>= 3000.2.0.1) but 3000.2.0.1-6build2 is to be
>> installed
>> Depends: libghc6-zlib-dev (< 0.5.2.0+) but 0.5.2.0-4build2 is to be
>> installed
>> Depends: libghc6-http-dev (>= 4009) but 4009-2build1 is to be
>> installed
>> Depends: libghc6-deepseq-dev (< 1.1.0.0+) but 1.1.0.0-2build1 is to be
>> installed
>> Depends: alex (< 2.3.3+) but 2.3.3-1 is to be installed
>> Depends: happy (< 1.18.4-2+) but 1.18.4-2 is to be installed
>> Depends: haddock but it is a virtual package
>>
>>
>>
>
>
> ___
> 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] Haskell Platform on Ubuntu: Installation Problems

2011-07-04 Thread Dmitri O.Kondratiev
>Adrien Haxaire adrien at adrienhaxaire.org  wrote:

>I dropped the idea of installing Haskell Platform with synaptic. I
 >installed it manually and I don't have any problem since then.

To install GHC 7, have you  completely de-installed  GHC  6.12.3 and all
related libraries ?


On Mon, Jul 4, 2011 at 5:04 PM, Dmitri O.Kondratiev wrote:

> Hi,
> I am trying to install Haskell Platform on latest Ubuntu desktop:
> ( uname -a:
> Linux frigate 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
> x86_64 x86_64 x86_64 GNU/Linux )
>
> I started with installing GHC.  Ubuntu could only install version 6.12.3:
> without Cabal!
> Now I am trying to install haskell-platform which is a separate package.
> Ubuntu suggests to insatll version 2010.1.0.0.1 and fails (see bellow).
> What sould I do now to get GHC + Cabal? Should I:
> 1) De-insatll  GHC  6.12.3 and all related libraries and try then
> installing Haskell Platform again?
> 2) Should I install Caball separately and forget about Haskell Platform?
> 3) Provide somehow for two different installations?
>
> Thanks!
>
> === Installation errors:
>
> This error could be caused by required additional software packages which
> are missing or not installable. Furthermore there could be a conflict
> between software packages which are not allowed to be installed at the same
> time.
>
> haskell-platform: Depends: ghc6 (< 6.12.1+) but 6.12.3-1ubuntu7 is to be
> installed
> Depends: libghc6-cgi-dev (>= 3001.1.7.2) but 3001.1.7.2-1build1 is to be
> installed
> Depends: libghc6-fgl-dev (< 5.4.2.2+) but 5.4.2.2-2build2 is to be
> installed
> Depends: libghc6-glut-dev (< 2.1.2.1+) but 2.1.2.1-1build1 is to be
> installed
> Depends: libghc6-haskell-src-dev (< 1.0.1.3+) but 1.0.1.3-2build1 is to be
> installed
> Depends: libghc6-html-dev (< 1.0.1.2+) but 1.0.1.2-3build2 is to be
> installed
> Depends: libghc6-hunit-dev (< 1.2.2.1+) but 1.2.2.1-2build2 is to be
> installed
> Depends: libghc6-mtl-dev (< 1.1.0.2+) but 1.1.0.2-10build2 is to be
> installed
> Depends: libghc6-network-dev (< 2.2.1.7+) but 2.2.1.7-1build2 is to be
> installed
> Depends: libghc6-opengl-dev (< 2.2.3.0+) but 2.2.3.0-2build2 is to be
> installed
> Depends: libghc6-parallel-dev (< 2.2.0.1+) but 2.2.0.1-1build1 is to be
> installed
> Depends: libghc6-parsec2-dev (< 2.1.0.1+) but 2.1.0.1-2build2 is to be
> installed
> Depends: libghc6-quickcheck2-dev (< 2.1.0.3+) but 2.1.0.3-1build2 is to be
> installed
> Depends: libghc6-regex-base-dev (< 0.93.1+) but 0.93.1-8build1 is to be
> installed
> Depends: libghc6-regex-compat-dev (< 0.92+) but 0.92-6build2 is to be
> installed
> Depends: libghc6-regex-posix-dev (< 0.94.1+) but 0.94.1-2build1 is to be
> installed
> Depends: libghc6-stm-dev (< 2.1.1.2+) but 2.1.1.2-5build2 is to be
> installed
> Depends: libghc6-xhtml-dev (>= 3000.2.0.1) but 3000.2.0.1-6build2 is to be
> installed
> Depends: libghc6-zlib-dev (< 0.5.2.0+) but 0.5.2.0-4build2 is to be
> installed
> Depends: libghc6-http-dev (>= 4009) but 4009-2build1 is to be
> installed
> Depends: libghc6-deepseq-dev (< 1.1.0.0+) but 1.1.0.0-2build1 is to be
> installed
> Depends: alex (< 2.3.3+) but 2.3.3-1 is to be installed
> Depends: happy (< 1.18.4-2+) but 1.18.4-2 is to be installed
> Depends: haddock but it is a virtual package
>
>
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems

2011-07-04 Thread Adrien Haxaire

Hello,

I encountered the same kind of problems with the dependencies, GHC 6.12 
etc.


I dropped the idea of installing Haskell Platform with synaptic. I 
installed it manually and I don't have any problem since then.


I installed first a precompiled binary version GHC 7 then the Haskell 
Platform 2011. It takes more time (about 2 hours on my case), but you 
are sure to have the lastest version of GHC and Haskell Platform. I had 
to assign some symlinks manually, but it took me 5 min.


Adrien




On Mon, 4 Jul 2011 17:04:41 +0400, Dmitri O.Kondratiev wrote:

Hi,
I am trying to install Haskell Platform on latest Ubuntu desktop:
( uname -a:
Linux frigate 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux )

I started with installing GHC.  Ubuntu could only install version
6.12.3: without Cabal!
Now I am trying to install haskell-platform which is a separate
package. Ubuntu suggests to insatll version 2010.1.0.0.1 and fails
(see bellow).
What sould I do now to get GHC + Cabal? Should I:
1) De-insatll  GHC  6.12.3 and all related libraries and try then
installing Haskell Platform again?
2) Should I install Caball separately and forget about Haskell
Platform?
3) Provide somehow for two different installations? 

Thanks!




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


[Haskell-cafe] Haskell Platform on Ubuntu: Installation Problems

2011-07-04 Thread Dmitri O.Kondratiev
Hi,
I am trying to install Haskell Platform on latest Ubuntu desktop:
( uname -a:
Linux frigate 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux )

I started with installing GHC.  Ubuntu could only install version 6.12.3:
without Cabal!
Now I am trying to install haskell-platform which is a separate package.
Ubuntu suggests to insatll version 2010.1.0.0.1 and fails (see bellow).
What sould I do now to get GHC + Cabal? Should I:
1) De-insatll  GHC  6.12.3 and all related libraries and try then installing
Haskell Platform again?
2) Should I install Caball separately and forget about Haskell Platform?
3) Provide somehow for two different installations?

Thanks!

=== Installation errors:

This error could be caused by required additional software packages which
are missing or not installable. Furthermore there could be a conflict
between software packages which are not allowed to be installed at the same
time.

haskell-platform: Depends: ghc6 (< 6.12.1+) but 6.12.3-1ubuntu7 is to be
installed
Depends: libghc6-cgi-dev (>= 3001.1.7.2) but 3001.1.7.2-1build1 is to be
installed
Depends: libghc6-fgl-dev (< 5.4.2.2+) but 5.4.2.2-2build2 is to be installed
Depends: libghc6-glut-dev (< 2.1.2.1+) but 2.1.2.1-1build1 is to be
installed
Depends: libghc6-haskell-src-dev (< 1.0.1.3+) but 1.0.1.3-2build1 is to be
installed
Depends: libghc6-html-dev (< 1.0.1.2+) but 1.0.1.2-3build2 is to be
installed
Depends: libghc6-hunit-dev (< 1.2.2.1+) but 1.2.2.1-2build2 is to be
installed
Depends: libghc6-mtl-dev (< 1.1.0.2+) but 1.1.0.2-10build2 is to be
installed
Depends: libghc6-network-dev (< 2.2.1.7+) but 2.2.1.7-1build2 is to be
installed
Depends: libghc6-opengl-dev (< 2.2.3.0+) but 2.2.3.0-2build2 is to be
installed
Depends: libghc6-parallel-dev (< 2.2.0.1+) but 2.2.0.1-1build1 is to be
installed
Depends: libghc6-parsec2-dev (< 2.1.0.1+) but 2.1.0.1-2build2 is to be
installed
Depends: libghc6-quickcheck2-dev (< 2.1.0.3+) but 2.1.0.3-1build2 is to be
installed
Depends: libghc6-regex-base-dev (< 0.93.1+) but 0.93.1-8build1 is to be
installed
Depends: libghc6-regex-compat-dev (< 0.92+) but 0.92-6build2 is to be
installed
Depends: libghc6-regex-posix-dev (< 0.94.1+) but 0.94.1-2build1 is to be
installed
Depends: libghc6-stm-dev (< 2.1.1.2+) but 2.1.1.2-5build2 is to be installed
Depends: libghc6-xhtml-dev (>= 3000.2.0.1) but 3000.2.0.1-6build2 is to be
installed
Depends: libghc6-zlib-dev (< 0.5.2.0+) but 0.5.2.0-4build2 is to be
installed
Depends: libghc6-http-dev (>= 4009) but 4009-2build1 is to be
installed
Depends: libghc6-deepseq-dev (< 1.1.0.0+) but 1.1.0.0-2build1 is to be
installed
Depends: alex (< 2.3.3+) but 2.3.3-1 is to be installed
Depends: happy (< 1.18.4-2+) but 1.18.4-2 is to be installed
Depends: haddock but it is a virtual package
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe