LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2005, 05:57 AM   #1
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Rep: Reputation: 15
problem while installing ipvsadm package---------


Sir,
We are a group of students working on a LVS clusturing project.For the same we had downloaded the kernel 2.4.28 on a machine having kernel 2.4.20-8 Redhat 9(Distribution.).We are having AMD -K6 processor machine. The kernel 2.4.28 is now booting properly as I got so much of help from so many kind members of this forum.Now for the same we downloaded a package called ipvsadm-1.21.9.src.rpm (source rpm).But while converting it to real rpm (so that it can be installed) we faced errors:-
In file included from
ipvsadm.c:120:
libipvs/libipvs.h:14:23: net/ip_vs.h: No such file or
directory
In file included from ipvsadm.c:120:
libipvs/libipvs.h:45: warning: `struct
ip_vs_rule_user' declared inside parameter list
libipvs/libipvs.h:45: warning: its scope is only this
definition or declaration, which is probably not what
you want
libipvs/libipvs.h:52: warning: `struct
ip_vs_service_user' declared inside parameter list
libipvs/libipvs.h:54: warning: `struct
ip_vs_service_user' declared inside parameter list
libipvs/libipvs.h:59: warning: `struct
ip_vs_service_user' declared inside parameter list
libipvs/libipvs.h:63: warning: `struct
ip_vs_dest_user' declared inside parameter list
libipvs/libipvs.h:65: warning: `struct
ip_vs_dest_user' declared inside parameter list
libipvs/libipvs.h:71: parse error before "fwmark"
libipvs/libipvs.h:71: warning: function declaration
isn't a prototype
ipvsadm.c:197: `IP_VS_SO_SET_MAX' undeclared here (not
in a function)
ipvsadm.c:197: `IP_VS_BASE_CTL' undeclared here (not
in a function)
ipvsadm.c:197: confused by earlier errors, bailing out
make: *** [ipvsadm.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.96150
(%build)


RPM build errors:
user wensong does not exist - using root
group wensong does not exist - using root
user wensong does not exist - using root
group wensong does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.96150
(%build)
ven I created user Wensong using command adduser ,But
then the error Bad exit status -------------- is still
there.What could be the problem,sir
As one kind member suggested me that there could be problem that the kernel headers may not be in place.What does it meant.& how to do it.
 
Old 01-04-2005, 06:05 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
It cannot find "net/ip_vs.h" which is a kernel include file.

Once you installed the src.rpm did it put the source in /usr/src/SOURCES( yours may be a little different)

does it have an option like --with-kernel-source=?
 
Old 01-05-2005, 01:21 AM   #3
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
Installing ipvsadm package-

thank u sir for replying so quickly.
Sir we are using the command rpm -Uvh ipvsadm.src.rpm,As it wil create a spec file which should be in /usr/src/redhat/SPECS. In my case also ,it is there.After this I used rpm -ba spec file(from /usr/src/redhat/SPECS). It is not executing and also we had seen the /usr/src/redhat/RPMS/i386 where the real rpm should get generated.It is also not there.Is it the problem of kernel file or I am doing something wrong.
 
Old 01-05-2005, 01:30 AM   #4
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Original Poster
Rep: Reputation: 15
Sir,
Also we want to tell u that we had checked the kernel file net/ip_vs.h it is there in /usr/src/linux/include/net.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing this package James_dean Linux - Software 1 10-07-2005 03:08 PM
Problem re installing package satimis Linux From Scratch 5 09-29-2005 01:42 AM
Problem with installing package Pazabo Linux - Software 6 12-23-2004 07:17 AM
IPVSADM problem Y0unGcLusT3rM4N Linux - Networking 2 08-07-2003 03:16 PM
ipvsadm problem Y0unGcLusT3rM4N Linux - Newbie 0 08-07-2003 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration