在安装轻轻松松背单词时 ./configure OK,到make时出错,提示如下
rambo@rambo-laptop:~/programe/reciteword-0.8.4$ make
make all-recursive
make[1]: Entering directory `/home/rambo/programe/reciteword-0.8.4'
Making all in po
make[2]: Entering directory `/home/rambo/programe/reciteword-0.8.4/po'
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file zh_CN.po
/bin/sh: -o: not found
make[2]: *** [zh_CN.gmo] 错误 127
make[2]: Leaving directory `/home/rambo/programe/reciteword-0.8.4/po'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/rambo/programe/reciteword-0.8.4'
make: *** [all] 错误 2
哪位能大侠帮帮忙,多谢
make 出错,怎么解决?
- coolwin
- 帖子: 271
- 注册时间: 2008-03-17 17:47
-
- 帖子: 849
- 注册时间: 2006-09-07 22:51
- 联系:
- coolwin
- 帖子: 271
- 注册时间: 2008-03-17 17:47
/home/rambo/programe/reciteword-0.8.4/po/ 里面的设置是wkt 写了:sudo apt-get install gettext
编辑 /home/rambo/programe/reciteword-0.8.4/po/下的makefile
找到
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file zh_CN.po
改成 file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && msgfmt -o $file zh_CN.po
file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $<
gettext之前我安装了。
按你说的改了一下,但是还是没有make成功,是不是我缺了什么包?
-
- 帖子: 849
- 注册时间: 2006-09-07 22:51
- 联系:
没有成功你就贴出错误提示!coolwin 写了:/home/rambo/programe/reciteword-0.8.4/po/ 里面的设置是wkt 写了:sudo apt-get install gettext
编辑 /home/rambo/programe/reciteword-0.8.4/po/下的makefile
找到
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file zh_CN.po
改成 file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && msgfmt -o $file zh_CN.po
file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $<
gettext之前我安装了。
按你说的改了一下,但是还是没有make成功,是不是我缺了什么包?
改了之后,可能就是新问题了!所以贴出来啊!!
- coolwin
- 帖子: 271
- 注册时间: 2008-03-17 17:47
经过一阵乱装软件包,再make就OK了 ^^wkt 写了:没有成功你就贴出错误提示!coolwin 写了:/home/rambo/programe/reciteword-0.8.4/po/ 里面的设置是wkt 写了:sudo apt-get install gettext
编辑 /home/rambo/programe/reciteword-0.8.4/po/下的makefile
找到
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file zh_CN.po
改成 file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && msgfmt -o $file zh_CN.po
file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $<
gettext之前我安装了。
按你说的改了一下,但是还是没有make成功,是不是我缺了什么包?
改了之后,可能就是新问题了!所以贴出来啊!!
thanks
- hyxuzhimin
- 帖子: 249
- 注册时间: 2008-05-09 14:14