[Solved] error: route utility is required but missing

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
Locked
h888866j
OpenVpn Newbie
Posts: 3
Joined: Sun Apr 03, 2016 9:12 am

[Solved] error: route utility is required but missing

Post by h888866j » Sun Apr 03, 2016 9:19 am

Is there anyone who can help me? i got "configure: error: route utility is required but missing" error, but don't know what to do, thanks!

[root@localhost ~]# cd openvpn-2.3.10
[root@localhost openvpn-2.3.10]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
.
.
.
checking for ENGINE_register_all_complete... yes
checking for ENGINE_cleanup... yes
checking for ssl_init in -lpolarssl... no
checking for aes_crypt_cbc in -lpolarssl... no
checking for lzo1x_1_15_compress in -llzo2... yes
checking lzo/lzoutil.h usability... yes
checking lzo/lzoutil.h presence... yes
checking for lzo/lzoutil.h... yes
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking git checkout... no
configure: error: route utility is required but missing

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: configure: error: route utility is required but missing

Post by Traffic » Sun Apr 03, 2016 3:24 pm

You need iproute2 ..

Or possibly:

Code: Select all

./configure --disable-iproute2

h888866j
OpenVpn Newbie
Posts: 3
Joined: Sun Apr 03, 2016 9:12 am

Re: configure: error: route utility is required but missing

Post by h888866j » Wed Apr 06, 2016 8:18 am

Traffic wrote:You need iproute2 ..

Or possibly:

Code: Select all

./configure --disable-iproute2
./configure --disable-iproute2 will return the same error message
[root@localhost openvpn-2.3.10]# ./configure>>output.txt ; grep -rn no$ ./output.txt
configure: error: route utility is required but missing
14:checking whether we are cross compiling... no
34:checking minix/config.h usability... no
35:checking minix/config.h presence... no
36:checking for minix/config.h... no
44:checking for ifconfig... no
45:checking for route... no
48:checking for netstat... no
49:checking for man2html... no
50:checking for git... no
66:checking for dlltool... no
73:checking for sysroot... no
74:checking for mt... no
75:checking if : is a manifest tool... no
78:checking if gcc supports -fno-rtti -fno-exceptions... no
81:checking if gcc static flag -static works... no
85:checking whether -lc should be explicitly linked in... no
92:checking for windres... no
136:checking io.h usability... no
137:checking io.h presence... no
138:checking for io.h... no
139:checking direct.h usability... no
140:checking direct.h presence... no
141:checking for direct.h... no
169:checking windows.h usability... no
170:checking windows.h presence... no
171:checking for windows.h... no
172:checking winsock2.h usability... no
173:checking winsock2.h presence... no
174:checking for winsock2.h... no
175:checking ws2tcpip.h usability... no
176:checking ws2tcpip.h presence... no
177:checking for ws2tcpip.h... no
178:checking versionhelpers.h usability... no
179:checking versionhelpers.h presence... no
180:checking for versionhelpers.h... no
202:checking stropts.h usability... no
203:checking stropts.h presence... no
204:checking for stropts.h... no
214:checking sys/sockio.h usability... no
215:checking sys/sockio.h presence... no
216:checking for sys/sockio.h... no
239:checking for net/if_utun.h... no
240:checking for sys/kern_control.h... no
243:checking for struct sock_extended_err... no
254:checking vfork.h usability... no
255:checking vfork.h presence... no
256:checking for vfork.h... no
293:checking for chsize... no
296:checking for getpeereid... no
304:checking for socket in -lsocket... no
327:checking net/if_tun.h usability... no
328:checking net/if_tun.h presence... no
329:checking for net/if_tun.h... no
330:checking net/tun/if_tun.h usability... no
331:checking net/tun/if_tun.h presence... no
332:checking for net/tun/if_tun.h... no
336:checking tap-windows.h usability... no
337:checking tap-windows.h presence... no
338:checking for tap-windows.h... no
342:checking for PKCS11_HELPER... no
349:checking for ssl_init in -lpolarssl... no
350:checking for aes_crypt_cbc in -lpolarssl... no
358:checking git checkout... no
[root@localhost openvpn-2.3.10]#
and
[root@localhost openvpn-2.3.10]# ./configure --disable-iproute2>>output2.txt ; grep -rn no$ ./output2.txt
configure: error: route utility is required but missing
14:checking whether we are cross compiling... no
34:checking minix/config.h usability... no
35:checking minix/config.h presence... no
36:checking for minix/config.h... no
44:checking for ifconfig... no
45:checking for route... no
48:checking for netstat... no
49:checking for man2html... no
50:checking for git... no
66:checking for dlltool... no
73:checking for sysroot... no
74:checking for mt... no
75:checking if : is a manifest tool... no
78:checking if gcc supports -fno-rtti -fno-exceptions... no
81:checking if gcc static flag -static works... no
85:checking whether -lc should be explicitly linked in... no
92:checking for windres... no
136:checking io.h usability... no
137:checking io.h presence... no
138:checking for io.h... no
139:checking direct.h usability... no
140:checking direct.h presence... no
141:checking for direct.h... no
169:checking windows.h usability... no
170:checking windows.h presence... no
171:checking for windows.h... no
172:checking winsock2.h usability... no
173:checking winsock2.h presence... no
174:checking for winsock2.h... no
175:checking ws2tcpip.h usability... no
176:checking ws2tcpip.h presence... no
177:checking for ws2tcpip.h... no
178:checking versionhelpers.h usability... no
179:checking versionhelpers.h presence... no
180:checking for versionhelpers.h... no
202:checking stropts.h usability... no
203:checking stropts.h presence... no
204:checking for stropts.h... no
214:checking sys/sockio.h usability... no
215:checking sys/sockio.h presence... no
216:checking for sys/sockio.h... no
239:checking for net/if_utun.h... no
240:checking for sys/kern_control.h... no
243:checking for struct sock_extended_err... no
254:checking vfork.h usability... no
255:checking vfork.h presence... no
256:checking for vfork.h... no
293:checking for chsize... no
296:checking for getpeereid... no
304:checking for socket in -lsocket... no
327:checking net/if_tun.h usability... no
328:checking net/if_tun.h presence... no
329:checking for net/if_tun.h... no
330:checking net/tun/if_tun.h usability... no
331:checking net/tun/if_tun.h presence... no
332:checking for net/tun/if_tun.h... no
336:checking tap-windows.h usability... no
337:checking tap-windows.h presence... no
338:checking for tap-windows.h... no
342:checking for PKCS11_HELPER... no
349:checking for ssl_init in -lpolarssl... no
350:checking for aes_crypt_cbc in -lpolarssl... no
358:checking git checkout... no
[root@localhost openvpn-2.3.10]#
can i have exact package name and version for iproute2?

h888866j
OpenVpn Newbie
Posts: 3
Joined: Sun Apr 03, 2016 9:12 am

Re: configure: error: route utility is required but missing

Post by h888866j » Wed Apr 06, 2016 8:36 am

found that i dont even have ifconfig...(CentOS 7 Minimal install)
yum install net-tools
fixed all my problems. No error message then...
openvpn-2.3.10 successfully installed now
Thank you ~

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: configure: error: route utility is required but missing

Post by Traffic » Wed Apr 06, 2016 11:36 am

Great .. thanks for letting us know your solution 8-)

Locked