[Haskell-cafe] Installing Haskell on OSX

Antoine Latter aslatter at gmail.com
Sun Jun 20 11:29:33 EDT 2010


On Sun, Jun 20, 2010 at 10:08 AM, Giuseppe Luigi Punzi Ruiz
<glpunzi at lordzealon.com> wrote:
> [1 of 2] Compiling Gtk2HsSetup      (
> /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/Gtk2HsSetup.hs,
> /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/dist/setup/Gtk2HsSetup.o
> )
> [2 of 2] Compiling Main             (
> /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/Setup.hs,
> /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/dist/setup/Main.o
> )
> Linking
> /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/dist/setup/setup
> ...
> /var/folders/fA/fAGWxnQMEFCzPAHcFpbaMk+++TI/-Tmp-/glib-0.11.096835/glib-0.11.0/dist/setup/setup
> configure --verbose=2 --ghc --prefix=/Users/glpunzi/.cabal --user
> --flags=closure_signals --constraint=base ==4.2.0.0 --constraint=containers
> ==0.3.0.0 --constraint=haskell98 ==1.0.1.1
> Configuring glib-0.11.0...
> Flags chosen: closure_signals=True
> Dependency base ==4.2.0.0: using base-4.2.0.0
> Dependency containers ==0.3.0.0: using containers-0.3.0.0
> Dependency haskell98 ==1.0.1.1: using haskell98-1.0.1.1
> setup: gtk2hsC2hs is required but it could not be found.
> cabal: Error: some packages failed to install:
> glib-0.11.0 failed during the configure step. The exception was:
> ExitFailure 1
> galilea-2:haskell-platform-2010.1.0.0 glpunzi$
>
>
> If i do: cabal list gtk2hs-buildtools
>
> galilea-2:haskell-platform-2010.1.0.0 glpunzi$ cabal list gtk2hs-buildtools
> * gtk2hs-buildtools
>    Synopsis: Tools to build the Gtk2Hs suite of User Interface libraries.
>    Latest version available: 0.9
>    Latest version installed: [ Not installed ]
>    Homepage: http://www.haskell.org/gtk2hs/
>    License:  GPL (Just (Version {versionBranch = [2], versionTags = []}))
>
> It's the second time I install it. It suppose install succesfully.
>
> *****************************
> cabal install gtk2hs-buildtools
>
> [38 of 41] Compiling C                ( c2hs/c/C.hs,
> dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/C.o )
> [39 of 41] Compiling GBMonad          ( c2hs/gen/GBMonad.hs,
> dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/GBMonad.o )
> [40 of 41] Compiling GenBind          ( c2hs/gen/GenBind.hs,
> dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/GenBind.o )
> [41 of 41] Compiling Main             ( c2hs/toplevel/Main.hs,
> dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Main.o )
> Linking dist/build/gtk2hsC2hs/gtk2hsC2hs ...
> Installing executable(s) in /Users/glpunzi/.cabal/bin
>

Here we've installed gtk2hsC2hs in /Users/glpunzi/.cabal/bin. If that
isn't in your path, it won't be available for 'glib' to use during its
install.

>
> El 20/06/2010, a las 17:01, Antoine Latter escribió:
>
>> cabal install glib -v
>
> Giuseppe Luigi Punzi Ruiz
> Blog: http://www.lordzealon.com
> Twitter & Skype & GoogleTalk accounts: glpunzi
>
>
>
>
>
>


More information about the Haskell-Cafe mailing list