A package does not install in Windows, but it should

Daniel Díaz Casanueva dhelta.diaz at gmail.com
Thu Jul 4 12:27:17 CEST 2013


OK, thank you for your respense, Gregory. That was the whole problem and
now it is fixed.

Just for the sake of curiosity, why is that name (with any extension) not
allowed in Windows?

Thank you,
Daniel Díaz.


On Thu, Jul 4, 2013 at 11:25 AM, Daniel Díaz Casanueva <
dhelta.diaz at gmail.com> wrote:

> Does that apply to "Aux.hs" files?
>
>
> On Thu, Jul 4, 2013 at 3:20 AM, Gregory Collins <greg at gregorycollins.net>wrote:
>
>> Windows doesn't allow files called "Aux" (it's a vestige of the DOS days).
>>
>> G
>>
>>
>> On Wed, Jul 3, 2013 at 6:57 PM, Daniel Díaz Casanueva <
>> dhelta.diaz at gmail.com> wrote:
>>
>>> Hello everyone.
>>>
>>> Firstly, my apologies if this is not the right place to report this
>>> problem, but my guess is that is a cabal related problem.
>>>
>>> I wrote a package and is now uploaded in Hackage [1]. I do not have any
>>> problems installing it (cabal install) in my usual computer (debian). I
>>> tried other computer running windows, and it does not build reporting the
>>> following error:
>>>
>>> hatex-guide-1.0.1.3 failed while unpacking the package. The exception
>>> was:
>>> user error (Invalid file name in tar archive:
>>> "hatex-guide-1.0.1.3\\Text\\LaTeX\\Guide\\Aux.hs")
>>>
>>> I am using a custom script and this module here (Text.LaTeX.Guide.Aux)
>>> is generated by the Setup.hs code.
>>>
>>> Suspecting that it may fail in other computers as well, I have tried to
>>> install it in yet another maching (ubuntu). It installed just fine.
>>>
>>> Therefore, I am seeing different behaviors depending on the system, when
>>> the library really does not use any platform specific feature. It should be
>>> portable if I am not missing anything. Anyway, note that the error is
>>> "while unpacking the package". Mysterious to me.
>>>
>>> I would gladly look through the Cabal code and look in which step is the
>>> error thrown, but I am not familiarized with the code of the library and it
>>> may be a big task for such a simple (in appearance) error. However, I can
>>> tell that I didn't try (yet).
>>>
>>> Any help is appreciated.
>>>
>>> Thanks,
>>> Daniel Díaz.
>>>
>>> --
>>>
>>> [1] http://hackage.haskell.org/package/hatex-guide
>>>
>>> _______________________________________________
>>> cabal-devel mailing list
>>> cabal-devel at haskell.org
>>> http://www.haskell.org/mailman/listinfo/cabal-devel
>>>
>>>
>>
>>
>> --
>> Gregory Collins <greg at gregorycollins.net>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20130704/a8b48438/attachment.htm>


More information about the cabal-devel mailing list