编译Mesa10.3.5 /bin/bash: line 4: msgfmt: command not found
2015-01-21 21:59
579 查看
编译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安装,但是失败:
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/g/gettext/gettext_0.18.1.1-5ubuntu3_amd64.deb
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包安装成功。
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安装,但是失败:
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/pool/main/g/gettext/gettext_0.18.1.1-5ubuntu3_amd64.deb
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包安装成功。
相关文章推荐
- Android编译出错/bin/bash: mkimage: command not found
- 编译android出现 /bin/bash: jar: command not found; /bin/bash: javah: command not found解决办法
- 编译Android,遇到Your version is: /bin/bash: java: command not found.错误的解决
- /bin/bash: bison: command not found
- ubuntu 14.04 编译android4.0 出现gcc-version.sh: line 11: cc: command not found错误解决方法
- /bin/bash: jar: command not found
- (Ubantu)使用gcc编译一个程序a.c成a.out,输入a.out运行,提示bash:a.out:command not found,怎么回事
- /bin/bash: [xxxx]: command not found
- Mac Sublime Text complie python .py error /bin/bash: shell_session_update: command not found
- Subversion command line client version is too old , bin\sendrpt.exe not found
- Rabbitmq 安装报:/usr/lib/rabbitmq/bin/rabbitmq-server: line 85: erl: command not found
- /bin/bash: bison: command not found
- /bin/sh: line 2: msgmerge: command not found
- /bin/bash: java: command not found 问题解决
- /bin/bash: java: command not found 问题解决
- 遇到Your version is: /bin/bash: java: command not found.错误的解决
- 虚拟机linux环境下编译程序时出现 bash:gcc:command not found的解决
- matlab /bin/bash: ffmpeg: command not found 解决办法
- /bin/bash: java: command not found 问题解决
- /bin/bash: jar: command not found