make 出错,怎么解决?

编译打包和其他
回复
头像
coolwin
帖子: 271
注册时间: 2008-03-17 17:47

make 出错,怎么解决?

#1

帖子 coolwin » 2008-05-06 10:24

在安装轻轻松松背单词时 ./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

哪位能大侠帮帮忙,多谢
wkt
帖子: 849
注册时间: 2006-09-07 22:51
联系:

#2

帖子 wkt » 2008-05-06 11:20

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
头像
coolwin
帖子: 271
注册时间: 2008-03-17 17:47

#3

帖子 coolwin » 2008-05-06 11:44

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
/home/rambo/programe/reciteword-0.8.4/po/ 里面的设置是
file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $<

gettext之前我安装了。
按你说的改了一下,但是还是没有make成功,是不是我缺了什么包?
wkt
帖子: 849
注册时间: 2006-09-07 22:51
联系:

#4

帖子 wkt » 2008-05-06 14:10

coolwin 写了:
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
/home/rambo/programe/reciteword-0.8.4/po/ 里面的设置是
file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $<

gettext之前我安装了。
按你说的改了一下,但是还是没有make成功,是不是我缺了什么包?
没有成功你就贴出错误提示!
改了之后,可能就是新问题了!所以贴出来啊!!
头像
coolwin
帖子: 271
注册时间: 2008-03-17 17:47

#5

帖子 coolwin » 2008-05-06 14:55

wkt 写了:
coolwin 写了:
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
/home/rambo/programe/reciteword-0.8.4/po/ 里面的设置是
file=`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $<

gettext之前我安装了。
按你说的改了一下,但是还是没有make成功,是不是我缺了什么包?
没有成功你就贴出错误提示!
改了之后,可能就是新问题了!所以贴出来啊!!
经过一阵乱装软件包,再make就OK了 ^^

thanks
头像
hyxuzhimin
帖子: 249
注册时间: 2008-05-09 14:14

#6

帖子 hyxuzhimin » 2008-05-23 15:37

楼主歪打正着了。 :lol:
回复