Re: [PHP4BETA] Problem with zlib during build of RC1
| From: | Dave 'Duke of URL' Weiner | Date: | Thu, 20 Apr 2000 14:46:13 +0000 |
| Subject: | Re: [PHP4BETA] Problem with zlib during build of RC1 | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13798@lists.php.net to get a copy of this message | ||
| On Thu, Apr 20, 2000 at 10:30:37AM -0400, Dave 'Duke of URL' Weiner wrote:
| > | Look at config.log and try to figure out why the test did not
| > | work. There are usually compiler/link editor error messages which
| > | should give you a hint.
| >
| > Ok, here's the tail end of config.log:
| >
| > configure:19371: checking for XML support
| > configure:19472: checking whether to include YP support
| > configure:19532: checking whether to include zlib support
| > configure:19565: checking for gzgets in -lz
| > configure:19584: gcc -o conftest -g -O2 -DEAPI=1 -DXML_BYTE_ORDER=12
| > conftest.c -lz -lgd -lndbm -lresolv -lm -lcrypt -lnsl -lres
| > olv 1>&5
| > /usr/lib/libgd.so: undefined reference to `png_set_dither'
|
| You need to install libpng or configure --without-gd
I have gd-1.8.1 and gd-devel-1.8.1 installed, and libpng-1.0.5. I just
tried installing libpng-devel-1.0.5 did a 'make distclean', and then did the
configure over. Worked this time! Thanks Sascha!
If you think it might be usefull, I could try and put together a little
RedHat & Variant readme that mentions this little things, like having
zlib-devel, gd-devel, libpng-devel, etc. I don't see anything like that in
the current distro...
|
| - Sascha
|
Dave