#21241 [Fbk->Opn]: make gd_png.lo error when compiled php with-gd
| From: | iconmans at yahoo dot com | Date: | Sat, 28 Dec 2002 13:43:47 +0000 |
| Subject: | #21241 [Fbk->Opn]: make gd_png.lo error when compiled php with-gd | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28575@lists.php.net to get a copy of this message | ||
ID: 21241
User updated by: iconmans@yahoo.com
Reported By: iconmans@yahoo.com
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: RedHat Linux 8.0
PHP Version: 4.3.0
New Comment:
flag used originally:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd
--with-zlib --with-mysql=/usr
flag used now for the feedback:
*cleared the config.cache
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd
--with-zlib --without-mysql
same error
Box: RH8.0 kernel 2.4.18-19.8.0 256 MB RAM / 512 SWAP / PIV 1.6 GHz
Fresh install, up2date and currently making a webdev system based on
LAMP
Thanks for the quick look, let me know if need more feedback.
Previous Comments:
------------------------------------------------------------------------
[2002-12-28 07:29:49] rasmus@php.net
We'll need a bit more data on this one from you. It compiles just fine
on my RH8 box. Of course, I don't use Apache2. But if you build just
with the flags you specified you are building the CGI version anyway
and the Apache version doesn't matter. Is that the case? Also, could
you try it with just:
--with-gd --with-zlib --without-mysql
?
------------------------------------------------------------------------
[2002-12-28 07:16:46] iconmans@yahoo.com
Apache 2.0.43 --enable-so
php 4.3.0 --with-gd --with-zlib --with-mysql=/usr (4.0.7 gamma)
/usr/src/coulera/php-4.3.0/ext/gd/libgd/gd_png.c:737: parse error
before '}' token
/usr/src/coulera/php-4.3.0/ext/gd/libgd/gd_png.c:740: parse error
before '&' token
/usr/src/coulera/php-4.3.0/ext/gd/libgd/gd_png.c:740: warning: data
definition has no type or storage class
/usr/src/coulera/php-4.3.0/ext/gd/libgd/gd_png.c:394: storage size of
`open' isn't known
make: *** [ext/gd/libgd/gd_png.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21241&edit=1