
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.

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

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
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
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 Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

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
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
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
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 Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

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
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
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
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
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 Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

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
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
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
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
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
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 Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

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
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
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
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
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
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
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 Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

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
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
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
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
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
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
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
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 Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

Hey,
Little addition to what Michael already sent you.
To get ‘the latest’ you should build from sources :D
But in case it’s ok for you to have ghc 7.8.3 and you don’t want to ./configure; make; make install, you might also check this installation script on github.
On March 4, 2015 at 11:28:50, Michael Snoyman (michael@snoyman.com) 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

I am a 30+ years hacker Boris, building from source might just tempt me
still!! HAHAHA
My machine is now "clean" so I will decide how to play it!
Thanks again everybody.
On 4 March 2015 at 09:31, Boris
Hey,
Little addition to what Michael already sent you.
To get ‘the latest’ you should build from sources :D
But in case it’s ok for you to have ghc 7.8.3 and you don’t want to ./configure; make; make install, you might also check this installation script on github https://github.com/yogsototh/install-haskell.
On March 4, 2015 at 11:28:50, Michael Snoyman (michael@snoyman.com) 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
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
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
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
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
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
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 Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

Well, I have port installed 7.8.3 as it needs an existing GHC, then I
unpacked 7.8.4 from tarball and...............
checking whether bootstrap compiler is affected by bug 9439... You are
using a new version of LLVM that hasn't been tested yet!
We will try though...
/var/folders/15/fqzwrj1n32gfgx8yy5t8v1bc0000gq/T/ghc7339_0/ghc7339_6.s:3:2:
error: unknown directive
.macosx_version_min 10, 0
^
<no location info>:
Error running clang! you need clang installed to use theLLVM backend
(or GHC tried to execute clang incorrectly)
failed to compile
Is that a problem??? It seems to have run the configure script just fine
for all of that.
On 4 March 2015 at 10:45, emacstheviking
I am a 30+ years hacker Boris, building from source might just tempt me still!! HAHAHA My machine is now "clean" so I will decide how to play it!
Thanks again everybody.
On 4 March 2015 at 09:31, Boris
wrote: Hey,
Little addition to what Michael already sent you.
To get ‘the latest’ you should build from sources :D
But in case it’s ok for you to have ghc 7.8.3 and you don’t want to ./configure; make; make install, you might also check this installation script on github https://github.com/yogsototh/install-haskell.
On March 4, 2015 at 11:28:50, Michael Snoyman (michael@snoyman.com) 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
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
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
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
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
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
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 > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

Forgot this:
----------------------------------------------------------------------
Configure completed successfully.
Building GHC version : 7.8.4
Build platform : x86_64-apple-darwin
Host platform : x86_64-apple-darwin
Target platform : x86_64-apple-darwin
Bootstrapping using : /opt/local/bin/ghc
which is version : 7.8.3
Using clang : /usr/bin/gcc
which is version : 6.0
Building a cross compiler : NO
cpp : /usr/bin/gcc
cpp-flags : -E -undef -traditional -Wno-invalid-pp-token -Wno-unicode
-Wno-trigraphs
ld : /opt/local/bin/ld
Happy : ()
Alex : ()
Perl : /opt/local/bin/perl
dblatex :
xsltproc : /opt/local/bin/xsltproc
Using LLVM tools
llc :
opt :
HsColour : /opt/local/bin/HsColour
Building DocBook HTML documentation : YES
Building DocBook PS documentation : NO
Building DocBook PDF documentation : NO
----------------------------------------------------------------------
On 4 March 2015 at 11:24, emacstheviking
Well, I have port installed 7.8.3 as it needs an existing GHC, then I unpacked 7.8.4 from tarball and...............
checking whether bootstrap compiler is affected by bug 9439... You are using a new version of LLVM that hasn't been tested yet! We will try though...
/var/folders/15/fqzwrj1n32gfgx8yy5t8v1bc0000gq/T/ghc7339_0/ghc7339_6.s:3:2: error: unknown directive .macosx_version_min 10, 0 ^
<no location info>: Error running clang! you need clang installed to use theLLVM backend (or GHC tried to execute clang incorrectly) failed to compile
Is that a problem??? It seems to have run the configure script just fine for all of that.
On 4 March 2015 at 10:45, emacstheviking
wrote: I am a 30+ years hacker Boris, building from source might just tempt me still!! HAHAHA My machine is now "clean" so I will decide how to play it!
Thanks again everybody.
On 4 March 2015 at 09:31, Boris
wrote: Hey,
Little addition to what Michael already sent you.
To get ‘the latest’ you should build from sources :D
But in case it’s ok for you to have ghc 7.8.3 and you don’t want to ./configure; make; make install, you might also check this installation script on github https://github.com/yogsototh/install-haskell.
On March 4, 2015 at 11:28:50, Michael Snoyman (michael@snoyman.com) 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
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
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
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
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
> 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 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 >> Beginners@haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >> > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > > _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

