184

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.

BuZZ-dEE
  • 13,993
  • 18
  • 63
  • 80
Shahmohamamdi
  • 1,941
  • 2
  • 12
  • 4
  • 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 03:18

3 Answers3

219

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.

j0h
  • 14,548
  • 28
  • 104
  • 178
  • 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 '23 at 15:10
108

Try installing autoconf package.

sudo apt-get install autoconf
fafrd
  • 103
  • 3
user2060386
  • 1,197
  • 1
  • 6
  • 2
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
Yuriy Vasylenko
  • 191
  • 1
  • 3