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
|