senget76 has asked for the wisdom of the Perl Monks concerning the following question:

Last time I ask about drawing graph with perl
the suggestion is using GD::Graph

I am wondering if there is anybody has experience
compiling/installing GD:graph on HPUX 10.20. I am stuck :O
here are details that I could provide.

compiler
HP C/ANSI C Developer's Bundle
gcc 2.95.2

Component
GDGraph-1.35
.. require GDTextUtil-0.83
....require GD-2.01 (Interface to Gd Graphics Library)
......require gd-2.0.1 (gd graphic library)- fail
........libpng-1.2.4 - ok
........zlib-1.1.4 - ok
........jpeg-6b - ok

here is output when I use gcc
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/local/include -g -DHAVE_LIBPNG -DHAVE_LIBJPEG -c gd.c
as: "/var/tmp/ccbNlbxb.s", line 10: error 1052: Directive name not recognized - FILE
as: "/var/tmp/ccbNlbxb.s", line 12: error 1052: Directive name not recognized - STABS
as: "/var/tmp/ccbNlbxb.s", line 13: error 1052: Directive name not recognized - STABS


here is output when I use cc
cc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/local/include -g -DHAVE_LIBPNG -DHAVE_LIBJPEG -c gd.c
cc: "gd_io.h", line 22: error 1000: Unexpected symbol: "gdIOCtx".
cc: "gd_io.h", line 23: error 1000: Unexpected symbol: "gdIOCtx".

Anybody have suggestion
I am blur.. right now I am looking for depot

Replies are listed 'Best First'.
Re: installing GD::graph
by Chady (Priest) on Aug 16, 2002 at 06:23 UTC

    couldn't this be the problem? do you have the GD library installed before attempting to install the Graph module?

    Component
    GDGraph-1.35
    .. require GDTextUtil-0.83
    ....require GD-2.01 (Interface to Gd Graphics Library)
    ......require gd-2.0.1 (gd graphic library)- fail
    ........libpng-1.2.4 - ok
    ........zlib-1.1.4 - ok
    ........jpeg-6b - ok

    He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

    Chady | http://chady.net/
Re: installing GD::graph
by senget76 (Acolyte) on Aug 16, 2002 at 08:43 UTC
    well.. that is exactly
    i am not able to install gd graphic library
    hence, i could not install GD::Graph
    if there someone who had done it before for HPUX 10.20
    so, he/she had solved the problem

    I hope my terminology is correct.. heheheh
    pls guide

      There are binaries of gd 1.8.4 out there for HP-UX versions 10 & 11. You will need to install Lincoln Stein's earlier 1.41 version of GD.pm.
      ()-()
       \"/
        `