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

In reply to installing GD::graph by senget76

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.