I'm trying to install vnstat and get the following when I type make from the vnstat-1.4 directory. Is there anything I'm doing wrong? I'm following the directions in the INSTALL directory (pretty simple, make and then make install) but it doesn't work. what am I missing?
Code:[root@vps vnstat-1.4]# ls CHANGES FAQ Makefile UNINSTALL cron pppd COPYING INSTALL README UPGRADE man src [root@vps vnstat-1.4]# make make -C src vnstat make[1]: Entering directory `/usr/src/vnstat-1.4/src' gcc -O2 -c proc.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/dirent.h:232, from vnstat.h:9, from proc.c:1: /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or dire ctory proc.c: In function 'parseproc': proc.c:105: warning: integer constant is too large for 'long' type proc.c:106: warning: integer constant is too large for 'long' type proc.c:107: warning: integer constant is too large for 'long' type proc.c:109: warning: integer constant is too large for 'long' type proc.c:109: warning: integer constant is too large for 'long' type proc.c:135: warning: integer constant is too large for 'long' type proc.c:136: warning: integer constant is too large for 'long' type proc.c:137: warning: integer constant is too large for 'long' type proc.c:139: warning: integer constant is too large for 'long' type proc.c:139: warning: integer constant is too large for 'long' type make[1]: *** [proc.o] Error 1 make[1]: Leaving directory `/usr/src/vnstat-1.4/src' make: *** [vnstat] Error 2 [root@vps vnstat-1.4]# make install Installing vnStat... install -d /usr/bin /usr/share/man/man1 /etc/cron.d /var/lib/vnstat install -m 755 src/vnstat /usr/bin install: cannot stat `src/vnstat': No such file or directory make: *** [install] Error 1


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks