On Wed, Nov 26, 2008 at 02:39:21PM +0100, rahed wrote:
> [EMAIL PROTECTED] (Nitin Kalra) writes:

[...]

> cc C compiler is not found.

Last time I checked (a few years ago), you had to buy it (i.e. SUNWspro)
from Sun, or use gcc.

> On Solaris usually:
> 
> which cc
> /usr/ucb/cc

That time I checked, it wasn't much of a C compiler.
Sun puts it there to confuse us, I think.
 
> Put cc in your PATH.

That's not likely to work.  Better install gcc, then Perl
(from source), or go the ActivePerl route (which I've never tried
on Solaris).  As soon as you need a CPAN module that isn't provided
by ActivePerl (or not in the version you need) and that requires
a C compiler (many do), you're going to need gcc or SUNWspro anyway.

Installing Perl from source isn't that hard; by default it asks you
about umpteen questions you don't know the answer to, but the defaults
will usually work, and there's an option to keep it from asking.

> -- 
> Radek

-- 
Reinier Post
TU Eindhoven

Reply via email to