php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58729 Error during configuration of gdchart
Submitted: 2009-06-18 10:18 UTC Modified: 2016-09-29 11:11 UTC
From: mavkalyan at gmail dot com Assigned:
Status: Suspended Package: GDChart (PECL)
PHP Version: 5.2.9 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
33 + 42 = ?
Subscribe to this entry?

 
 [2009-06-18 10:18 UTC] mavkalyan at gmail dot com
Description:
------------
During the compilation the compiler errors out with the following error message.

/root/gdchart-0.2.0/gdchart-src/gdchart.c:1000: error: too few arguments to function 'php_gd_gdImageCreateFromJpeg'

GD is enabled with php and the phpinfo shows the following:

GD Support  enabled  
GD Version  bundled (2.0.34 compatible)  


Reproduce code:
---------------
1. PHP was installed with gd enabled.
2. Copied all the gd header files from the default location of php (in my case : /usr/local/include/php/ext/gd/libgd) to gdchart-src in the gdchart-0.2.0 folder.
3. When trying to compile gdcharts, I am hitting the following error:
# make 
...
...
/root/gdchart-0.2.0/gdchart-src/gdchart.c: In function 'GDC_out_graph':
/root/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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-29 11:11 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2016-09-29 11:11 UTC] cmb@php.net
The GDChart extension appears to be unmaintained, so I'm
suspending this ticket.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC