161

I was ./configure'd the qemu-1.4.0 and during make it cause:

(cd /home/amin/Simulate/qemu-1.4.0/pixman; autoreconf -v --install)
/bin/sh: 1: autoreconf: not found
make: *** [/home/amin/Simulate/qemu-1.4.0/pixman/configure] Error 127

Now, I can't find how to pass this error.

Thanks.

1
  • this exact question came up at a hackathon I went to a few months ago. It was useful not just online. idk, im feeling nostalgic.
    – j0h
    Jul 19 '20 at 3:18
184

I just had this problem myself, and the solution I found in reading the autoconf manual which states autoreconf runs autoconf which I did not have installed.

sudo apt-get install autoconf

and the autogen script I am using now works.

106

Maybe you can try installing dh-autoconf package.

sudo apt-get install dh-autoconf
7
  • 4
    All you need it autoreconf, dh-* packages are only needed when using debhelper (for packaging .debs)
    – Lekensteyn
    Mar 18 '13 at 9:32
  • 59
    in 13.04 it seems to be sudo apt-get install autoconf (without the "re")
    – einSelbst
    Sep 29 '13 at 20:11
  • @einSelbst Thanks a lot! Your comment is very useful for 13.04 :D
    – Blaze Tama
    Oct 17 '13 at 9:26
  • 2
    autoconf in 14.04 also !
    – Z. Zlatev
    Aug 3 '16 at 10:01
  • 1
    Can confirm this works in 16.04
    – Odyssee
    Nov 2 '17 at 19:39
9

I used to search for package first:

# apt-cache search autoreconf
   autoconf2.13 - automatic configure script builder (obsolete version)
   dh-autoreconf - debhelper add-on to call autoreconf and clean up after the build

Then install what I need:

# apt-get install dh-autoreconf
3
  • 1
    Actually, you need both <code>autoconf</code> and then <dh-autoreconf>, in case you do not have both of em'.
    – soufrk
    Aug 18 '16 at 8:02
  • soufrk, any details ? Here is guide: qemu-buch.de/de/index.php?title=QEMU-KVM-Buch/… , nothing about necessity to install autoconf Aug 18 '16 at 15:31
  • 2
    This should be the answer.
    – Huan
    Aug 29 '19 at 3:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.