<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body 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 class="moz-txt-link-freetext" href="https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes-advanced-usage">https://www.haskell.org/cabal/users-guide/installing-packages.html#sandboxes-advanced-usage</a></big></tt><br>
<br>
<div class="moz-cite-prefix">On 17/04/15 12:11, Jean Lopes wrote:<br>
</div>
<blockquote
cite="mid:b071581e-3023-44b7-b5f6-853aea9bc24e@googlegroups.com"
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" href="javascript:" target="_blank" gdf-obfuscated-mailto="tfUSslK8S3YJ" 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>
</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>