Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: LTS is good but... (Michael Snoyman)
2. Re: LTS is good but... (emacstheviking)
----------------------------------------------------------------------
Message: 1
Date: Wed, 04 Mar 2015 09:28:43 +0000
From: Michael Snoyman <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] LTS is good but...
Message-ID:
<caka2jgkvtchw1yblcabjdbqws6w0gmurjvhwn6yrpcehodv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I'd recommend looking at:
http://www.stackage.org/install#mac-os-x
https://github.com/bitemyapp/learnhaskell/blob/master/README.md#mac-os-x
I don't generally recommend using the platform installer, it ends up
pegging libraries to old versions which causes dependency problems, or in
some cases have known bugs.
On Wed, Mar 4, 2015 at 11:26 AM emacstheviking <[email protected]> wrote:
> Agreed Michael!
>
> I am currently wiping all Mac Ports packages and I will perform a clean up
> of /Library/Haskell etc.
>
> What is the *preferred* way to get the lastest for OSX: Using homebrew,
> macports or the Haskell Platform. I *used* to use the platform installer
> but for some reason (cabal I expect!) I started trying out other ways...
>
> I think actually I will go the platform packager again...
>
> On 4 March 2015 at 09:13, Michael Snoyman <[email protected]> wrote:
>
>> I can't really explain the details of what's going on here. It seems that
>> in some cases different versions of the executables are being found, but I
>> don't know why. Wiping out your sandbox (cabal sandbox delete) and starting
>> over may be sufficient to recover.
>>
>> On Wed, Mar 4, 2015 at 11:11 AM emacstheviking <[email protected]> wrote:
>>
>>> As requested,
>>>
>>> iMac:~ vosabristol$ ghc --version
>>> The Glorious Glasgow Haskell Compilation System, version 7.8.3
>>>
>>> which ghc
>>> /opt/local/bin/ghc
>>>
>>> Hmm.... it shows a macports instsallation of GHC... but I am sure that's
>>> how I git it... I *used* to use the OSX installation package but I thought
>>> a clean start using MacPorts would somehow change the mood...
>>>
>>> iMac:~ vosabristol$ cabal --version
>>> cabal-install version 1.16.0.2
>>> using version 1.16.0 of the Cabal library
>>>
>>> iMac:~ vosabristol$ which cabal
>>> /usr/bin/cabal
>>>
>>> So... there is a possible case for *once again* performing a complete
>>> and utter removal of Haskell and its partners in crime and doing a fresh
>>> installation?
>>>
>>>
>>> Out of frustration I built OCaml and OPAM from sources last night but
>>> I'd still like to go with GHC!
>>>
>>> :)
>>>
>>>
>>> On 3 March 2015 at 20:43, Michael Snoyman <[email protected]> wrote:
>>>
>>>> Funny that there's an issue being discussed in the cabal issue tracker
>>>> right now[1] similar to this. But the report you're giving here is
>>>> particularly strange. Cabal-1.16 implies that you're using GHC 7.6, which
>>>> is supported by the claim that base 4.7 isn't available. I'd recommend
>>>> starting off with running the following commands and pasting the output:
>>>>
>>>> ghc --version
>>>> which ghc
>>>> cabal --version
>>>> which cabal
>>>>
>>>> [1] https://github.com/haskell/cabal/issues/2438
>>>>
>>>> On Tue, Mar 3, 2015 at 10:21 PM emacstheviking <[email protected]>
>>>> wrote:
>>>>
>>>>> Forgot to add that somehow, despite the upgrade, my cabal version has
>>>>> gone backwards from 1.20.0.1 to 1.16.0
>>>>>
>>>>> WTF?
>>>>>
>>>>>
>>>>> On 3 March 2015 at 20:19, emacstheviking <[email protected]> wrote:
>>>>>
>>>>>> I started an OpenGL project within an LTS sandbox as guided on
>>>>>> another post and, somewhat foolishly it would see, I did a "cabal install
>>>>>> cabal-install" when prompted that a new version was available.
>>>>>>
>>>>>> The very next time I tried to work on my code.... I got this:
>>>>>>
>>>>>> bash-3.2$ pwd
>>>>>> /Users/seancharles/Documents/Coding/haskell/lts1
>>>>>> bash-3.2$ cabal build
>>>>>> cabal: You need to re-run the 'configure' command. The version of
>>>>>> Cabal being
>>>>>> used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).
>>>>>> bash-3.2$ cabal configure
>>>>>> Resolving dependencies...
>>>>>> Configuring lts1-0.1.0.0...
>>>>>> cabal: At least the following dependencies are missing:
>>>>>> base ==4.7.*
>>>>>> bash-3.2$ cabal build
>>>>>> cabal: You need to re-run the 'configure' command. The version of
>>>>>> Cabal being
>>>>>> used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).
>>>>>> bash-3.2$ ls -l
>>>>>> total 112
>>>>>> -rw-r--r-- 1 seancharles staff 19 Mar 2 12:53 LICENCSE
>>>>>> -rw-r--r-- 1 seancharles staff 552 Mar 3 20:09 Main.hs
>>>>>> -rw-r--r-- 1 seancharles staff 477 Mar 3 20:07 Main.hs~
>>>>>> -rw-r--r-- 1 seancharles staff 46 Mar 2 12:52 Setup.hs
>>>>>> -rw-r--r-- 1 seancharles staff 30198 Mar 2 12:51 cabal.config
>>>>>> -rw-r--r-- 1 seancharles staff 1090 Mar 2 12:51
>>>>>> cabal.sandbox.config
>>>>>> drwxr-xr-x 5 seancharles staff 170 Mar 2 12:53 dist
>>>>>> -rw-r--r-- 1 seancharles staff 1932 Mar 2 12:52 lts1.cabal
>>>>>> bash-3.2$
>>>>>>
>>>>>> So, welcome to a different kind of hell, "cabal version hell" perhaps?
>>>>>>
>>>>>> Can anybody help me get it running again?
>>>>>> Thanks.
>>>>>> Sean.
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> Beginners mailing list
>>>>> [email protected]
>>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>>>
>>>>
>>>> _______________________________________________
>>>> Beginners mailing list
>>>> [email protected]
>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>>
>>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> [email protected]
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
>>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/252ab17d/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 4 Mar 2015 09:31:02 +0000
From: emacstheviking <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] LTS is good but...
Message-ID:
<CAEiEuUJLGZ070=whksdvf_sjpngxkfapscq2ho2e2ujvzkj...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Aaaaaarrrrrrrrrggghhh!
LMAO. 30 years ago it was all simpler.... but we didn't have Haskell!
;)
Thanks. I will read that page and try again.
On 4 March 2015 at 09:28, Michael Snoyman <[email protected]> wrote:
> I'd recommend looking at:
>
> http://www.stackage.org/install#mac-os-x
> https://github.com/bitemyapp/learnhaskell/blob/master/README.md#mac-os-x
>
> I don't generally recommend using the platform installer, it ends up
> pegging libraries to old versions which causes dependency problems, or in
> some cases have known bugs.
>
> On Wed, Mar 4, 2015 at 11:26 AM emacstheviking <[email protected]> wrote:
>
>> Agreed Michael!
>>
>> I am currently wiping all Mac Ports packages and I will perform a clean
>> up of /Library/Haskell etc.
>>
>> What is the *preferred* way to get the lastest for OSX: Using homebrew,
>> macports or the Haskell Platform. I *used* to use the platform installer
>> but for some reason (cabal I expect!) I started trying out other ways...
>>
>> I think actually I will go the platform packager again...
>>
>> On 4 March 2015 at 09:13, Michael Snoyman <[email protected]> wrote:
>>
>>> I can't really explain the details of what's going on here. It seems
>>> that in some cases different versions of the executables are being found,
>>> but I don't know why. Wiping out your sandbox (cabal sandbox delete) and
>>> starting over may be sufficient to recover.
>>>
>>> On Wed, Mar 4, 2015 at 11:11 AM emacstheviking <[email protected]>
>>> wrote:
>>>
>>>> As requested,
>>>>
>>>> iMac:~ vosabristol$ ghc --version
>>>> The Glorious Glasgow Haskell Compilation System, version 7.8.3
>>>>
>>>> which ghc
>>>> /opt/local/bin/ghc
>>>>
>>>> Hmm.... it shows a macports instsallation of GHC... but I am sure
>>>> that's how I git it... I *used* to use the OSX installation package but I
>>>> thought a clean start using MacPorts would somehow change the mood...
>>>>
>>>> iMac:~ vosabristol$ cabal --version
>>>> cabal-install version 1.16.0.2
>>>> using version 1.16.0 of the Cabal library
>>>>
>>>> iMac:~ vosabristol$ which cabal
>>>> /usr/bin/cabal
>>>>
>>>> So... there is a possible case for *once again* performing a complete
>>>> and utter removal of Haskell and its partners in crime and doing a fresh
>>>> installation?
>>>>
>>>>
>>>> Out of frustration I built OCaml and OPAM from sources last night but
>>>> I'd still like to go with GHC!
>>>>
>>>> :)
>>>>
>>>>
>>>> On 3 March 2015 at 20:43, Michael Snoyman <[email protected]> wrote:
>>>>
>>>>> Funny that there's an issue being discussed in the cabal issue tracker
>>>>> right now[1] similar to this. But the report you're giving here is
>>>>> particularly strange. Cabal-1.16 implies that you're using GHC 7.6, which
>>>>> is supported by the claim that base 4.7 isn't available. I'd recommend
>>>>> starting off with running the following commands and pasting the output:
>>>>>
>>>>> ghc --version
>>>>> which ghc
>>>>> cabal --version
>>>>> which cabal
>>>>>
>>>>> [1] https://github.com/haskell/cabal/issues/2438
>>>>>
>>>>> On Tue, Mar 3, 2015 at 10:21 PM emacstheviking <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Forgot to add that somehow, despite the upgrade, my cabal version has
>>>>>> gone backwards from 1.20.0.1 to 1.16.0
>>>>>>
>>>>>> WTF?
>>>>>>
>>>>>>
>>>>>> On 3 March 2015 at 20:19, emacstheviking <[email protected]> wrote:
>>>>>>
>>>>>>> I started an OpenGL project within an LTS sandbox as guided on
>>>>>>> another post and, somewhat foolishly it would see, I did a "cabal
>>>>>>> install
>>>>>>> cabal-install" when prompted that a new version was available.
>>>>>>>
>>>>>>> The very next time I tried to work on my code.... I got this:
>>>>>>>
>>>>>>> bash-3.2$ pwd
>>>>>>> /Users/seancharles/Documents/Coding/haskell/lts1
>>>>>>> bash-3.2$ cabal build
>>>>>>> cabal: You need to re-run the 'configure' command. The version of
>>>>>>> Cabal being
>>>>>>> used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).
>>>>>>> bash-3.2$ cabal configure
>>>>>>> Resolving dependencies...
>>>>>>> Configuring lts1-0.1.0.0...
>>>>>>> cabal: At least the following dependencies are missing:
>>>>>>> base ==4.7.*
>>>>>>> bash-3.2$ cabal build
>>>>>>> cabal: You need to re-run the 'configure' command. The version of
>>>>>>> Cabal being
>>>>>>> used has changed (was Cabal-1.20.0.1, now Cabal-1.16.0).
>>>>>>> bash-3.2$ ls -l
>>>>>>> total 112
>>>>>>> -rw-r--r-- 1 seancharles staff 19 Mar 2 12:53 LICENCSE
>>>>>>> -rw-r--r-- 1 seancharles staff 552 Mar 3 20:09 Main.hs
>>>>>>> -rw-r--r-- 1 seancharles staff 477 Mar 3 20:07 Main.hs~
>>>>>>> -rw-r--r-- 1 seancharles staff 46 Mar 2 12:52 Setup.hs
>>>>>>> -rw-r--r-- 1 seancharles staff 30198 Mar 2 12:51 cabal.config
>>>>>>> -rw-r--r-- 1 seancharles staff 1090 Mar 2 12:51
>>>>>>> cabal.sandbox.config
>>>>>>> drwxr-xr-x 5 seancharles staff 170 Mar 2 12:53 dist
>>>>>>> -rw-r--r-- 1 seancharles staff 1932 Mar 2 12:52 lts1.cabal
>>>>>>> bash-3.2$
>>>>>>>
>>>>>>> So, welcome to a different kind of hell, "cabal version hell"
>>>>>>> perhaps?
>>>>>>>
>>>>>>> Can anybody help me get it running again?
>>>>>>> Thanks.
>>>>>>> Sean.
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Beginners mailing list
>>>>>> [email protected]
>>>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Beginners mailing list
>>>>> [email protected]
>>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Beginners mailing list
>>>> [email protected]
>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>>
>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> [email protected]
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>
>>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150304/5b897acd/attachment.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 81, Issue 16
*****************************************