[Haskell-cafe] Package Woes

Lemmih lemmih at gmail.com
Fri Nov 13 12:58:22 EST 2009

On Thu, Nov 12, 2009 at 4:47 AM, Daniel Fischer
<daniel.is.fischer at web.de> wrote:
> Sorry, slightly off-topic.
> I wanted to install LHC to compare that to GHC and JHC, but alas:
> dafis at linux-mkk1:~/Haskell/LHC/lhc-0.8> cabal install -fwith-libs -flhc-regress
> Resolving dependencies...
> Configuring libffi-0.1...
> cabal: The pkg-config package libffi is required but it could not be found.
> cabal: Error: some packages failed to install:
> lhc-0.8 depends on libffi-0.1 which failed to install.
> libffi-0.1 failed during the configure step. The exception was:
> exit: ExitFailure 1
> Okay, so I installed libffi, but to no avail, still can't find libffi.
> The problem is apparently that libffi doesn't come with a .pc file, so pkg-config doesn't
> know about it.

We no longer use libffi and I've removed the dependency.

However, you're most likely to hit further obstacles when it comes to
building the base libraries for LHC. I recommend waiting for the next
stable release.


More information about the Haskell-Cafe mailing list