[Haskell-cafe] How to install GD library on Mac OSX?

Colin Adams colinpauladams at googlemail.com
Wed Sep 23 03:23:09 EDT 2009


2009/9/22 Brandon S. Allbery KF8NH <allbery at ece.cmu.edu>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sep 22, 2009, at 13:44 , Colin Adams wrote:
>>
>> It needs some missing C libraries - gd, png, jpeg, fontconfig and
>> freetype.
>> Does anyone know what to do to install these on OSX?
>
>
> Customarily, Fink or MacPorts.
>
> Several of those *are* installed on OSX by default (at least Leopard and
> up); if they're not being found, make sure you have installed the latest
> XCode and Apple's X11 (the latter should only matter for Tiger and earlier).
>  You may also want the latest X11 from http://xquartz.macosforge.org.

Well I tried using macports to install GD2. That was hard work (it
doesn't resolve dependencies for you). But it makes no difference.
Cabal install gd still fails saying gd.h is missing, and the libraries
gd, png, jpeg, fonconfig and freetype, as before.
-- 
Colin Adams
Preston,
Lancashire,
ENGLAND


More information about the Haskell-Cafe mailing list