https://wiki.haskell.org/index.php?title=Talk:Cabal/How_to_install_a_Cabal_package&feed=atom&action=historyTalk:Cabal/How to install a Cabal package - Revision history2024-03-28T21:08:01ZRevision history for this page on the wikiMediaWiki 1.35.5https://wiki.haskell.org/index.php?title=Talk:Cabal/How_to_install_a_Cabal_package&diff=24923&oldid=prevGwern: rp. huh?2008-12-17T01:47:33Z<p>rp. huh?</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 01:47, 17 December 2008</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Question about DARCS''': How does one install from a DARCS repository? In some places this seems to be a "natural thing to do" for some people but it isn't self explanatory.</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Question about DARCS''': How does one install from a DARCS repository? In some places this seems to be a "natural thing to do" for some people but it isn't self explanatory.</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:I don't really follow. If you have a directory containing source files managed by Darcs, then if it is packaged by Cabal, (has a foo.cabal, Setup.hs, etc.), then you build and install as normal. If the sources in a repository are packaged with Autotools, then you configure && make && make install. And so on - whether it's a tarball or a darcs repo or a git repo or a svn repo makes no difference. --[[User:Gwern|Gwern]] 01:47, 17 December 2008 (UTC)</div></td>
</tr>
</table>Gwernhttps://wiki.haskell.org/index.php?title=Talk:Cabal/How_to_install_a_Cabal_package&diff=24921&oldid=prevCanadaduane: Added question about "cabal install" with darcs2008-12-17T00:10:25Z<p>Added question about "cabal install" with darcs</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:10, 17 December 2008</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 21:</td>
<td colspan="2" class="diff-lineno">Line 21:</td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>that I wanted. Cabal then ran the wrong ghc-pkg, and registered</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>that I wanted. Cabal then ran the wrong ghc-pkg, and registered</div></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>the installation to the wrong compiler.</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>the installation to the wrong compiler.</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''Question about DARCS''': How does one install from a DARCS repository? In some places this seems to be a "natural thing to do" for some people but it isn't self explanatory.</div></td>
</tr>
</table>Canadaduanehttps://wiki.haskell.org/index.php?title=Talk:Cabal/How_to_install_a_Cabal_package&diff=19691&oldid=prevYitzGale: Proposed addendum about multiple compilers2008-03-06T12:17:49Z<p>Proposed addendum about multiple compilers</p>
<p><b>New page</b></p><div>I would like to add the following to the end of this topic:<br />
<br />
(begin proposed addendum)<br />
<br />
'''Note''': If you have more than one Haskell compiler on your system,<br />
use the <code>--with-compiler</code> option for the<br />
<code>configure</code> step. That will ensure that Cabal<br />
uses the correct compiler during the entire installation process.<br />
For example:<br />
<br />
<code><br />
runghc Setup.hs configure --with-compiler=ghc-6.8.2<br />
runghc Setup.hs build<br />
runghc Setup.hs install<br />
</code><br />
<br />
(end proposed addendum)<br />
<br />
Without this, I didn't know that you need to use that<br />
flag. I just ran runhaskell with an explicit path to the compiler<br />
that I wanted. Cabal then ran the wrong ghc-pkg, and registered<br />
the installation to the wrong compiler.</div>YitzGale