I'm in the process of trying to install TWiki on a Solaris 10 server. I'm using the instructions here:

http://twiki.org/cgi-bin/view/Codev/SolarisInstallCookbook

I've gotten as far as the "Perl preparations" step about 1/3 of the way down. Since we are not using CoolStack, I am attempting to install the listed modules.

The instructions I am using for installing those modules are here:

http://twiki.org/cgi-bin/view/Codev/SolarisInstallCookbookPerlModules

Specifically, I am trying to use the automated method. I was successful in installing CGI::Session (as far as I can tell) but I am getting errors at the "make" step when installing Digest::SHA1.

Here is what the system is returning:

cpan[19]> install Digest::SHA1 + Running install for module 'Digest::SHA1' Running make for G/GA/GAAS/Digest-SHA1-2.13.tar.gz Has already been unwrapped into directory /export/home/link/.cpan/bu +ild/Digest-SHA1-2.13-43bJ89 Could not make: Unknown error Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

Helpful, huh?

I have gone back and made sure I have the most recent version of CPAN, and I have made certain that gcc is installed on the system. Since the first one succeeded, I'm fairly certain that the paths are set up properly for gcc.

I also tried this:

cpan[8]> fforce install Digest::SHA1 + Running install for module 'Digest::SHA1' Running make for G/GA/GAAS/Digest-SHA1-2.13.tar.gz CPAN: checksum security checks disabled because Digest::SHA not instal +led. CPAN.pm: Building G/GA/GAAS/Digest-SHA1-2.13.tar.gz WARNING: LICENSE is not a known parameter. Checking if your kit is complete... Looks good 'LICENSE' is not a known MakeMaker parameter name. Writing Makefile for Digest::SHA1 cp SHA1.pm blib/lib/Digest/SHA1.pm /usr/perl5/5.8.4/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typem +ap /usr/perl5/5.8.4/ lib/ExtUtils/typemap -typemap typemap SHA1.xs > SHA1.xsc && mv SHA1.x +sc SHA1.c gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -f +no-strict-aliasing -DVERSION=\"2.13\" -DXS_VERSION=\"2.13\" -fPIC "-I/usr/perl5/5.8.4/li +b/sun4-solaris-64int /CORE" SHA1.c /bin/sh: gcc: not found gmake: *** [SHA1.o] Error 1 GAAS/Digest-SHA1-2.13.tar.gz /usr/sfw/bin/gmake -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: GAAS/Digest-SHA1-2.13.tar.gz : make NO

Any suggestions on what to try next?

EDIT: Thank you for your replies, gentlemen. As it turns out, the problem was some confusion over the root login, and some permissions on the box. I wish I could be clearer about what precisely was wrong, but the person who helped me here wasn't terribly forthcoming with the information.


In reply to Difficulty installing Digest::SHA1 via CPAN on Solaris 10 by FredWolke

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.