Has anyone installed the "top" program on Solaris 8? I am having trouble compiling it and it seems as though top only works for Solaris versions up to 5 by the install program, but I have a hard time beleiving that.
Even I faced some difficulties in installation of top.As u all know the first step is to issue ./Configure and it will ask for a series of questions and next it will prompt us to enter "make install".I did that it giving a error as follows.
# make install
gcc -DHAVE_GETOPT -DORDER -c top.c
awk -f sigconv.awk /usr/include/sys/signal.h >sigdesc.h
gcc -DHAVE_GETOPT -DORDER -c commands.c
gcc -DHAVE_GETOPT -DORDER -c display.c
gcc -DHAVE_GETOPT -DORDER -c screen.c
gcc -DHAVE_GETOPT -DORDER -c username.c
gcc -DHAVE_GETOPT -DORDER -c utils.c
gcc -DHAVE_GETOPT -DORDER -c version.c
gcc -DHAVE_GETOPT -DORDER -c getopt.c
gcc "-DOSREV=58" -DHAVE_GETOPT -DORDER -c machine.c
machine.c:51: sys/dir.h: No such file or directory
machine.c:54: sys/dk.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `machine.o'
If u know the reason reply me .It would be helpful.
with regards,
natarajan
sysadmin
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.