Have you installed xcode command-line tools?
And what which clang returns?
On March 4, 2015 at 13:26:14, emacstheviking (objitsu@gmail.com) wrote:
Forgot this:
----------------------------------------------------------------------
Configure completed successfully.
Building GHC version : 7.8.4
Build platform : x86_64-apple-darwin
Host platform : x86_64-apple-darwin
Target platform : x86_64-apple-darwin
Bootstrapping using : /opt/local/bin/ghc
which is version : 7.8.3
Using clang : /usr/bin/gcc
which is version : 6.0
Building a cross compiler : NO
cpp : /usr/bin/gcc
cpp-flags : -E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs
ld : /opt/local/bin/ld
Happy : ()
Alex : ()
Perl : /opt/local/bin/perl
dblatex :
xsltproc : /opt/local/bin/xsltproc
Using LLVM tools
llc :
opt :
HsColour : /opt/local/bin/HsColour
Building DocBook HTML documentation : YES
Building DocBook PS documentation : NO
Building DocBook PDF documentation : NO
----------------------------------------------------------------------
On 4 March 2015 at 11:24, emacstheviking

On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking
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...
Depends on who you ask. I use MacPorts and keep it updated, but please-root-me (aka Homebrew) is preferred by most people these days. You will find people arguing that you should use the Platform and people who insist you should always install just ghc and cabal, or people who insist you shouldn't ever look beyond Stackage (great if Stackage bothers to acknowledge that the library you need exists). -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

On Wed, Mar 4, 2015 at 4:32 PM Brandon Allbery
On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking
wrote: 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...
Depends on who you ask. I use MacPorts and keep it updated, but please-root-me (aka Homebrew) is preferred by most people these days. You will find people arguing that you should use the Platform and people who insist you should always install just ghc and cabal, or people who insist you shouldn't ever look beyond Stackage (great if Stackage bothers to acknowledge that the library you need exists).
Just to clarify, because there seems to be some confusion in your comments on Stackage. When someone sets up a project to use Stackage[1], you still have full access to all packages on Hackage, there just isn't any way to be certain the packages will compile reliably (which is the case with installing from Hackage as well). And getting a package into Stackage is a simple, open procedure[2] which anyone is allowed to participate in. In other words: Stackage acknowledges the existence of every package on Hackage, and can provide build guarantees for any package that is added to its build-constraints file. [1] Minimal procedure: run `wget http://www.stackage.org/lts/cabal.config` [2] https://github.com/fpco/stackage#get-your-package-included

OK, having installed it, am I now at liberty to use the LTS instructions to
once again attempt to start an OpenGL project?
On 4 March 2015 at 15:31, Michael Snoyman
On Wed, Mar 4, 2015 at 4:32 PM Brandon Allbery
wrote: On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking
wrote: 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...
Depends on who you ask. I use MacPorts and keep it updated, but please-root-me (aka Homebrew) is preferred by most people these days. You will find people arguing that you should use the Platform and people who insist you should always install just ghc and cabal, or people who insist you shouldn't ever look beyond Stackage (great if Stackage bothers to acknowledge that the library you need exists).
Just to clarify, because there seems to be some confusion in your comments on Stackage. When someone sets up a project to use Stackage[1], you still have full access to all packages on Hackage, there just isn't any way to be certain the packages will compile reliably (which is the case with installing from Hackage as well). And getting a package into Stackage is a simple, open procedure[2] which anyone is allowed to participate in.
In other words: Stackage acknowledges the existence of every package on Hackage, and can provide build guarantees for any package that is added to its build-constraints file.
[1] Minimal procedure: run `wget http://www.stackage.org/lts/cabal.config` http://www.stackage.org/lts/cabal.config [2] https://github.com/fpco/stackage#get-your-package-included
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

Yes.
On Wed, Mar 4, 2015, 6:10 PM emacstheviking
OK, having installed it, am I now at liberty to use the LTS instructions to once again attempt to start an OpenGL project?
On 4 March 2015 at 15:31, Michael Snoyman
wrote: On Wed, Mar 4, 2015 at 4:32 PM Brandon Allbery
wrote: On Wed, Mar 4, 2015 at 4:25 AM, emacstheviking
wrote: 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...
Depends on who you ask. I use MacPorts and keep it updated, but please-root-me (aka Homebrew) is preferred by most people these days. You will find people arguing that you should use the Platform and people who insist you should always install just ghc and cabal, or people who insist you shouldn't ever look beyond Stackage (great if Stackage bothers to acknowledge that the library you need exists).
Just to clarify, because there seems to be some confusion in your comments on Stackage. When someone sets up a project to use Stackage[1], you still have full access to all packages on Hackage, there just isn't any way to be certain the packages will compile reliably (which is the case with installing from Hackage as well). And getting a package into Stackage is a simple, open procedure[2] which anyone is allowed to participate in.
In other words: Stackage acknowledges the existence of every package on Hackage, and can provide build guarantees for any package that is added to its build-constraints file.
[1] Minimal procedure: run `wget http://www.stackage.org/lts/cabal.config` http://www.stackage.org/lts/cabal.config [2] https://github.com/fpco/stackage#get-your-package-included
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners

Hey,
Check your $PATH variable. It looks like the macports installation directory has precedence over /user/local/bin/.
But you also might want to remove the old version installed via macports.
~ d12frosted
On March 4, 2015 at 11:11:05, emacstheviking (objitsu@gmail.com) 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
participants (5)
-
Boris
-
Brandon Allbery
-
emacstheviking
-
emacstheviking
-
Michael Snoyman