LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2017, 02:49 PM   #1
adam792
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
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
 
Old 02-15-2017, 10:34 AM   #2
TheStr3ak5
Member
 
Registered: Feb 2016
Location: Zaragoza, Spain
Distribution: Xubuntu, Tails, etc.
Posts: 55

Rep: Reputation: 9
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.
 
1 members found this post helpful.
Old 02-15-2017, 06:14 PM   #3
adam792
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheStr3ak5 View Post
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.
 
Old 05-11-2017, 11:20 AM   #4
Noi
LQ Newbie
 
Registered: May 2017
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 05-15-2017, 03:44 AM   #5
Noi
LQ Newbie
 
Registered: May 2017
Posts: 2

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


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
[SOLVED] Iproute2 a.cohen Linux - Networking 2 11-04-2013 08:35 AM
Help with iproute2 warwolf Linux - Networking 1 05-13-2005 09:25 AM
Problem installing iproute2 greklas Linux - Networking 2 10-21-2004 07:39 AM
iproute2 rounting sqn Linux - Networking 1 06-14-2004 02:26 PM
installing iproute2 lwinkenb Linux From Scratch 2 04-12-2004 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 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
Open Source Consulting | Domain Registration