Posted on 2009-10-13 00:59:44-07 by ariza
GDChart not appears in PHPINFO
I downloaded gdchart0.20 and compiled it

after
root@ariza-laptop:/home/ariza/
Desktop/gdchart-0.2.0/gdchart-0.2.0# phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
root@ariza-laptop:/home/ariza/Desktop/gdchart-0.2.0/gdchart-0.2.0# ./configure
(configuring)
root@ariza-laptop:/home/ariza/Desktop/gdchart-0.2.0/gdchart-0.2.0# make
(making)

/Desktop/gdchart-0.2.0/gdchart-0.2.0/modules
---------------------------------------------------------------------- Libraries have been installed in:
/home/ariza/Desktop/gdchart-0.2.0/gdchart-0.2.0/modules

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.

root@ariza-laptop:/home/ariza/Desktop/gdchart-0.2.0/gdchart-0.2.0# make test

Build complete.
Don't forget to run 'make test'.

bogus test name tests/
root@ariza-laptop:/home/ariza/Desktop/gdchart-0.2.0/gdchart-0.2.0# make install
Installing shared extensions: /usr/lib/php5/20060613+lfs/
root@ariza-laptop:/home/ariza/Desktop/gdchart-0.2.0/gdchart-0.2.0# /etc/init.d/apache2 restart
* Restarting web server
apache2 ... waiting [ok]

then i try to see php configuration in http://localhost/test.php
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled

gettext
GetText Support enabled


Why still GDChart not appears?
Can you advise me what went wrong?

Regards,
Riza
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.