I am new solaris and trying to install nicstat tool on the solaris for monitoring the network.
I have downloaded the source code of the nicstat from the link http://sourceforge.net/projects/nicstat/files/?source=navbar
I have followed the instructions as per the README.txt.
during make, only make in the current directory(where I source code of nicstat is present) was giving error.
I have tried with /usr/sfw/bin/gmake ./
then I got the error as
cc -lsocket -lkstat -lrt `./dladm.sh lib` -o .o
/bin/sh: ./dladm.sh: cannot execute
/bin/sh: cc: not found
I have googled around the error of ./dladm
but very less documentation is available.
cc command not found but if I try like /usr/sfw/bin/gcc
in terminal then it works.
Anybody have idea about it.