You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring hsemail-2.2.1...
Preprocessing library for hsemail-2.2.1..
Building library for hsemail-2.2.1..
on the commandline: warning: ignoring -split-objs
[2 of 2] Compiling Text.Parsec.Rfc2822 ( src/Text/Parsec/Rfc2822.hs, dist/build/Text/Parsec/Rfc2822.o, dist/build/Text/Parsec/Rfc2822.dyn_o )
src/Text/Parsec/Rfc2822.hs:26:1: error:
Could not find module ‘Data.Time.Calendar.Compat’
There are files missing in the ‘time-compat-1.9.5’ package,
try running 'ghc-pkg check'.
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
26 | import Data.Time.Calendar.Compat
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I have built hsemail successfully with time-compat version 1.9.5. I don't see the error message you reported. Looking at the exact message, however, it looks like
There are files missing in the ‘time-compat-1.9.5’ package, try running 'ghc-pkg check'.
is a system-level error, not an actual compiler error. Is it possible that your installation has been corrupted in some way? Could you please run ghc-pkg check? Also, it might be a good idea to re-install time-compat from scratch to make sure all files that it's supposed to contain are actually there.
Trying to compile:
I do have
time-compat
installed:Is that some sort of compatibility issue? Distro: Arch Linux x86_64, rolling
The text was updated successfully, but these errors were encountered: