in reply to MCPAN install seems impossible

Can you build modules by hand? From the CPAN shell prompt, try the following:

CPAN> look Whatever::Module perl Makefile.PL make make test sudo make install

If you're not getting as far as "make test", you probably need to install some gnu tools. If the manual install works, you need to review your CPAN config with "o conf".

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)

Replies are listed 'Best First'.
Re^2: MCPAN install seems impossible
by stattler (Initiate) on Dec 20, 2005 at 11:31 UTC
    <code>Interesting. look blah works perl Makefile.PL works make fails with make: not found I guess I should get gcc installed as a next step? (this is a default solaris install with just the basics that come as part of the CD) S<\code>

      Before you go onto the quest of trying to install gcc, please check what C compiler was used to compile your version of Perl. If your version of Perl comes from http://sunfreeware.com, then getting the compiler from there should work for you. If your Perl was compiled using the forté C compiler from Sun, you should also use that compiler for compiling your Perl XS extensions.

      As a general rule of thumb, you should always use the same compiler for compiling extensions that was used to compile your Perl.

      In your specific case though, you haven't shown where the error really is. Maybe Perl wants the GNU make program or BSD make program but doesn't find it. Maybe you need to look at where Perl/CPAN wants its make if it's not in the path. I found /lib/ucb (or was it /ucb) to be full of interesting helper programs, but that might have been my wizardly Sun admin who caters to my every whish.