<div dir="ltr">HI Peng,<div><br></div><div>Something might have messed up the hourglass-0.2.9 installation. I would try `ghc-pkg unregister hourglass` (`cabal sandbox hc-pkg unregister hourglass` if in a sandbox) and then trying again.</div><div><br></div><div>HTH,</div><div>Adam</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 25, 2015 at 2:12 AM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com" target="_blank">pengyu.ut@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I got the following error. I am not sure how to fix the problem. Could<br>
anybody let me know what I should do? Thanks.<br>
<br>
~$ cabal install --reinstall --force-reinstall asn1-types<br>
Resolving dependencies...<br>
Warning: The following packages are likely to be broken by the reinstalls:<br>
crypto-pubkey-types-0.4.3<br>
asn1-encoding-0.9.0<br>
Continuing even though the plan contains dangerous reinstalls.<br>
Downloading asn1-types-0.3.0...<br>
Configuring asn1-types-0.3.0...<br>
Building asn1-types-0.3.0...<br>
Failed to install asn1-types-0.3.0<br>
Build log ( /Users/py/.cabal/logs/asn1-types-0.3.0.log ):<br>
Configuring asn1-types-0.3.0...<br>
Building asn1-types-0.3.0...<br>
Preprocessing library asn1-types-0.3.0...<br>
<br>
Data/ASN1/Types.hs:23:8:<br>
    Could not find module ‘Data.Hourglass’<br>
    There are files missing in the ‘hourglass-0.2.9’ package,<br>
    try running 'ghc-pkg check'.<br>
    Use -v to see a list of the files searched for.<br>
cabal: Error: some packages failed to install:<br>
asn1-types-0.3.0 failed during the building phase. The exception was:<br>
ExitFailure 1<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Regards,<br>
Peng<br>
_______________________________________________<br>
cabal-devel mailing list<br>
<a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a><br>
</font></span></blockquote></div><br></div>