Fwd: [GD-DEVEL] installing gd

[email protected] (Colin Wood) Sun, 11 Apr 2010 11:19:20 -0700
Newsgroups php.gd.devel
Message-ID <[email protected]>
I thought I'd already installed libpng.  In the "configuration summary" for
GD it said

  Support for PNG library:          yes
  Support for JPEG library:         yes
  Support for Freetype 2.x library: yes

  Support for Fontconfig library:   yes
  Support for Xpm library:          yes
  Support for pthreads:             yes


Doesn't that mean it's installed?  Should I just try installing libpng again
or was I supposed to do something else that I missed?  Here are the
instructions I followed last time:

http://www.libgd.org/DOC_INSTALL_OSX#Building_libpng

I don't spend a lot of time on the command line so there could be some
things I'm not noticing.



---------- Forwarded message ----------
From: Evan Kaufman <[email protected]>
Date: Sun, Apr 11, 2010 at 10:48 AM
Subject: Re: [GD-DEVEL] installing gd
To: Colin Wood <[email protected]>


You need to install libpng, and any other dependencies.

On Apr 11, 2010 12:25 PM, "Colin Wood" <[email protected]> wrote:

Hi.  I haven't used one of these lists before so sorry if I'm doing it
wrong.  I need some help installing GD.  I'm running OS X.  I'm trying to
install a shopping cart on my local machine and the installation is telling
me I need GD installed.

So I followed the installation instructions on this page:
http://www.libgd.org/DOC_INSTALL_OSX

Everything seemed to be going fine until the end when I tried to compile GD
itself.  I got this:

i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libpng12.0.0.0.dylib: No such
file or directory
make[2]: *** [libgd.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Could someone point me in the right direction?  I'm not a pro at this.