编译Mesa10.3.5时,sudo make时报的一个错误:
make[6]: Entering directory `/usr/local/src/Mesa-10.3.5/src/mesa/drivers/dri/common/xmlpool'
Updating (ca) ca/LC_MESSAGES/options.mo from ca.po./bin/bash: line 4: msgfmt: command not found
make[6]: *** [ca/LC_MESSAGES/options.mo] Error 127
make[6]: Leaving directory `/usr/local/src/Mesa-10.3.5/src/mesa/drivers/dri/common/xmlpool'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/local/src/Mesa-10.3.5/src/mesa/drivers/dri/common'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/Mesa-10.3.5/src/mesa/drivers/dri'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/Mesa-10.3.5/src/mesa'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/Mesa-10.3.5/src/mesa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lo

在编译Mesa 10.3.5时遇到/bin/bash: line 4: msgfmt: command not found的错误。尝试通过sudo apt-get install liblocale-msgfmt-perl安装依赖,但未解决问题。最终通过手动下载并安装gettext_0.18.1.1-5ubuntu3_amd64.deb包成功解决。
最低0.47元/天 解锁文章
1879

被折叠的 条评论
为什么被折叠?



