[arch-haskell] Codec-Image-DevIL, Arch Linux, haskell-codec-image-devil

Magnus Therning magnus at therning.org
Sat Oct 12 07:36:15 UTC 2013

On 26/03/10 20:37, Gregory D. Weber wrote:
> B.  Whether to fix Cabal?
> But why is Cabal spuriously reporting the absence of libIL?
> It is an error, isn't it?
> I have the impression, formed from browsing around on
> http://hackage.haskell.org/trac/hackage/, that in the
> configuration step, when Cabal sees the line
> Extra-Libraries: IL
> it writes a small C program that tries to include that library,
> and reports the library is missing if there's an error
> in compiling it.  Maybe Cabal needs to interpret the
> C compiler's error messages more carefully.

Based on your own experiment it looks like Cabal is correct.  Linking with
*only* IL fails!  The error is in the .cabal file, as you yourself point out
mentioning only IL isn't enough (on Arch[1]).

I would agree that Cabal's error message isn't as descriptive as it could be.


[1]: It may work on other platforms/distros.  It would be possible to decide
which of pthread/rt to use when IL is compiled, and in that case it would be
enough to use just -lIL.

Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20131012/ade24442/attachment.sig>

More information about the arch-haskell mailing list