#21241 [Opn]: make gd_png.lo error when compiled php with-gd

From: Date: Sat, 28 Dec 2002 14:12:36 +0000
Subject: #21241 [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-28578@lists.php.net to get a copy of this message
 ID:               21241
 Updated by:       rasmus@php.net
 Reported By:      iconmans@yahoo.com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: RedHat Linux 8.0
 PHP Version:      4.3.0
 New Comment:

No, I meant build it as a standalone, so remove the --with-apxs2 from
your flags and see if that changes things.


Previous Comments:
------------------------------------------------------------------------

[2002-12-28 07:43:47] iconmans@yahoo.com

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.

------------------------------------------------------------------------

[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



Thread (15 messages)

« previous php.bugs (#28578) next »