Re: [GD-DEVEL] 2.1.0 final

[email protected] (Chris Barker - NOAA Federal) Wed, 19 Jun 2013 12:26:24 -0700
Newsgroups php.gd.devel
Message-ID <CALGmxEJQKQGsvcqjZBZa_gc_dnO7xg4fotLkdU637DePedqm4w@mail.gmail.com>
sorry,

off-list by mistake:

> On Wed, Jun 19, 2013 at 11:29 AM, Pierre Joye <[email protected]> wrote:
>
>> It looks like we are finally ready for 2.1.0 final.
>
> Good news!
>
>> Does anyone see
>> any issue that should be solved before we go wild?
>
> Probably not, but I've got a start on some new Python bindings for
> libgd, so I'm poking into it a bit.
>
> I do have a (probably not worth holding up a release) build issue:
> (tested on 2.1.0rc-2)
>
> I'm building on OS-X (in this case, 10.7, with the older compiler)
>
> I'm having trouble with libpng -- OS-X does ship with a version:
>
> /usr/X11/lib/libpng15.15.dylib
>
> but I can't get gd to use it. The trick is that while the headers and
> libs are there, libpng-config is not:
>
> ./configure  --with-png=/usr/X11
>
> results in:
>
> configure: error: png support requested, but not found at requested
> location: /usr/X11/bin/libpng-config
>
> Hold the phone! -- writing up this note, I jsut noticed that while
> /usr/X11/bin/libpng-config is not there, there is:
>
> /usr/X11/bin/libpng15-config
>
> so I've added a symlink:
>
> $ sudo ln -s /usr/X11/bin/libpng15-config /usr/X11/bin/libpng-config
>
> and now configure is happy, but when I try to build:
>
> gd_png.c:17:53: error: png.h: No such file or directory
>
> indeed, the build command has:
>
> -I/usr/X11/include/libpng15
>
> but the header is in:
>
> /usr/X11/include/png.h
>
> I think that's coming from:
>
> $ libpng-config --I_opts
> -I/usr/X11/include/libpng15
>
> so it appears that the install is actually broken -- darn!
>
> infact, the png.h that is on my system is a link to libpng12/png.h, so
> not the right version. In fact, I can't seem to find a png.h from
> libpng15, nor a libpng-config for version 12 -- darn!
>
> I don't know if this is something you want to try to figure out for
> OS-X, or just expect third-party png install.
>
> But maybe someone has ideas?
>
> -Chris
>
>
>
>
>
>
>> If not, I will go with the release on Friday morning.
>>
>> Cheers,
>> --
>> Pierre
>>
>> @pierrejoye | http://www.libgd.org
>>
>> --
>> GD Devel Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> [email protected]



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]