package installation woes with Template Haskell / dynamic libraries

Ian Lynagh ian at well-typed.com
Sat Jul 13 13:57:31 CEST 2013


On Thu, Apr 11, 2013 at 02:33:29PM -0400, Richard Eisenberg wrote:
> 
> tl;dr: cabal fails to install a package where one module in the package uses another module via Template Haskell, requiring a .dyn_o file. The compilation order, though, makes .o files before .dyn_o files, so installation fails. Is this my fault or cabal's?

cabal-install HEAD compiled with Cabal HEAD should do the right thing.

Older versions won't, as they don't know about GHCis that use dynamic
libraries.


Thanks
Ian
-- 
Ian Lynagh, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/



More information about the ghc-devs mailing list