I'm using Fedora Core 4, but I can't install ipvsadm from 2 packet:
ipvsadm-1.24.tar.gz or ipvsadm-1.24-5.src.rpm
*with packet ipvsadm-1.24.tar.gz
$su
#cd /usr/local
#tar -zxvf ipvsadm-1.24.tar.gz
ipvsadm-1.24/config_stream.c
ipvsadm-1.24/config_stream.h
ipvsadm-1.24/contrib/
ipvsadm-1.24/contrib/popt-optional.diff
ipvsadm-1.24/debian/
ipvsadm-1.24/debian/ipvsadm.files
ipvsadm-1.24/debian/changelog
ipvsadm-1.24/debian/control
ipvsadm-1.24/debian/copyright
ipvsadm-1.24/debian/ipvsadm.dirs
ipvsadm-1.24/debian/rules
ipvsadm-1.24/dynamic_array.c
ipvsadm-1.24/dynamic_array.h
ipvsadm-1.24/ipvsadm.8
ipvsadm-1.24/ipvsadm.c
ipvsadm-1.24/ipvsadm-restore
ipvsadm-1.24/ipvsadm-restore.8
ipvsadm-1.24/ipvsadm-save
ipvsadm-1.24/ipvsadm-save.8
ipvsadm-1.24/ipvsadm.sh
ipvsadm-1.24/ipvsadm.spec
ipvsadm-1.24/ipvsadm.spec.in
ipvsadm-1.24/libipvs/
ipvsadm-1.24/libipvs/libipvs.c
ipvsadm-1.24/libipvs/Makefile
ipvsadm-1.24/libipvs/libipvs.h
ipvsadm-1.24/Makefile
ipvsadm-1.24/README
ipvsadm-1.24/SCHEDULERS
ipvsadm-1.24/VERSION
#cd ipvsadm-1.24
#make install
make -C libipvs
make[1]: Entering directory `/usr/local/ipvsadm-1.24/libipvs'
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include
-DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
In file included from libipvs.c:23:
libipvs.h:14:23: error: net/ip_vs.h: No such file or directory
In file included from libipvs.c:23:
libipvs.h:119: error: syntax error before 'fwmark'
libipvs.h:119: warning: function declaration isn't a prototype
libipvs.c:27: error: field 'svc' has incomplete type
libipvs.c:28: error: field 'dest' has incomplete type
libipvs.c: In function 'ipvs_init':
............
*with packet ipvsadm-1.24-5.src.rpm
$su
#cd /usr/local
#rpmbuild --rebuild ipvsadm-1.24-5.src.rpm
Installing ipvsadm-1.24-5.src.rpm
warning: user wensong does not exist - using root
warning: group wensong does not exist - using root
warning: user wensong does not exist - using root
warning: group wensong does not exist - using root
error: Legacy syntax is unsupported: copyright
error: Line 7: Unknown tag: Copyright: GNU General Public Licence
PLEASE HELP ME ! THANKS VERY MUCH
|