如何安装qemu补丁版?

时间:2012-01-04 14:09:17

标签: linux ubuntu qemu

我按照以下步骤安装qemu

# On Linux, you may need to install the SDL development libraries to get a graphical VGA window. On Debian/Ubuntu, this is the libsdl1.2-dev package.
# Configure the source code
Linux: ./configure --disable-kvm [--prefix=PFX] [--target-list="i386-softmmu x86_64-softmmu"]
OS X: ./configure --disable-kvm --disable-sdl [--prefix=PFX] [--target-list="i386-softmmu x86_64-softmmu"]
The prefix argument specifies where to install QEMU; without it QEMU will install to /usr/local by default. The target-list argument simply slims down the architectures QEMU will build support for.
# Run make && make install

但是我收到以下错误:

cannot create regular file `PFX/bin': No such file or directory

1 个答案:

答案 0 :(得分:2)

您不能在命令行上输入PFX

PFX令牌实际上是传递给configure的实际path prefix的占位符(通常为/usr/usr/local/opt,取决于您希望安装包的位置。