[GRASS5] Darwin Pre2: PNGDriver

On Saturday, October 13, 2001, at 04:45 AM, Glynn Clements wrote:

configure:4710: checking for png_read_png in -lpng
configure:4729: gcc -o conftest -O2 conftest.c -lpng -lz 1>&5
/usr/bin/ld: Undefined symbols:
_png_read_png

OK; apparently this is function is optional (it only exists if libpng
was compiled with PNG_INFO_IMAGE_SUPPORTED defined. I'll check for
png_read_image (which is actually used by r.in.png) instead.

I'm about to commit a new version of configure[.in] which fixes all of
the aforementioned problems.

Thanks Glynn,

Can you please let me know when I can check it out?

Will I have to re-build everything and start out with a "make distclean", or will I be able to just run configure and then build the PNGDriver?

Thanks again,

Jeshua Lacock http://OpenOSX.com
Programmer/Owner http://SierraMaps.com
Phone: (760) 935-4736 http://3dTopoMaps.com

jeshua wrote:

>> configure:4710: checking for png_read_png in -lpng
>> configure:4729: gcc -o conftest -O2 conftest.c -lpng -lz 1>&5
>> /usr/bin/ld: Undefined symbols:
>> _png_read_png
>
> OK; apparently this is function is optional (it only exists if libpng
> was compiled with PNG_INFO_IMAGE_SUPPORTED defined. I'll check for
> png_read_image (which is actually used by r.in.png) instead.
>
> I'm about to commit a new version of configure[.in] which fixes all of
> the aforementioned problems.

Thanks Glynn,

Can you please let me know when I can check it out?

It's ready; if I say "about to commit", it will probably be done
within a few minutes of the email being sent.

Will I have to re-build everything and start out with a "make
distclean", or will I be able to just run configure and then build the
PNGDriver?

It should suffice to run configure then build PNGdriver.

--
Glynn Clements <glynn.clements@virgin.net>