cabal install glade

Hello, I am trying to install the Glade package from hackage, and I keep getting exit failure... Hope someone can help me solve it! What I did: $ mkdir ~/haskell/project $ cd ~/haskell/project $ cabal sandbox init $ cabal update $ cabal install alex $ cabal install happy $ cabal install gtk2hs-buildtools $ cabal install gtk #successful until here $ cabal install glade The last statement gave me the following error: $ [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs, /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o ) $ $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 $ Failed to install cairo-0.12.5.3 $ [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs, /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o ) $ $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 $ Failed to install glib-0.12.5.4 $ cabal: Error: some packages failed to install: $ cairo-0.12.5.3 failed during the configure step. The exception was: $ ExitFailure 1 $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. $ glib-0.12.5.4 failed during the configure step. The exception was: $ ExitFailure 1 $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install. Important: You can assume I don't know much. I'm rather new to Haskell/cabal

Hi Jean,
How did you install ghc? It looks (and this is coming from someone
relatively new to Haskell) that you've installed GHC 7.10 which the Glade
package isn't compatible with yet. I'm assuming this based on the ambiguous
occurrence of 'die' which was a new function added to System.Exit in
base-4.8 (GHC 7.10).
You could try rolling back to GHC 7.8 or clone the Glade package and fix
the imports.
Cheers,
Paul.
On Wed, Apr 15, 2015 at 1:33 PM Jean Lopes
Hello, I am trying to install the Glade package from hackage, and I keep getting exit failure...
Hope someone can help me solve it!
What I did: $ mkdir ~/haskell/project $ cd ~/haskell/project $ cabal sandbox init $ cabal update $ cabal install alex $ cabal install happy $ cabal install gtk2hs-buildtools $ cabal install gtk #successful until here $ cabal install glade
The last statement gave me the following error:
$ [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs,
/tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o ) $ $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 $ Failed to install cairo-0.12.5.3 $ [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs, /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox- acbd4b7/setup/SetupWrapper.o ) $ $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 $ Failed to install glib-0.12.5.4 $ cabal: Error: some packages failed to install: $ cairo-0.12.5.3 failed during the configure step. The exception was: $ ExitFailure 1 $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. $ glib-0.12.5.4 failed during the configure step. The exception was: $ ExitFailure 1 $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
Important: You can assume I don't know much. I'm rather new to Haskell/cabal _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
Hello, I am trying to install the Glade package from hackage, and I keep getting exit failure...
Hope someone can help me solve it!
What I did: $ mkdir ~/haskell/project $ cd ~/haskell/project $ cabal sandbox init $ cabal update $ cabal install alex $ cabal install happy $ cabal install gtk2hs-buildtools $ cabal install gtk #successful until here $ cabal install glade
The last statement gave me the following error:
$ [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs, /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o ) $ $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 $ Failed to install cairo-0.12.5.3 $ [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs, /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o ) $ $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 $ Failed to install glib-0.12.5.4 $ cabal: Error: some packages failed to install: $ cairo-0.12.5.3 failed during the configure step. The exception was: $ ExitFailure 1 $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. $ glib-0.12.5.4 failed during the configure step. The exception was: $ ExitFailure 1 $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
Important: You can assume I don't know much. I'm rather new to Haskell/cabal _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

