<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="monospace">Sorry for late reply. This issue has been
      fixed as per <a class="moz-txt-link-freetext" href="https://github.com/gtk2hs/gtk2hs/issues/100">https://github.com/gtk2hs/gtk2hs/issues/100</a> 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.</font><br>
    <br>
    <div class="moz-cite-prefix">On 19/04/15 02:10, Jean Lopes wrote:<br>
    </div>
    <blockquote
      cite="mid:fbef51cc-3d5d-4185-b958-2c02202e491f@googlegroups.com"
      type="cite">
      <div dir="ltr">Ok, I will report the commands I am using:<br>
        $ cd glade (Matthew Pickering's glade repository clone)<br>
        $ cabal sandbox init<br>
        $ cabal update<br>
        $ cabal install --only-dependencies --dry-run<br>
        > Resolving dependencies...<br>
        > In order, the following would be installed (use -v for more
        details):<br>
        > mtl-2.2.1<br>
        > utf8-string-0.3.8 (latest: 1)<br>
        > cairo-0.12.5.3 (latest: 0.13.1.0)<br>
        > glib-0.12.5.4 (latest: 0.13.1.0)<br>
        > gio-0.12.5.3 (latest: 0.13.1.0)<br>
        > pango-0.12.5.3 (latest: 0.13.1.0)<br>
        > gtk-0.12.5.7 (latest: 0.13.6)<br>
        $ cabal install --only-dependencies<br>
        > ... here comes the first error ...<br>
        > [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
        )<br>
        > <br>
        >
        /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:91:17:<br>
        >     Ambiguous occurrence ‘die’<br>
        >     It could refer to either
        ‘Distribution.Simple.Utils.die’,<br>
        >                              imported from
        ‘Distribution.Simple.Utils’ at
        /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:8:1-32<br>
        >                           or ‘System.Exit.die’,<br>
        >                              imported from ‘System.Exit’ at
        /tmp/cairo-0.12.5.3-1305/cairo-0.12.5.3/SetupWrapper.hs:21:1-18<br>
        > Failed to install cairo-0.12.5.3<br>
        > [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
        )<br>
        > <br>
        >
        /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:91:17:<br>
        >     Ambiguous occurrence ‘die’<br>
        >     It could refer to either
        ‘Distribution.Simple.Utils.die’,<br>
        >                              imported from
        ‘Distribution.Simple.Utils’ at
        /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:8:1-32<br>
        >                           or ‘System.Exit.die’,<br>
        >                              imported from ‘System.Exit’ at
        /tmp/glib-0.12.5.4-1305/glib-0.12.5.4/SetupWrapper.hs:21:1-18<br>
        > Failed to install glib-0.12.5.4<br>
        > cabal: Error: some packages failed to install:<br>
        > cairo-0.12.5.3 failed during the configure step. The
        exception was:<br>
        > ExitFailure 1<br>
        > gio-0.12.5.3 depends on glib-0.12.5.4 which failed to
        install.<br>
        > glib-0.12.5.4 failed during the configure step. The
        exception was:<br>
        > ExitFailure 1<br>
        > gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to
        install.<br>
        > pango-0.12.5.3 depends on glib-0.12.5.4 which failed to
        install.<br>
        <br>
        So I supose the problem lies within the cairo package, right?<br>
        <br>
        Em sexta-feira, 17 de abril de 2015 02:34:00 UTC-3, Zilin Chen
        escreveu:
        <blockquote class="gmail_quote" style="margin: 0;margin-left:
          0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
          <div text="#000000" bgcolor="#FFFFFF"> <tt><big><big><font
                    size="-1"><big><big>Do you still get the same
                        errors? I think the "</big></big></font></big>Sandboxes:

                basic usage" section in [0] is what you'd follow.<br>
                <br>
              </big><big>[0]
                <a moz-do-not-send="true"
href="https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes-advanced-usage"
                  target="_blank" rel="nofollow"
                  onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fwww.haskell.org%2Fcabal%2Fusers-guide%2Finstalling-packages.html%23sandboxes-advanced-usage\46sa\75D\46sntz\0751\46usg\75AFQjCNEKx2thAMaNrpac3_4KYMn2jcx1IA';return
                  true;"
                  onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fwww.haskell.org%2Fcabal%2Fusers-guide%2Finstalling-packages.html%23sandboxes-advanced-usage\46sa\75D\46sntz\0751\46usg\75AFQjCNEKx2thAMaNrpac3_4KYMn2jcx1IA';return
                  true;">https://www.haskell.org/cabal/<wbr>users-guide/installing-<wbr>packages.html#sandboxes-<wbr>advanced-usage</a></big></tt><br>
            <br>
            <div>On 17/04/15 12:11, Jean Lopes wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Still no success...I am missing some very
                basic things probably..
                <div><br>
                  Em quinta-feira, 16 de abril de 2015 04:33:20 UTC-3,
                  Zilin Chen escreveu:
                  <blockquote class="gmail_quote"
                    style="margin:0;margin-left:0.8ex;border-left:1px
                    #ccc solid;padding-left:1ex">
                    <div bgcolor="#FFFFFF" text="#000000"> Hi Jean,<br>
                      <br>
                      Simply do `$ cabal sandbox add-source <path to
                      the local glade>' and then `$ cabal install
                      --only-dependencies' as normal. I think it should
                      work.<br>
                      <br>
                      Cheers,<br>
                      Zilin<br>
                      <br>
                      <br>
                      <div>On 15/04/15 22:01, Jean Lopes wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div dir="ltr">
                          <div>I will try to use your branch before
                            going back to GHC 7.8...</div>
                          <div><br>
                          </div>
                          <div>But, how exactly should I do that ?</div>
                          <div>Clone your branch;</div>
                          <div>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)  </div>
                          <div>What about dependencies ? I should use $
                            cabal install glade --only-dependencies and
                            than install glade from your branch ?</div>
                          <br>
                          Em quarta-feira, 15 de abril de 2015 05:48:42
                          UTC-3, Matthew Pickering escreveu:
                          <blockquote class="gmail_quote"
                            style="margin:0;margin-left:0.8ex;border-left:1px
                            #ccc solid;padding-left:1ex">Hi Jean,
                            <p>You can try cloning my branch until a
                              push gets accepted upstream.</p>
                            <p><a moz-do-not-send="true"
                                href="https://github.com/mpickering/glade"
                                rel="nofollow" target="_blank"
                                onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fmpickering%2Fglade\46sa\75D\46sntz\0751\46usg\75AFQjCNGJgS2RSOD_GrxrLLjZp_XUnnU6Jw';return
                                true;"
                                onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fmpickering%2Fglade\46sa\75D\46sntz\0751\46usg\75AFQjCNGJgS2RSOD_GrxrLLjZp_XUnnU6Jw';return
                                true;">https://github.com/mpickering/<wbr>glade</a></p>
                            <p>The fixes to get it working with 7.10
                              were fairly minimal.</p>
                            <p>Matt</p>
                            <p>On Wed, Apr 15, 2015 at 4:33 AM, Jean
                              Lopes <<a moz-do-not-send="true"
                                rel="nofollow">hawu...@gmail.com</a>>
                              wrote:<br>
                              > Hello, I am trying to install the
                              Glade package from hackage, and I<br>
                              > keep getting exit failure...<br>
                              ><br>
                              > Hope someone can help me solve it!<br>
                              ><br>
                              > What I did:<br>
                              > $ mkdir ~/haskell/project<br>
                              > $ cd ~/haskell/project<br>
                              > $ cabal sandbox init<br>
                              > $ cabal update<br>
                              > $ cabal install alex<br>
                              > $ cabal install happy<br>
                              > $ cabal install gtk2hs-buildtools<br>
                              > $ cabal install gtk #successful until
                              here<br>
                              > $ cabal install glade<br>
                              ><br>
                              > The last statement gave me the
                              following error:<br>
                              ><br>
                              > $ [1 of 2] Compiling SetupWrapper    
                              (<br>
                              > /tmp/cairo-0.12.5.3-5133/<wbr>cairo-0.12.5.3/SetupWrapper.<wbr>hs,<br>
                              > /tmp/cairo-0.12.5.3-5133/<wbr>cairo-0.12.5.3/dist/dist-<wbr>sandbox-acbd4b7/setup/<wbr>SetupWrapper.o<br>
                              > )<br>
                              > $<br>
                              > $ /tmp/cairo-0.12.5.3-5133/<wbr>cairo-0.12.5.3/SetupWrapper.<wbr>hs:91:17:<br>
                              > $     Ambiguous occurrence ‘die’<br>
                              > $     It could refer to either
                              ‘Distribution.Simple.Utils.<wbr>die’,<br>
                              > $                            
                               imported from<br>
                              > ‘Distribution.Simple.Utils’ at<br>
                              > /tmp/cairo-0.12.5.3-5133/<wbr>cairo-0.12.5.3/SetupWrapper.<wbr>hs:8:1-32<br>
                              > $                           or
                              ‘System.Exit.die’,<br>
                              > $                            
                               imported from ‘System.Exit’ at<br>
                              > /tmp/cairo-0.12.5.3-5133/<wbr>cairo-0.12.5.3/SetupWrapper.<wbr>hs:21:1-18<br>
                              > $ Failed to install cairo-0.12.5.3<br>
                              > $ [1 of 2] Compiling SetupWrapper    
                              (<br>
                              > /tmp/glib-0.12.5.4-5133/glib-<wbr>0.12.5.4/SetupWrapper.hs,<br>
                              > /tmp/glib-0.12.5.4-5133/glib-<wbr>0.12.5.4/dist/dist-sandbox-<wbr>acbd4b7/setup/SetupWrapper.o<br>
                              > )<br>
                              > $<br>
                              > $ /tmp/glib-0.12.5.4-5133/glib-<wbr>0.12.5.4/SetupWrapper.hs:91:<wbr>17:<br>
                              > $     Ambiguous occurrence ‘die’<br>
                              > $     It could refer to either
                              ‘Distribution.Simple.Utils.<wbr>die’,<br>
                              > $                            
                               imported from<br>
                              > ‘Distribution.Simple.Utils’ at<br>
                              > /tmp/glib-0.12.5.4-5133/glib-<wbr>0.12.5.4/SetupWrapper.hs:8:1-<wbr>32<br>
                              > $                           or
                              ‘System.Exit.die’,<br>
                              > $                            
                               imported from ‘System.Exit’ at<br>
                              > /tmp/glib-0.12.5.4-5133/glib-<wbr>0.12.5.4/SetupWrapper.hs:21:1-<wbr>18<br>
                              > $ Failed to install glib-0.12.5.4<br>
                              > $ cabal: Error: some packages failed
                              to install:<br>
                              > $ cairo-0.12.5.3 failed during the
                              configure step. The exception was:<br>
                              > $ ExitFailure 1<br>
                              > $ gio-0.12.5.3 depends on
                              glib-0.12.5.4 which failed to install.<br>
                              > $ glade-0.12.5.0 depends on
                              glib-0.12.5.4 which failed to install.<br>
                              > $ glib-0.12.5.4 failed during the
                              configure step. The exception was:<br>
                              > $ ExitFailure 1<br>
                              > $ gtk-0.12.5.7 depends on
                              glib-0.12.5.4 which failed to install.<br>
                              > $ pango-0.12.5.3 depends on
                              glib-0.12.5.4 which failed to install.<br>
                              ><br>
                              > Important: You can assume I don't
                              know much. I'm rather new to Haskell/cabal<br>
                              > ______________________________<wbr>_________________<br>
                              > Haskell-Cafe mailing list<br>
                              > <a moz-do-not-send="true"
                                rel="nofollow">Haskel...@haskell.org</a><br>
                              > <a moz-do-not-send="true"
                                href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe"
                                rel="nofollow" target="_blank"
                                onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return
                                true;"
                                onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return
                                true;">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
                              ______________________________<wbr>_________________<br>
                              Haskell-Cafe mailing list<br>
                              <a moz-do-not-send="true" rel="nofollow">Haskel...@haskell.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe"
                                rel="nofollow" target="_blank"
                                onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return
                                true;"
                                onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return
                                true;">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
                            </p>
                          </blockquote>
                        </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                        <pre>______________________________<wbr>_________________
Haskell-Cafe mailing list
<a moz-do-not-send="true" rel="nofollow">Haskel...@haskell.org</a>
<a moz-do-not-send="true" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="nofollow" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return true;">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a>
</pre>
                      </blockquote>
                      <br>
                    </div>
                  </blockquote>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <br>
              <pre>______________________________<wbr>_________________
Haskell-Cafe mailing list
<a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="ee7xbx0n9JMJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">Haskel...@haskell.org</a>
<a moz-do-not-send="true" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fhaskell-cafe\46sa\75D\46sntz\0751\46usg\75AFQjCNH7sFgl7KfuDcDlaGGG3ip3kRaoIA';return true;">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a>
</pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Haskell-Cafe mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>