前一段想在ubuntu下看p2p电视,源里面没有现成的,只好自己编译,中间出现许多问题,装这个又装那个的。昨个编译GMLive 0.20, make 时仍然出错:
引用:Making all in po
make[2]: Entering directory `/home/tearland/MyDownloads/gmlive-0.20/po'
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file &&&<60; -o $file zh_CN.po
/bin/sh: -o: not found
make[2]: *** [zh_CN.gmo] 错误 127
make[2]: Leaving directory `/home/tearland/MyDownloads/gmlive-0.20/po'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/tearland/MyDownloads/gmlive-0.20'
make: *** [all] 错误 2
编译Gsopcast时也遇到了类似的提示,问题应该出在"/bin/sh: -o: not found"这里。
google了老长老长时间,得到这样的提示:
引用:Please check you have intltool package installed
then ./configure, and then make again
if the problem still try:
cd po
intltool-prepare (togenerate the homebank.pot)
then cd .. and then make
let me know if this worked.
在“新立德软件包管理器”中搜索安装" intltool"后,编译成功。
google出来的中文结果没有一个帮到我,所以
总结一下:默认情况下,Ubuntu并不预装需要的工具。构建ubuntu下的编译环境需要安装的包
你需要安装build-essential包,以便处理大部分的软件包。安装 intltool 包。