Hi
i am facing issue in installing GD module on Solaris 5.10.

I want to install GD::Graph

- for this i was trying to install libgd

gd.2.0.34 but i am facing issues while compiling

~/GD/gd-2.0.35# make

make all-recursive

Making all in config

Making all in test

source='gdxpm.c' object='gdxpm.lo' libtool=yes \

DEPDIR=.deps depmode=none /bin/bash ./config/depcomp \

/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -g -c -o gdxpm.lo gdxpm.c

cc -DHAVE_CONFIG_H -I. -I. -I. -g -c gdxpm.c -KPIC -DPIC -o .libs/gdxpm.o

"gdxpm.c", line 28: cannot find include file: <X11/xpm.h>

"gdxpm.c", line 32: undefined symbol: XpmInfo

"gdxpm.c", line 32: syntax error before or at: info

"gdxpm.c", line 33: undefined symbol: XpmImage

"gdxpm.c", line 42: warning: implicit function declaration:

XpmReadFileToXpmImage


can some body help. I am not able to find X11 files on my Solaris box and i dont have root permission.

Thanks

In reply to GD::Graph Install on Solaris by kmeera

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.