我试图在Manjaro 17上安装virt-manager,克隆github repo和runnnig setup.py install
命令,但是我收到了这个错误:
h: pod2man: no se encontró la orden (not found)
Traceback (most recent call last):
File "./setup.py", line 680, in <module>
distclass=VMMDistribution,
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "./setup.py", line 216, in run
self._make_man_pages()
File "./setup.py", line 190, in _make_man_pages
raise RuntimeError("Generating '%s' failed." % newpath)
RuntimeError: Generating 'man/virt-install.1' failed.
我一直在谷歌搜索,发现没有安装pod2man或PATH
env变量不包含/usr/bin/core_perl
时就会发生这种情况。但是发出echo $PATH
它会返回pod2man的正确路径:
"/home/mlopez/scripts:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
同样来自命令行,如果我尝试超越pod2man
我得到:
zsh: command not found: pod2man
我错过了什么?