编译Mesa10.3.5 /bin/bash: line 4: msgfmt: command not found
来源:互联网 发布:软件推广策划案 编辑:程序博客网 时间:2024/06/07 20:51
编译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/local/src/Mesa-10.3.5/src'
make: *** [all-recursive] Error 1
sudo apt-get install liblocale-msgfmt-perl
sudo make
还是报错
解决方法: 安装gettext库。
试图用synaptic package manager安装,但是失败:
Something wicked happened resolving 'cn.archive.ubuntu.com:http' (-5 - No address associated with hostname)
最后是直接到官网http://packages.ubuntu.com/zh-cn/precise/gettext下载gettext_0.18.1.1-5ubuntu3_amd64.deb包安装成功。
0 0
- 编译Mesa10.3.5 /bin/bash: line 4: msgfmt: command not found
- 编译android出现 /bin/bash: jar: command not found; /bin/bash: javah: command not found解决办法
- Android编译出错/bin/bash: mkimage: command not found
- /bin/bash: mwldsym2.exe: command not found
- /bin/bash: bison: command not found
- /bin/bash: jar: command not found
- /bin/bash: jar: command not found
- /bin/bash: java: command not found 问题解决
- /bin/bash: jar: command not found(
- /bin/bash: java: command not found 问题解决
- keepalived:/bin/bash: keepalived: command not found
- /bin/bash: jar: command not found
- /bin/bash: java: command not found 问题解决
- /bin/bash: bison: command not found
- /bin/bash: java: command not found 问题解决
- 编译Android,遇到Your version is: /bin/bash: java: command not found.错误的解决
- /bin/sh: line 2: msgmerge: command not found
- matlab /bin/bash: ffmpeg: command not found 解决办法
- Codeforces Round #285 (Div. 2) C. Misha and Forest
- 20150121Review
- 《GNU make项目管理》笔记--规则(2)
- java中如何用urlrewritefilter实现网站伪静态?
- WaitHandle——使用AutoResetEvent
- 编译Mesa10.3.5 /bin/bash: line 4: msgfmt: command not found
- uvaoj 12716 GCD XOR 打表
- 构造代码块、构造函数、this执行顺序
- 3d旋转点坐标计算公式
- Java中Set的使用
- spark内核揭秘-14-Spark性能优化的10大问题及其解决方案
- Linux下C语言检验文件权限 Linux stat函数详解
- Linus谈Linux
- 使用errno检测错误