187

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, 2020 at 3:18

3 Answers 3

224

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.

1
  • I've been surprised how many folks this has helped. I was at a hacker conference last week, where I met a kid with this exact question, and this same solution. unbelievable.
    – j0h
    Jun 27, 2023 at 15:10
107

Try installing autoconf package.

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

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, 2016 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, 2016 at 15:31
  • 2
    This should be the answer.
    – Huan
    Aug 29, 2019 at 3:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .