制作 qemu-1.4.0 时出现“autoreconf: not found”错误

Sha*_*mdi 159 qemu make

我是./configure'd qemu-1.4.0 并且在make它期间导致:

(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
Run Code Online (Sandbox Code Playgroud)

现在,我找不到如何传递此错误。

谢谢。

j0h*_*j0h 182

我自己也遇到了这个问题,我在阅读autoconf 手册时找到了解决方案,该手册指出 autoreconf 运行我没有安装的 autoconf。

sudo apt-get install autoconf
Run Code Online (Sandbox Code Playgroud)

我现在使用的 autogen 脚本有效。


小智 106

也许您可以尝试安装dh-autoconf软件包。

sudo apt-get install dh-autoconf
Run Code Online (Sandbox Code Playgroud)

  • 在 13.04 中,它似乎是 `sudo apt-get install autoconf`(没有“re”) (58认同)
  • 所有你需要的`autoreconf`,`dh-*`包只在使用debhelper时才需要(用于打包`.deb`s) (4认同)
  • 14.04 中的 `autoconf` 也是! (2认同)

小智 9

我曾经先搜索包:

# 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
Run Code Online (Sandbox Code Playgroud)

然后安装我需要的:

# apt-get install dh-autoreconf
Run Code Online (Sandbox Code Playgroud)

  • 这应该是答案。 (2认同)