On Apr 12, "Plantier, Spencer" wrote:

> I am new to unix and I am getting this error when I try to install
> cflowd. 
> 
> cflowd:
>     cc -c -I../../lib -I../../lib/.. -DOSU -xO3 -xdepend
>     -DVERSION=3D\"1.051\"  -DXS_VERSION=3D\"1.051\" -KPIC
>     -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE  Cflow.c
>     sh: cc: not found
>     *** Error code 1

Solaris does not ship with a C compiler by default (maybe 10 does; haven't
used it yet.)

If you haven't done so already, download and install gcc (from
sunfreeware.com perhaps.)  If you already have gcc installed, you need to
make your environment aware of the path to the program.  You can try
setting the environment variable "CC" as such:

export CC=/path/to/gcc

or

setenv CC /path/to/gcc

(depending on your default shell...if you don't understand just try both)

where "/path/to" is the actual directory where the gcc executable lives.

Good luck!

Mike
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to