php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11965 Compile falure when i trying to configure php with GD library
Submitted: 2001-07-09 04:04 UTC Modified: 2001-07-09 12:34 UTC
From: kosha at kp dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Solaris 2.7 Sparc
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kosha at kp dot ru
New email:
PHP Version: OS:

 

 [2001-07-09 04:04 UTC] kosha at kp dot ru
Compile falure when i trying to configure php with GD library. 
Configuration - 
./configure --with-apache=../apache_1.3.19 --with-gd=/usr/local  - passed
(if i use another options such as --with or any other problem will stay).
make (or gmake) filed
Error code : 
Making all in gd
gcc  -I. -I/usr/local/src/php-4.0.5/ext/gd -I/usr/local/src/php-4.0.5/main -I/us
r/local/src/php-4.0.5 -I/usr/local/src/apache_1.3.19/src/include -I/usr/local/sr
c/apache_1.3.19/src/os/unix -I/usr/local/src/php-4.0.5/Zend -I/usr/local/include
 -I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.0.5/ext/xml/expat/xmlto
k -I/usr/local/src/php-4.0.5/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.5/T
SRM  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c gd
.c && touch gd.lo
gd.c:91: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
*** Error code 1
make: Fatal error: Command failed for target `gd.lo'
Current working directory /usr/local/src/php-4.0.5/ext/gd
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.0.5/ext/gd
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.0.5/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'   

Without GD library all other options compiler and work correctly.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-09 12:34 UTC] sniper@php.net
Fixed in PHP 4.0.6.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 00:01:29 2025 UTC