php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9577 compiler error while configured enabled '--with-gd' feature
Submitted: 2001-03-06 08:48 UTC Modified: 2001-04-10 10:49 UTC
From: riddle at leivo dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (06/03/2001) OS: FreeBSD 3.3-RELEASE
Private report: No CVE-ID: None
 [2001-03-06 08:48 UTC] riddle at leivo dot ru
./configure --with-jpeg-dir=../gd/jped-6b --with-png-dir=../gd/libpng-1.0.9 --with-mysql --with-apxs --with-zlib=/usr/local --with-mod_charset --enable-track-vars --enable-gd-native-ttf --with-gd=../gd/gd-1.8.4

all appropriate libraries (z, gd, jpeg, png, freetype 2) are installed first.

and now:

#make
<...>
gd.c:91: conflicting types for `gdIOCtx'
/usr/home/riddle/apache/gd-1.8.4/gd_io.h:18: previous declaration of `gdIOCtx'
*** Error code 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-06 10:06 UTC] sniper@php.net
You must use the install directories with those confgure options.
e.g. :

./configure --with-apxs --with-gd=/www/gd


--Jani

 [2001-04-10 10:49 UTC] sniper@php.net
No feedback. If this happens also with soon to be released 
PHP 4.0.5 when you use the proper paths, reopen this bug 
report.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC