Skip to content
Advertisement

dh: unable to load addon autoreconf in Ubuntu 14.04

I am working with Openvswitch to create mpls vpn network on mininet platform. I am using Ubuntu 14.04 server with kernel version: 4.4.0-97-generic. I am trying to upgrade my openvswitch from 2.0.0 version to version 2.5.2 which is supported by kernel version 4.4.0 . I am following the steps for openvswitch upgrade guide given on Openvswitch upgrade guide

When I try to build the debian packages I get the following error:


ash@ash:~/openvswitch/openvswitch-2.5.2$ DEB_BUILD_OPTIONS='parallel=2 nocheck' fakeroot debian/rules binary
dh binary --with autoreconf,python2 --parallel
dh: unable to load addon autoreconf: Can't locate 
Debian/Debhelper/Sequence/autoreconf.pm in @INC (you may need to install the Debian::Debhelper::Sequence::autoreconf module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at (eval 13) line 2.
BEGIN failed--compilation aborted at (eval 13) line 2.
debian/rules:25: recipe for target 'binary' failed
make: *** ***[binary] Error 2***

I am not exactly getting what is causing this problem? I am new to linux system and any help is appreciated.

Advertisement

Answer

Install dh-autoreconf package as:

# apt install dh-autoreconf
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement