Simple script to make existing GHC or HP installation work with Xcode 5

George Colpitts george.colpitts at gmail.com
Tue Nov 5 00:31:52 GMT 2013


works for me on os 10.9/Xcode 5 but I did notice a few anomalies. I did
cabal update;cabal install vector and got the following at the end. I also
saw a similar message when I did cabal install bytestring.

Preprocessing library vector-0.10.9.1...

<no location info>:
    module `vector-0.10.9.1:Main' is defined in multiple files:
dist/build/tmp-2809/Data/Vector/Internal/Check.hs

dist/build/tmp-2809/Data/Vector/Fusion/Util.hs

dist/build/tmp-2809/Data/Vector/Fusion/Stream/Size.hs

dist/build/tmp-2809/Data/Vector/Fusion/Stream/Monadic.hs

dist/build/tmp-2809/Data/Vector/Fusion/Stream.hs

dist/build/tmp-2809/Data/Vector/Generic/Mutable.hs

dist/build/tmp-2809/Data/Vector/Generic/Base.hs

dist/build/tmp-2809/Data/Vector/Generic/New.hs

dist/build/tmp-2809/Data/Vector/Generic.hs

dist/build/tmp-2809/Data/Vector/Primitive/Mutable.hs

dist/build/tmp-2809/Data/Vector/Primitive.hs

dist/build/tmp-2809/Data/Vector/Storable/Internal.hs

dist/build/tmp-2809/Data/Vector/Storable/Mutable.hs

dist/build/tmp-2809/Data/Vector/Storable.hs

dist/build/tmp-2809/Data/Vector/Unboxed/Base.hs

dist/build/tmp-2809/Data/Vector/Unboxed/Mutable.hs

dist/build/tmp-2809/Data/Vector/Unboxed.hs

dist/build/tmp-2809/Data/Vector/Mutable.hs

dist/build/tmp-2809/Data/Vector.hs
Installing library in
/Users/gcolpitts/Library/Haskell/ghc-7.6.3/lib/vector-0.10.9.1/lib
Registering vector-0.10.9.1...
Installed vector-0.10.9.1




On Thu, Oct 31, 2013 at 4:04 AM, Mark Lentczner <mark.lentczner at gmail.com>wrote:

> Friends -
>
> I've developed a simple shell script that should enable your existing GHC
> 7. or HP installation work with Xcode 5.
>
> https://gist.github.com/mzero/7245290
>
>
> Place that script somewhere, make it executable, and run it.
> *Then follow the instructions it tells you!*
> You will end up having to run it more than once:
>
> First time it will tell you where to install a copy of the script
>
> Second time it will patch your GHC settings file(s)
>
>
> The script is safe to install and setup before you upgrade to Xcode 5, as
> it reverts to "getting out of the way" if it detects Xcode 4 based
> installation.
>
> It has been tested on two machines:
>
>    - OS X 10.8 and Xcode 4
>    - OS X 10.9 and Xcode 5
>
> If a few more intrepid souls test it and it works, I'll post instructions
> in more prominent places!
> I'll be testing OS X 10.9 and Xcode 4, tomorrow, and expect it should work
> fine on OS X10.8 with Xcode 5. But looking for reports that it all works.
>
> - Mark "Mac Packager" Lentczner
>
>
>
>
>
> _______________________________________________
> Haskell-platform mailing list
> Haskell-platform at projects.haskell.org
> http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskell-platform/attachments/20131104/4c68470e/attachment.htm>


More information about the Haskell-platform mailing list