我尝试从 github 编译最新版本的 powertop。
我明白了一些错误我不知道该怎么解决这个问题。
make[3]: Leaving directory `/root/powertop/src'
make[2]: Leaving directory `/root/powertop/src'
Making all in po
make[2]: Entering directory `/root/powertop/po'
test ! -f ./powertop.pot || \
test -z "hu_HU.gmo id_ID.gmo zh_TW.gmo" || make hu_HU.gmo id_ID.gmo zh_TW.gmo
make[3]: Entering directory `/root/powertop/po'
rm -f hu_HU.gmo && : -c --statistics --verbose -o hu_HU.gmo hu_HU.po
mv: cannot stat `t-hu_HU.gmo': No such file or directory
make[3]: *** [hu_HU.gmo] Error 1
make[3]: Leaving directory `/root/powertop/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/root/powertop/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/powertop'
make: *** [all] Error 2
答案1
尝试以下操作
sudo apt-get install gettext
make clean
./configure
make