Looks to me like you're simply missing the 'constant' module. Go and grab it from the same place you got CGI.pm :)

However, it may be a little more complex than that. The reason I say this is because you seem to be missing some directories from your include path (all those -I parameters). It seems like constant would be a part of the standard Perl distribution, no?

What I would recommend to you is to reinstall Perl. Remove the old Perl first, if you can (not manually, but with a make uninstall or package manager--I'm not familiar with Solaris at all). Then grab 5.6.0 (or 5.004_05 if you are faint of heart) and compile it up. When that's through, run the following at the prompt:

% perl -MCPAN -e shell

This will fire up an online package manager program, not unlike ActivePerl's PPM. Work your way through the configuration (or hit "no" when it asks you if you're ready for a manual configuration and it will set itself up automatically) and type '?' at the prompt to see a list of commands. Type 'install Bundle::CPAN' to update the CPAN distribution, then 'reload CPAN' to reload the program, then 'install CGI' to get back on course. It should handle everything for you.

(Some of the old timers around here will trout me for recommending a reinstall, that the problem should be tracked down and fixed and not simply overwritten. This is a Good Thing, but in the interest of saving the both of us time and frustration, I suggest you just start from scratch. :) The nice thing about doing it this way is that it should repair any broken paths, and you will get the CPAN package manager, the sun will shine, birds will sing... you get the picture.)

Good luck!

Alakaboo


In reply to Re: New to installing mods by mwp
in thread New to installing mods by prodevel

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.