LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing iproute2 4.9.0 (https://www.linuxquestions.org/questions/linux-software-2/installing-iproute2-4-9-0-a-4175599762/)

adam792 02-14-2017 02:49 PM

Installing iproute2 4.9.0
 
Hi, I am trying to install iproute2 4.9.0 on Ubuntu 16.04 running kernel 4.9.

I have tried sudo apt-get install iproute2, to try and get the latest version, however it says:

iproute2 is already the newest version (4.3.0-1ubuntu3).

I have also tried downloading iproute2.4.9.0.tar.gz
and then running ./configure make and make install and get the following messages:

make

lib
make[1]: Nothing to be done for "all".
ip
make[1]: Nothing to be done for "all".
tc
YACC emp_ematc.yacc.c
/bin/sh: 1: bison: not found
makefile:169: recipe for target "emp_ematch.yacc.c" failed
make[1]: *** [emp_rematch.yacc.c] Error 127
makefile:55 recipe for target "all" failed
make: *** [all] Error 2

TheStr3ak5 02-15-2017 10:34 AM

the error says that is needed bison, install it with
Code:

sudo apt-get bison
or using the tarball if you want.
Then ensure that yacc is a symlink to bisson and all should be fine to compile in source code.

adam792 02-15-2017 06:14 PM

Quote:

Originally Posted by TheStr3ak5 (Post 5670988)
the error says that is needed bison, install it with
Code:

sudo apt-get bison
or using the tarball if you want.
Then ensure that yacc is a symlink to bisson and all should be fine to compile in source code.

Thanks, I had to install a couple of other packages as well but got it working in the end.

Noi 05-11-2017 11:20 AM

Hi,I am trying to install iproute2-4.9.0 on Ubuntu 16.04 running kernel 4.9 and faced the same problems related to required packages as well. Thank you for this post to solve the package issue. However, I cannot install iproute2-4.9.0 successfully because I've faced other errors after sudo make install

install -m 0755 genl /sbin
install -m 0755 /sbin
install: missing destination file operand after '/sbin'
Try 'install --help' for more information.
Makefile:25: recipe for target 'install' failed
make[1]: *** [install] Error 1
install -m 0755 /sbin
install: missing destination file operand after '/sbin'
Try 'install --help' for more information.
Makefile:18: recipe for target 'install' failed
make[1]: *** [install] Error 1

install -m 0755 -d /usr/share/man/man3
install -m 0644 libnetlink.3 /usr/share/man/man3
install -m 0755 -d /usr/share/man/man7
install -m 0644 tc-hfsc.7 /usr/share/man/man7
install -m 0755 -d /usr/share/man/man8

I'm not sure that you used to face the same issue as mine or not.

Noi 05-15-2017 03:44 AM

Since the tipc tool is missing, I install libmnl-dev package. The problem is solved.
Thanks.


All times are GMT -5. The time now is 06:58 AM.