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

Magnus Therning magnus at therning.org
Sat Mar 27 07:54:50 EDT 2010

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/20100327/ade24442/signature-0001.bin

More information about the arch-haskell mailing list