php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57753 Warning during instalation regarding location of ext/gd folder
Submitted: 2007-07-19 15:06 UTC Modified: 2017-01-10 08:36 UTC
From: rob dot hammond at ntlworld dot com Assigned:
Status: Suspended Package: GDChart (PECL)
PHP Version: Irrelevant OS: Linux
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: rob dot hammond at ntlworld dot com
New email:
PHP Version: OS:

 

 [2007-07-19 15:06 UTC] rob dot hammond at ntlworld dot com
Description:
------------
During instalation I received the following warning message (also note that instalation failed due to this warning) :-

File 'configure' :line 3837: cd: ext/gd :No such file or directory

During the early compilation stage,  a list of include folders is created.  Located in the configure file between lines 3826 and 3839 is a section that tests for the presence of some include folders ext/gd, ext/gd/libgd.  There is a fault with this section,  there should be a pre-fix before these folder locations.  On a linux system the prefix is normally /include/php so the location of the two folders should be /include/php/ext/gd and /include/php/ext/gd/libgd.  Because the pre-fix is missing from the code the folder search fails although the folders exists. On my particular Linux system the pre-fix should be /opt/include/php.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-30 10:04 UTC] dincerakay at gmail dot com
omg
level 1:
with peclcmd
/usr/temp/download/gdchart-0.2.0/gdchart-src/gdc.h:27:16: error: gd.h: No such file or directory
...
...

level 2:
copy gd libs
with peclcmd
/usr/temp/download/gdchart-0.2.0/gdchart-src/gdchart.c:1000: error: too few arguments to function 'php_gd_gdImageCreateFromJpeg'
make: *** [gdchart-src/gdchart.lo] Error 1

level 3:
cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/gdchart
cd pecl/gdchart
cp /usr/include/php/ext/gd/libgd/* ./
./configure
make
make install
----
Installing shared extensions:     /usr/lib/php/modules/
gdchart.so OK

Din?er Akay
 [2017-01-10 08:36 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-01-10 08:36 UTC] kalle@php.net
This extension have not had any activity for almost 11 years, suspending
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 13:01:27 2025 UTC