Bug 190046 - net-misc/networkmanager-0.6.5 configure does not find iproute2
|
Bug#:
190046
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: WORKSFORME
|
Assigned To: steev@gentoo.org
|
Reported By: Mathias.Laurin@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: net-misc/networkmanager-0.6.5 configure does not find iproute2
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-08-24 14:33 0000
|
emerging networkmanager-0.6.5 fails when executing ./configure and complains
(wrongly) that iproute2 was not installed
Reproducible: Always
Steps to Reproduce:
1.emerge networkmanager
2.
3.
Actual Results:
checking for ip... no
configure: error: iproute2 was not installed. See
http://linux-net.osdl.org/index.php/Iproute2
Expected Results:
configure and compile
--- CUT HERE --- networkmanager-0.6.5.ebuild ---
50c50,51
< --enable-notification-icon"
---
> --enable-notification-icon\
> --with-ip=/sbin/tc"
--- CUT HERE
forcing the path to iproute2 (/sbin/tc) works.
emerge --info
(I use mildy fancy LDFLAGS but I tried recompiling both iproute2 and
networkmanager with LDFLAGS="" and got the same results + it is not a linker
error)
For me, sys-apps/iproute2 provides /sbin/ip - which the configure is looking
for.
What version of iproute2 do you have installed?
Does /sbin/ip exist for you? If not, please attach
/var/db/pkg/sys-apps/iproute2-*/CONTENTS here and try reinstalling the current
stable.
(In reply to comment #2)
> For me, sys-apps/iproute2 provides /sbin/ip - which the configure is looking
> for.
"ls: cannot access /sbin/ip: No such file or directory"
This is iproute2-2.6.22.20070710.
> /var/db/pkg/sys-apps/iproute2-*/CONTENTS here and try reinstalling the current
> stable.
--- CUT HERE /var/db/pkg/sys-apps/iproute2-2.6.22.20070710/CONTENTS ---
dir /sbin
obj /sbin/tc da46627e9e9b3226c0fe4af9496e3f0b 1188550335
--- CUT HERE ---
I just checked the ebuild and I had the "minimal" USE-flag on, which prevents
/sbin/ip from being installed.
My bad, sorry.
I added a built_with_use die in case someone else runs into this.