I will try to use your branch before going back to GHC 7.8... But, how exactly should I do that ? Clone your branch; Build from local source code with cabal ? (I just scrolled this part while reading cabal tutorials, guess I'll have to take a look now) What about dependencies ? I should use $ cabal install glade --only-dependencies and than install glade from your branch ? Em quarta-feira, 15 de abril de 2015 05:48:42 UTC-3, Matthew Pickering escreveu:
Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
javascript:> wrote: Hello, I am trying to install the Glade package from hackage, and I keep getting exit failure...
Hope someone can help me solve it!
What I did: $ mkdir ~/haskell/project $ cd ~/haskell/project $ cabal sandbox init $ cabal update $ cabal install alex $ cabal install happy $ cabal install gtk2hs-buildtools $ cabal install gtk #successful until here $ cabal install glade
The last statement gave me the following error:
$ [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs,
/tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 $ Failed to install cairo-0.12.5.3 $ [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs,
/tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 $ Failed to install glib-0.12.5.4 $ cabal: Error: some packages failed to install: $ cairo-0.12.5.3 failed during the configure step. The exception was: $ ExitFailure 1 $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. $ glib-0.12.5.4 failed during the configure step. The exception was: $ ExitFailure 1 $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
Important: You can assume I don't know much. I'm rather new to Haskell/cabal _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org javascript: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list Haskel...@haskell.org javascript: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Hi Jean, Simply do `$ cabal sandbox add-source <path to the local glade>' and then `$ cabal install --only-dependencies' as normal. I think it should work. Cheers, Zilin On 15/04/15 22:01, Jean Lopes wrote:
I will try to use your branch before going back to GHC 7.8...
But, how exactly should I do that ? Clone your branch; Build from local source code with cabal ? (I just scrolled this part while reading cabal tutorials, guess I'll have to take a look now) What about dependencies ? I should use $ cabal install glade --only-dependencies and than install glade from your branch ?
Em quarta-feira, 15 de abril de 2015 05:48:42 UTC-3, Matthew Pickering escreveu:
Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
javascript:> wrote: > Hello, I am trying to install the Glade package from hackage, and I > keep getting exit failure... > > Hope someone can help me solve it! > > What I did: > $ mkdir ~/haskell/project > $ cd ~/haskell/project > $ cabal sandbox init > $ cabal update > $ cabal install alex > $ cabal install happy > $ cabal install gtk2hs-buildtools > $ cabal install gtk #successful until here > $ cabal install glade > > The last statement gave me the following error: > > $ [1 of 2] Compiling SetupWrapper ( > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs, > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o > ) > $ > $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: > $ Ambiguous occurrence ‘die’ > $ It could refer to either ‘Distribution.Simple.Utils.die’, > $ imported from > ‘Distribution.Simple.Utils’ at > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 > $ or ‘System.Exit.die’, > $ imported from ‘System.Exit’ at > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 > $ Failed to install cairo-0.12.5.3 > $ [1 of 2] Compiling SetupWrapper ( > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs, > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o > ) > $ > $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: > $ Ambiguous occurrence ‘die’ > $ It could refer to either ‘Distribution.Simple.Utils.die’, > $ imported from > ‘Distribution.Simple.Utils’ at > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 > $ or ‘System.Exit.die’, > $ imported from ‘System.Exit’ at > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 > $ Failed to install glib-0.12.5.4 > $ cabal: Error: some packages failed to install: > $ cairo-0.12.5.3 failed during the configure step. The exception was: > $ ExitFailure 1 > $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. > $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. > $ glib-0.12.5.4 failed during the configure step. The exception was: > $ ExitFailure 1 > $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. > $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install. > > Important: You can assume I don't know much. I'm rather new to Haskell/cabal > _______________________________________________ > Haskell-Cafe mailing list > Haskel...@haskell.org javascript: > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org javascript: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Still no success...I am missing some very basic things probably.. Em quinta-feira, 16 de abril de 2015 04:33:20 UTC-3, Zilin Chen escreveu:
Hi Jean,
Simply do `$ cabal sandbox add-source <path to the local glade>' and then `$ cabal install --only-dependencies' as normal. I think it should work.
Cheers, Zilin
On 15/04/15 22:01, Jean Lopes wrote:
I will try to use your branch before going back to GHC 7.8...
But, how exactly should I do that ? Clone your branch; Build from local source code with cabal ? (I just scrolled this part while reading cabal tutorials, guess I'll have to take a look now) What about dependencies ? I should use $ cabal install glade --only-dependencies and than install glade from your branch ?
Em quarta-feira, 15 de abril de 2015 05:48:42 UTC-3, Matthew Pickering escreveu:
Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
wrote: Hello, I am trying to install the Glade package from hackage, and I keep getting exit failure...
Hope someone can help me solve it!
What I did: $ mkdir ~/haskell/project $ cd ~/haskell/project $ cabal sandbox init $ cabal update $ cabal install alex $ cabal install happy $ cabal install gtk2hs-buildtools $ cabal install gtk #successful until here $ cabal install glade
The last statement gave me the following error:
$ [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs,
/tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 $ Failed to install cairo-0.12.5.3 $ [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs,
/tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 $ Failed to install glib-0.12.5.4 $ cabal: Error: some packages failed to install: $ cairo-0.12.5.3 failed during the configure step. The exception was: $ ExitFailure 1 $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. $ glib-0.12.5.4 failed during the configure step. The exception was: $ ExitFailure 1 $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
Important: You can assume I don't know much. I'm rather new to Haskell/cabal _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing listHaskel...@haskell.org javascript:http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Do you still get the same errors? I think the "Sandboxes: basic usage" section in [0] is what you'd follow. [0] https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes... On 17/04/15 12:11, Jean Lopes wrote:
Still no success...I am missing some very basic things probably..
Em quinta-feira, 16 de abril de 2015 04:33:20 UTC-3, Zilin Chen escreveu:
Hi Jean,
Simply do `$ cabal sandbox add-source <path to the local glade>' and then `$ cabal install --only-dependencies' as normal. I think it should work.
Cheers, Zilin
On 15/04/15 22:01, Jean Lopes wrote:
I will try to use your branch before going back to GHC 7.8...
But, how exactly should I do that ? Clone your branch; Build from local source code with cabal ? (I just scrolled this part while reading cabal tutorials, guess I'll have to take a look now) What about dependencies ? I should use $ cabal install glade --only-dependencies and than install glade from your branch ?
Em quarta-feira, 15 de abril de 2015 05:48:42 UTC-3, Matthew Pickering escreveu:
Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
wrote: > Hello, I am trying to install the Glade package from hackage, and I > keep getting exit failure... > > Hope someone can help me solve it! > > What I did: > $ mkdir ~/haskell/project > $ cd ~/haskell/project > $ cabal sandbox init > $ cabal update > $ cabal install alex > $ cabal install happy > $ cabal install gtk2hs-buildtools > $ cabal install gtk #successful until here > $ cabal install glade > > The last statement gave me the following error: > > $ [1 of 2] Compiling SetupWrapper ( > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs, > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o > ) > $ > $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: > $ Ambiguous occurrence ‘die’ > $ It could refer to either ‘Distribution.Simple.Utils.die’, > $ imported from > ‘Distribution.Simple.Utils’ at > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 > $ or ‘System.Exit.die’, > $ imported from ‘System.Exit’ at > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 > $ Failed to install cairo-0.12.5.3 > $ [1 of 2] Compiling SetupWrapper ( > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs, > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o > ) > $ > $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: > $ Ambiguous occurrence ‘die’ > $ It could refer to either ‘Distribution.Simple.Utils.die’, > $ imported from > ‘Distribution.Simple.Utils’ at > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 > $ or ‘System.Exit.die’, > $ imported from ‘System.Exit’ at > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 > $ Failed to install glib-0.12.5.4 > $ cabal: Error: some packages failed to install: > $ cairo-0.12.5.3 failed during the configure step. The exception was: > $ ExitFailure 1 > $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. > $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. > $ glib-0.12.5.4 failed during the configure step. The exception was: > $ ExitFailure 1 > $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. > $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install. > > Important: You can assume I don't know much. I'm rather new to Haskell/cabal > _______________________________________________ > Haskell-Cafe mailing list > Haskel...@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org javascript: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Ok, I will report the commands I am using: $ cd glade (Matthew Pickering's glade repository clone) $ cabal sandbox init $ cabal update $ cabal install --only-dependencies --dry-run
Resolving dependencies... In order, the following would be installed (use -v for more details): mtl-2.2.1 utf8-string-0.3.8 (latest: 1) cairo-0.12.5.3 (latest: 0.13.1.0) glib-0.12.5.4 (latest: 0.13.1.0) gio-0.12.5.3 (latest: 0.13.1.0) pango-0.12.5.3 (latest: 0.13.1.0) gtk-0.12.5.7 (latest: 0.13.6) $ cabal install --only-dependencies ... here comes the first error ... [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs, /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/dist/dist-sandbox-de3654e1/setup/SetupWrapper.o )
/tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:91:17: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 Failed to install cairo-0.12.5.3 [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs, /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/dist/dist-sandbox-de3654e1/setup/SetupWrapper.o )
/tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:91:17: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:21:1-18 Failed to install glib-0.12.5.4 cabal: Error: some packages failed to install: cairo-0.12.5.3 failed during the configure step. The exception was: ExitFailure 1 gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. glib-0.12.5.4 failed during the configure step. The exception was: ExitFailure 1 gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
So I supose the problem lies within the cairo package, right? Em sexta-feira, 17 de abril de 2015 02:34:00 UTC-3, Zilin Chen escreveu:
Do you still get the same errors? I think the "Sandboxes: basic usage" section in [0] is what you'd follow.
[0] https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes...
On 17/04/15 12:11, Jean Lopes wrote:
Still no success...I am missing some very basic things probably..
Em quinta-feira, 16 de abril de 2015 04:33:20 UTC-3, Zilin Chen escreveu:
Hi Jean,
Simply do `$ cabal sandbox add-source <path to the local glade>' and then `$ cabal install --only-dependencies' as normal. I think it should work.
Cheers, Zilin
On 15/04/15 22:01, Jean Lopes wrote:
I will try to use your branch before going back to GHC 7.8...
But, how exactly should I do that ? Clone your branch; Build from local source code with cabal ? (I just scrolled this part while reading cabal tutorials, guess I'll have to take a look now) What about dependencies ? I should use $ cabal install glade --only-dependencies and than install glade from your branch ?
Em quarta-feira, 15 de abril de 2015 05:48:42 UTC-3, Matthew Pickering escreveu:
Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
wrote: Hello, I am trying to install the Glade package from hackage, and I keep getting exit failure...
Hope someone can help me solve it!
What I did: $ mkdir ~/haskell/project $ cd ~/haskell/project $ cabal sandbox init $ cabal update $ cabal install alex $ cabal install happy $ cabal install gtk2hs-buildtools $ cabal install gtk #successful until here $ cabal install glade
The last statement gave me the following error:
$ [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs,
/tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 $ Failed to install cairo-0.12.5.3 $ [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs,
/tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 $ Failed to install glib-0.12.5.4 $ cabal: Error: some packages failed to install: $ cairo-0.12.5.3 failed during the configure step. The exception was: $ ExitFailure 1 $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. $ glib-0.12.5.4 failed during the configure step. The exception was: $ ExitFailure 1 $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
Important: You can assume I don't know much. I'm rather new to Haskell/cabal _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing listHaskel...@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing listHaskel...@haskell.org javascript:http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Sorry for late reply. This issue has been fixed as per https://github.com/gtk2hs/gtk2hs/issues/100 which appears in a later version of cairo. It seems than glade requires gtk < 0.13 ==> cairo < 0.13 and doesn't include the fix. On 19/04/15 02:10, Jean Lopes wrote:
Ok, I will report the commands I am using: $ cd glade (Matthew Pickering's glade repository clone) $ cabal sandbox init $ cabal update $ cabal install --only-dependencies --dry-run
Resolving dependencies... In order, the following would be installed (use -v for more details): mtl-2.2.1 utf8-string-0.3.8 (latest: 1) cairo-0.12.5.3 (latest: 0.13.1.0) glib-0.12.5.4 (latest: 0.13.1.0) gio-0.12.5.3 (latest: 0.13.1.0) pango-0.12.5.3 (latest: 0.13.1.0) gtk-0.12.5.7 (latest: 0.13.6) $ cabal install --only-dependencies ... here comes the first error ... [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs, /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/dist/dist-sandbox-de3654e1/setup/SetupWrapper.o )
/tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:91:17: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 Failed to install cairo-0.12.5.3 [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs, /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/dist/dist-sandbox-de3654e1/setup/SetupWrapper.o )
/tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:91:17: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:21:1-18 Failed to install glib-0.12.5.4 cabal: Error: some packages failed to install: cairo-0.12.5.3 failed during the configure step. The exception was: ExitFailure 1 gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. glib-0.12.5.4 failed during the configure step. The exception was: ExitFailure 1 gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
So I supose the problem lies within the cairo package, right?
Em sexta-feira, 17 de abril de 2015 02:34:00 UTC-3, Zilin Chen escreveu:
Do you still get the same errors? I think the "Sandboxes: basic usage" section in [0] is what you'd follow.
[0] https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes... https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes...
On 17/04/15 12:11, Jean Lopes wrote:
Still no success...I am missing some very basic things probably..
Em quinta-feira, 16 de abril de 2015 04:33:20 UTC-3, Zilin Chen escreveu:
Hi Jean,
Simply do `$ cabal sandbox add-source <path to the local glade>' and then `$ cabal install --only-dependencies' as normal. I think it should work.
Cheers, Zilin
On 15/04/15 22:01, Jean Lopes wrote:
I will try to use your branch before going back to GHC 7.8...
But, how exactly should I do that ? Clone your branch; Build from local source code with cabal ? (I just scrolled this part while reading cabal tutorials, guess I'll have to take a look now) What about dependencies ? I should use $ cabal install glade --only-dependencies and than install glade from your branch ?
Em quarta-feira, 15 de abril de 2015 05:48:42 UTC-3, Matthew Pickering escreveu:
Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
wrote: > Hello, I am trying to install the Glade package from hackage, and I > keep getting exit failure... > > Hope someone can help me solve it! > > What I did: > $ mkdir ~/haskell/project > $ cd ~/haskell/project > $ cabal sandbox init > $ cabal update > $ cabal install alex > $ cabal install happy > $ cabal install gtk2hs-buildtools > $ cabal install gtk #successful until here > $ cabal install glade > > The last statement gave me the following error: > > $ [1 of 2] Compiling SetupWrapper ( > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs, > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o > ) > $ > $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: > $ Ambiguous occurrence ‘die’ > $ It could refer to either ‘Distribution.Simple.Utils.die’, > $ imported from > ‘Distribution.Simple.Utils’ at > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 > $ or ‘System.Exit.die’, > $ imported from ‘System.Exit’ at > /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 > $ Failed to install cairo-0.12.5.3 > $ [1 of 2] Compiling SetupWrapper ( > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs, > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o > ) > $ > $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: > $ Ambiguous occurrence ‘die’ > $ It could refer to either ‘Distribution.Simple.Utils.die’, > $ imported from > ‘Distribution.Simple.Utils’ at > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 > $ or ‘System.Exit.die’, > $ imported from ‘System.Exit’ at > /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 > $ Failed to install glib-0.12.5.4 > $ cabal: Error: some packages failed to install: > $ cairo-0.12.5.3 failed during the configure step. The exception was: > $ ExitFailure 1 > $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. > $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. > $ glib-0.12.5.4 failed during the configure step. The exception was: > $ ExitFailure 1 > $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. > $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install. > > Important: You can assume I don't know much. I'm rather new to Haskell/cabal > _______________________________________________ > Haskell-Cafe mailing list > Haskel...@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org javascript: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Hi, I did wipe the constraints of gtk and cairo < 0.13 from the glade.cabal file, and it installed correctly only to see a error happening because I used the wrong glade version to generate the UI, later I found out the gtk3 library... which installed correctly from scratch and worked just fine.. the only downside so far is lack of samples written in haskell for the gtk3... I found more about gtk2... and there is some changes on "how to write"... the first difference for me was on how to set events for widgets... I did download the sources now, and started looking in the gtk3 demos... Em domingo, 19 de abril de 2015 23:00:28 UTC-3, Zilin Chen escreveu:
Sorry for late reply. This issue has been fixed as per https://github.com/gtk2hs/gtk2hs/issues/100 which appears in a later version of cairo. It seems than glade requires gtk < 0.13 ==> cairo < 0.13 and doesn't include the fix.
On 19/04/15 02:10, Jean Lopes wrote:
Ok, I will report the commands I am using: $ cd glade (Matthew Pickering's glade repository clone) $ cabal sandbox init $ cabal update $ cabal install --only-dependencies --dry-run
Resolving dependencies... In order, the following would be installed (use -v for more details): mtl-2.2.1 utf8-string-0.3.8 (latest: 1) cairo-0.12.5.3 (latest: 0.13.1.0) glib-0.12.5.4 (latest: 0.13.1.0) gio-0.12.5.3 (latest: 0.13.1.0) pango-0.12.5.3 (latest: 0.13.1.0) gtk-0.12.5.7 (latest: 0.13.6) $ cabal install --only-dependencies ... here comes the first error ... [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs, /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/dist/dist-sandbox-de3654e1/setup/SetupWrapper.o )
/tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:91:17: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 Failed to install cairo-0.12.5.3 [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs, /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/dist/dist-sandbox-de3654e1/setup/SetupWrapper.o )
/tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:91:17: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:21:1-18 Failed to install glib-0.12.5.4 cabal: Error: some packages failed to install: cairo-0.12.5.3 failed during the configure step. The exception was: ExitFailure 1 gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. glib-0.12.5.4 failed during the configure step. The exception was: ExitFailure 1 gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
So I supose the problem lies within the cairo package, right?
Em sexta-feira, 17 de abril de 2015 02:34:00 UTC-3, Zilin Chen escreveu:
Do you still get the same errors? I think the "Sandboxes: basic usage" section in [0] is what you'd follow.
[0] https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes...
On 17/04/15 12:11, Jean Lopes wrote:
Still no success...I am missing some very basic things probably..
Em quinta-feira, 16 de abril de 2015 04:33:20 UTC-3, Zilin Chen escreveu:
Hi Jean,
Simply do `$ cabal sandbox add-source <path to the local glade>' and then `$ cabal install --only-dependencies' as normal. I think it should work.
Cheers, Zilin
On 15/04/15 22:01, Jean Lopes wrote:
I will try to use your branch before going back to GHC 7.8...
But, how exactly should I do that ? Clone your branch; Build from local source code with cabal ? (I just scrolled this part while reading cabal tutorials, guess I'll have to take a look now) What about dependencies ? I should use $ cabal install glade --only-dependencies and than install glade from your branch ?
Em quarta-feira, 15 de abril de 2015 05:48:42 UTC-3, Matthew Pickering escreveu:
Hi Jean,
You can try cloning my branch until a push gets accepted upstream.
https://github.com/mpickering/glade
The fixes to get it working with 7.10 were fairly minimal.
Matt
On Wed, Apr 15, 2015 at 4:33 AM, Jean Lopes
wrote: Hello, I am trying to install the Glade package from hackage, and I keep getting exit failure...
Hope someone can help me solve it!
What I did: $ mkdir ~/haskell/project $ cd ~/haskell/project $ cabal sandbox init $ cabal update $ cabal install alex $ cabal install happy $ cabal install gtk2hs-buildtools $ cabal install gtk #successful until here $ cabal install glade
The last statement gave me the following error:
$ [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs,
/tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/cairo-0.12.5.3-5133/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 $ Failed to install cairo-0.12.5.3 $ [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs,
/tmp/glib-0.12.5.4-5133/glib-0.12.5.4/dist/dist-sandbox-acbd4b7/setup/SetupWrapper.o
) $ $ /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:91:17: $ Ambiguous occurrence ‘die’ $ It could refer to either ‘Distribution.Simple.Utils.die’, $ imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:8:1-32 $ or ‘System.Exit.die’, $ imported from ‘System.Exit’ at /tmp/glib-0.12.5.4-5133/glib-0.12.5.4/SetupWrapper.hs:21:1-18 $ Failed to install glib-0.12.5.4 $ cabal: Error: some packages failed to install: $ cairo-0.12.5.3 failed during the configure step. The exception was: $ ExitFailure 1 $ gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. $ glade-0.12.5.0 depends on glib-0.12.5.4 which failed to install. $ glib-0.12.5.4 failed during the configure step. The exception was: $ ExitFailure 1 $ gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. $ pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
Important: You can assume I don't know much. I'm rather new to Haskell/cabal _______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list Haskel...@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing listHaskel...@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing listHaskel...@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing listHaskel...@haskell.org javascript:http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (4)
-
Jean Lopes
-
Matthew Pickering
-
Paul Samways
-
Zilin Chen