[Haskell-cafe] Cabal fun [Half-integer]

Derek Elkins derek.a.elkins at gmail.com
Sun Jun 28 21:39:41 EDT 2009


On Sun, Jun 28, 2009 at 4:11 PM, Antoine Latter<aslatter at gmail.com> wrote:
> On Sun, Jun 28, 2009 at 3:42 PM, Andrew
> Coppin<andrewcoppin at btinternet.com> wrote:
>> Andrew Coppin wrote:
>>>
>>> Alrighty then, so how I just do Setup configure, and now Setup sdist, and
>>> then I can upload the result to Ha-- oh, don't be silly. That would simply
>>> be too easy. ;-)
>>>
>>> E:\Haskell\AOC-HalfInteger>runhaskell Setup sdist
>>> Building source dist for AOC-HalfInteger-1.0...
>>> Preprocessing library AOC-HalfInteger-1.0...
>>> Setup: tar is required but it could not be found.
>>>
>>> Time to go search the web and find out what the other 50 people who
>>> stumbled into this did... *sigh*
>>
>> Ah. Apparently it's "fixed":
>>
>> http://hackage.haskell.org/trac/hackage/ticket/40
>
>> Except that it isn't fixed. Yay for me...
>>
>> It seems that GHC provides ar but not tar. Looks like I might actually have
>> to copy the entire directory tree to a Linux box just so I can run sdist...
>> Nice to know this stuff is so easy. :-/
>>
>
> I don't know anything that's gauranteed to work, as I've never tried
> packaging from a Windows box, but:
>
>  - Is 'htar' a good enough 'tar' replacement for cabal?
>  - Does cabal-install also require an external tar? You could try "cabal sdist"

If one actually reads the discussion in the ticket, it is clear that
the conclusion was to have cabal-install handle it and that
cabal-install uses it's own tar implementation.


More information about the Haskell-Cafe mailing list