Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] Can't build ipvsadm on Debian lenny.

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


giobuon at gmail

Oct 19, 2009, 9:20 PM

Post #1 of 3 (268 views)
Permalink
[lvs-users] Can't build ipvsadm on Debian lenny.

I got this error when trying to compile ipvsadm 1.25:
debian:~/ipvsadm-1.25# make install
make -C libipvs
make[1]: Entering directory `/root/ipvsadm-1.25/libipvs'
gcc -Wall -Wunused -Wstrict-prototypes -g -fPIC -DLIBIPVS_USE_NL
-DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
In file included from libipvs.h:13,
from libipvs.c:23:
ip_vs.h:15:29: error: netlink/netlink.h: No such file or directory
ip_vs.h:16:31: error: netlink/genl/genl.h: No such file or directory
ip_vs.h:17:31: error: netlink/genl/ctrl.h: No such file or directory

I googled and tried to figure out what cause this but found nothing. Here
some spec about my config:

debian:/usr/src# uname -r
2.6.31.4-custom

debian:/usr/src# ls -la
total 85296
drwxrwsr-x 7 root src 4096 2009-10-20 17:48 .
drwxr-xr-x 13 root root 4096 2009-10-19 22:16 ..
lrwxrwxrwx 1 root src 14 2009-10-20 17:48 linux -> linux-2.6.31.4
drwxrwxr-x 25 root root 4096 2009-10-20 01:02 linux-2.6.31.4
-rw-r--r-- 1 root src 61453127 2009-10-13 06:13 linux-2.6.31.4.tar.bz2
Please help,
TIA,
-giobuon
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


mangoo at wpkg

Oct 20, 2009, 1:25 AM

Post #2 of 3 (246 views)
Permalink
Re: [lvs-users] Can't build ipvsadm on Debian lenny. [In reply to]

Trần Trọng Tấn wrote:
> I got this error when trying to compile ipvsadm 1.25:
> debian:~/ipvsadm-1.25# make install
> make -C libipvs
> make[1]: Entering directory `/root/ipvsadm-1.25/libipvs'
> gcc -Wall -Wunused -Wstrict-prototypes -g -fPIC -DLIBIPVS_USE_NL
> -DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
> In file included from libipvs.h:13,
> from libipvs.c:23:
> ip_vs.h:15:29: error: netlink/netlink.h: No such file or directory
> ip_vs.h:16:31: error: netlink/genl/genl.h: No such file or directory
> ip_vs.h:17:31: error: netlink/genl/ctrl.h: No such file or directory

Missing -dev packages?

http://packages.debian.org/search?searchon=contents&keywords=netlink.h&mode=path&suite=stable&arch=any


--
Tomasz Chmielewski
http://wpkg.org

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


giobuon at gmail

Oct 20, 2009, 7:29 PM

Post #3 of 3 (234 views)
Permalink
Re: [lvs-users] Can't build ipvsadm on Debian lenny. [In reply to]

Thank you so much.

apt-get install libnl-dev libpopt-dev
debian:~/ipvsadm-1.25# make install
debian:~/ipvsadm-1.25# ipvsadm -v
ipvsadm v1.25 2008/5/15 (compiled with popt and IPVS v1.2.1)

On Tue, Oct 20, 2009 at 3:25 PM, Tomasz Chmielewski <mangoo[at]wpkg.org> wrote:

> Trần Trọng Tấn wrote:
> > I got this error when trying to compile ipvsadm 1.25:
> > debian:~/ipvsadm-1.25# make install
> > make -C libipvs
> > make[1]: Entering directory `/root/ipvsadm-1.25/libipvs'
> > gcc -Wall -Wunused -Wstrict-prototypes -g -fPIC -DLIBIPVS_USE_NL
> > -DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c
> > In file included from libipvs.h:13,
> > from libipvs.c:23:
> > ip_vs.h:15:29: error: netlink/netlink.h: No such file or directory
> > ip_vs.h:16:31: error: netlink/genl/genl.h: No such file or directory
> > ip_vs.h:17:31: error: netlink/genl/ctrl.h: No such file or directory
>
> Missing -dev packages?
>
>
> http://packages.debian.org/search?searchon=contents&keywords=netlink.h&mode=path&suite=stable&arch=any
>
>
> --
> Tomasz Chmielewski
> http://wpkg.org
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
> Send requests to lvs-users-request[at]LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.