When trying cabal install gd I found the following error:
Configuring gd-3000.7.3... cabal: Missing dependencies on foreign libraries: * Missing (or bad) header file: gd.h * Missing C libraries: gd, png, jpeg This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). ...
It says Missing C libraries: gd, png, jpeg
I think I'm right when interpreted as: the missing libraries are some undefined versions : libgd , libpng , libjpeg and their -dev versions .
We see that here cabal did not report anything about the versions of these libraries, and therefore it is difficult to understand which version of foreign libraries it requires.
I read gd.cabal from hackage site
there is a line that says:
Extra-libraries: gd, png, z, jpeg, m, fontconfig, freetype, expat
But it also says nothing about versions of foreign libraries.
Is there any place where such information is available (but Kabbalah ignores it or I donβt know the correct switch)? Is there any switch I need to turn on? or is it the case when the bondage is in the power of the developer of this package, which may or may not include information about versions of foreign libraries?
I want to get a more general answer, not only related to this cabal install gd problem.
Sorry for a few questions, but I think they are related.
haskell dependencies cabal
mntk123
source share