我使用的是Debian稳定版本,在debian稳定版本中,病毒管理器版本是1.4.0,但我需要使用版本1.5.1,因为1.4.0有一个错误。
我转到https://virt-manager.org/download/并下载了源代码,然后转到virt安装文件夹并使用
sudo python setup.py install但我错了
running install
Using sysprefix=/usr
running build
Generating /home/user/Downloads/virt/virt-manager-1.5.1/build/virt-manager
Generating /home/user/Downloads/virt/virt-manager-1.5.1/build/virt-install
Generating /home/user/Downloads/virt/virt-manager-1.5.1/build/virt-clone
Generating /home/user/Downloads/virt/virt-manager-1.5.1/build/virt-convert
Generating /home/user/Downloads/virt/virt-manager-1.5.1/build/virt-xml
Generating man/virt-manager.1
Generating man/virt-xml.1
Generating man/virt-install.1
Generating man/virt-clone.1
Generating man/virt-convert.1
running build_i18n
Writing po/POTFILES.in
intltool-update -p -g virt-manager
unable to execute 'intltool-update': No such file or directory
Removing po/POTFILES.in
error: [Errno 2] No such file or directory: 'po/POTFILES.in'是安装说明
# Basic Install
For starters, if you just want to run `virt-manager/virt-install` to test out
changes, it can be done from the source directory:
```sh./virt经理
To install the software into `/usr/local` (usually), you can do:
```shpython setup.py安装
To build an RPM, you can run:
```shpython setup.py rpm
`setup.py` generally has all the build and install commands, for more info see:
- `python setup.py --help-commands`
- `python setup.py install --help`
- [Python Standard Build and Install](https://docs.python.org/2/install/#standard-build-and-install)
## Pre-requisite software
A detailed dependency list can be found in
[virt-manager.spec.in](virt-manager.spec.in) file.
Minimum version requirements of major components:
- python >= 2.7
- gtk3 >= 3.14
- libvirt-python >= 0.6.0
- pygobject3 >= 3.14
- libosinfo >= 0.2.10
On Debian or Ubuntu based distributions, you need to install the
`gobject-introspection` bindings for some dependencies like `libvirt-glib`
and `libosinfo`. Look for package names that start with `'gir'`, for example
`gir1.2-libosinfo-1.0`.发布于 2018-10-01 06:38:31
您必须安装inttool包。
为此,应:
sudo apt get install intltool来自https://packages.debian.org/stretch/intltool
包:用于国际化XML的intltool自动从oaf、glade、bonobo ui、nautilus主题和其他XML文件中提取可翻译的字符串到po文件中。自动将po文件的翻译合并回.oaf文件(编码为7位干净)。合并机制也可以扩展到支持其他类型的XML文件。
PS。拿出了自动推荐信。它是一种依赖。
https://unix.stackexchange.com/questions/472507
复制相似问题